Is it possible to add the google analytics tracking script to all pages?
I know it's possible to add the standard analytics account code under the admin panel -> website preferences ->SEO optimization tab, but Google also offers code options that also allows tracking PHP pages, dynamic content, and other customizations.
For PHP pages, it would require uploading Google's supplied code in a separate file (for example, analyticstracking.php), and then adding the following line to each template page before the tag: <?php include_once("analyticstracking.php") ?>
For PHP pages, it would require uploading Google's supplied code in a separate file (for example, analyticstracking.php), and then adding the following line to each template page before the tag: <?php include_once("analyticstracking.php") ?>
4
people have this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
The company marked this question as answered.
-
Inappropriate?If you want to add extra code to the output you can add this line
<?php include_once("analyticstracking.php") ?>
to the layout.tpl.php file that resides in /admin/templates/website/ folder. Please add it to the end of the file right before tags (line 101)
</body>
</html>
And don't forget to put analyticstracking.php file into this folder - /admin/templates/website/
I’m confident
The company says
this answers the question
-
Inappropriate?is this how we ad analytics to the site..please explain
-
No, you should enter Google Analytics id to appropriate text box in Control Panel preferences. Please see our blog post for more information http://www.flashmoto.com/blog/project...
Loading Profile...




EMPLOYEE