Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Script to 'application_top.php'??


gillweb

Recommended Posts

I use a web stats program. Currently I only have it counting the home page for actual hits. Can I add a script to 'application_top.php' or will this throw off the whole program?

 

The script I would need to add is:

<SCRIPT LANGUAGE="JavaScript">

<!--

var from = document.referrer; 

document.write("<IMG SRC=../stats/stats.php?reffer=" + from + " border=0>"); 

// -->

</SCRIPT

 

Would this work? If so would I keep in within the <? ?> or add it to the end? Also in doing this would it count each page within the oscommerce catalog?

<? Hello There! ?>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...