Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Placing 3rd party script into OSC 2.3.4 to track all pages


fleeced

Recommended Posts

I know that there is a built in Google Analytics section for Oscommerce int he admin area.

 

But can anyone give me an idea where I can place "another" 3rd party script that will track all shop-side pages on the site. So I can test mayve my old Urchin code or add Google Tag Manager or any other 3rd part tracking code.

 

I would assume I could place it in the footer.php code somewhere to track all data.

Link to comment
Share on other sites

Depending on what the code is, place it in the footer (template bottom) above or below the analytics script. There's also the supertracker addon that can be used to track pages.

Link to comment
Share on other sites

Looked in template_bottom, no ref to Google Analytics but I assume this:  <?php echo $oscTemplate->getBlocks('footer_scripts'); ?>

 

 Calls the Google Analytics script from somewhere?

Link to comment
Share on other sites

No, a header tags module calls the google analytics script and places it in the footer. Look under header tag modules if you want to reference that code. Otherwise just place your script above the </body> tag in template_bottom.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...