Tips for implementing your tracking code

If you have access to your website's source code, you can use some of these strategies to make implementing your tracking code easier.

Dynamic Content Implementation

Some websites use dynamic web templates to create a master copy of a webpage including formatting and other information.

Tip: Try pasting the tracking code into a template or using a common include instead of adding the code to each page manually.

PHP Implementation

Try using PHP to make implementing the tracking code easier. Create a PHP file containing the tracking code, and name the file tracking.php. Then, include the file on each PHP template page.

Tip: To place your PHP file on a webpage, you'll want to place the following code phrase before the closing </body> tag: <?php include_once("kerneltracking.php") ?>