Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Google Analytics


katman1971

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...