Help - Search - Members - Calendar
Full Version: Adding "__utm.js" To Static Page
MonsterSmallBusiness Forums > MonsterCommerce > MC Plug-ins & Add-ons > Urchin Site Statistics
SAG
What is the proper way to add the <script src="__utm.js" type="text/javascript"></script> to static pages that are 1 or 2 directories deep?

Would <script src="http://www.website.com/__utm.js" type="text/javascript"></script> Work?

Thanks
ArcoJedi
The code with the full URL path to the javascript file would work -
CODE
<script src="http://www.website.com/__utm.js" type="text/javascript"> </script>
- but the problem you want to watch out for is if this page would potentially be loaded securely (like when the customer might exit checkout), the src path listed above is not secure and would throw an error.

You would be better off specifying the file in an absolute way, depending on your SSL certificate. If you have a dedicated SSL, you could very easily change the above to -
CODE
<script src="httpS://www.website.com/__utm.js" type="text/javascript"> </script>
- if you can. This will avoid this problem. I hope this helps!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.