Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Inserting webtracker codes


nuttyhigh

Recommended Posts

Hi,

 

This is my very first posting, we have only been 'live' since 1st Sept. We had our website designed for us but I am fiercly independent so I would rather learn how to do all these things myself. Besides that, like a child, I always want it done yesterday ;)

 

I subscribed to a 4 week free trial on www.opentracker.net. As we are new I felt it was important to where where traffic was coming from/going to etc. The code is HTML and is as follows

 

<!-- OPENTRACKER HTML START -->

<script defer src="http://server1.opentracker.net/?site=www.lootopia.co.uk"></script><noscript><a href="http://www.opentracker.net" target="_blank"><img src="http://img.opentracker.net/?cmd=nojs&site=www.lootopia.co.uk" alt="web analytics" border="0"></a> </noscript>

<!-- OPENTRACKER HTML END -->

 

Where on my OSCOmmerce site can I stick this? For instance, a product page on my site looks like this below. I have two boxes,the top displaying the code and the bottom box displaying the reader frendly blurb. The advice on the site was

 

Paste the above HTML code into your site's web pages just before

the end <\body> tag. You can track an unlimited amount of pages on

your website.

 

 

<P>The <STRONG><FONT color=#663366>Moonshine</FONT></STRONG> <STRONG>designer toilet seat</STRONG> will make your <STRONG>bathroom come to life</STRONG>, and you'll be a talking point before you know it!</P>

<UL>

<LI>Made from tough <STRONG>polyresin</STRONG>.

<LI><STRONG>Hygienic</STRONG> and <STRONG>durable.</STRONG>

<LI>Chrome fixings included (more hard-wearing than brass)

<LI>For measurements please click <STRONG><A href="http://lootopia.co.uk/catalog/information.php?info_id=1"><STRONG>here</STRONG></A></STRONG></LI></UL>

<P>Click <FONT color=#ff3300>Add to Cart</FONT> to experience a <STRONG>brighter</STRONG>, <STRONG>more exciting bathroom</STRONG> - delivered straight to your door.</P>

<P>You, and your <STRONG>bathroom</STRONG> deserve both <STRONG>fun</STRONG> and <STRONG>style</STRONG>.</P>

 

Have I made any sense? I don't yet understand how to upload files etc but I have inputted all the product details and I am happy to play around (under guidance)

 

Thanks for reading :blink:

Link to comment
Share on other sites

  • 3 months later...

Old post - but maybe someone else needs the info:

 

I have just implemented similar tracking code. I have put it at the very end of '/catalog/includes/footer.php'. And it works fine on all pages.

 

Actually, it's not that important where the code is placed. You usually place it at the end of the code to avoid long loading times due to a slow stat-server.

 

Please note that I'm a newbie when it comes to osC - you may want to get the above verified by a more experienced developer.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...