katman1971 Posted November 16, 2009 Posted November 16, 2009 I want to add the google tracking code to my home page. The instructions say to add the code immeadiately before the </body>. Should I add the code to catalog/index.php or catalog/includes/language/english/index.php? I did a search on both of these files for "</body>" but no search results! I'm confused.
Jack_mcs Posted November 16, 2009 Posted November 16, 2009 Ahh, a trick question. :) The answer is neither. It goes in the includes/footer.php file. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
acbatchelor Posted November 16, 2009 Posted November 16, 2009 it goes in the includes/footer.php file if you want it to track all pages on your site. if you just want to track the home page then put it in the catalog/index.php file. the </body> is one of the last lines in the file.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.