When I put the analytics code to my secure pages..theres a message on IE something like "this page contains both secure and non-secure items Do you want to display the non-secure items?" sometimes ... it says "it doesnt match with the domain a third party might see this page"... what a hell..... any suggestions...
you have to dl urchin.js to webserver first.you cant use remote js on ssl pages.Without that warning.
Just to make sure no other people goes from hwere with the same doubt. You CAN use remote javascript on secure pages. Use: <script src="https://ssl.google-analytics.com/urchin.js" type="text/javascript"></script> Code (markup): instead of the normal script include. that's all.
Yes, usually, you will use something like: <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-XXXXXX-Y"; urchinTracker(); </script> Code (markup): but when you need to put in a https page (secure page), you use: <script src="https://ssl.google-analytics.com/urchin.js" type="text/javascript"></script> </script> <script type="text/javascript"> _uacct = "UA-XXXXXX-Y"; urchinTracker(); </script> Code (markup): I hope this clears any doubt.