Magento Forum

   
Google Analytics
 
slateboxadm
Jr. Member
 
Total Posts:  2
Joined:  2011-02-28
 

I want to add Google Analytics to my php pages, but I can’t seem where to add the following line to each template page immediately after the opening <body> tag or how to even upload my PHP file.

<?php include_once("analyticstracking.php"?>

Can anyone be of assistance? My knowledge of Magento is somewhat limited so far. smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
slateboxadm
Jr. Member
 
Total Posts:  2
Joined:  2011-02-28
 

I want to add Google Analytics to my php pages, but I can’t seem where to add the following line to each template page immediately after the opening <body> tag or how to even upload my PHP file.

<?php include_once("analyticstracking.php"?>

Can anyone be of assistance? My knowledge of Magento is somewhat limited so far. smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
doug1
Jr. Member
 
Total Posts:  22
Joined:  2011-02-22
 

To enable Google Analytics, you can go to System -> Configuration -> Sales -> Google API.  There is a Google Analytics section.

For more information, please see page 232 of the user guide.

Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top