I have created a php file based on the tracking code and I am about to upload it.
Create a PHP file named "analyticstracking.php" with the code above and include it on each PHP template page. Then, add the following line to each template page immediately after the opening <body> tag:
These are the instructions according to Google Analytics, but I really don't understand what is meant when it says after the <body> tag: as I can't find the body tag in the php file..ie.forum.php.
Where is this code placed please?
Thanks..
Create a PHP file named "analyticstracking.php" with the code above and include it on each PHP template page. Then, add the following line to each template page immediately after the opening <body> tag:
Code:
<?php include_once("analyticstracking.php") ?>
Where is this code placed please?
Code:
<?php include_once("analyticstracking.php") ?>
Comment