Posted By

jachin on 01/18/08


Tagged

google Analytics


Versions (?)

IE Issue decteing SSL for Google Analytics


 / Published in: JavaScript
 

URL: http://groups.google.com/group/analytics-help-troubleshoot/msg/e712ab2737e62b83

  1. For HTTP:
  2. <script type="text/javascript" src="http://www.google-analytics.com/ga.js"></script>
  3. <script type="text/javascript">
  4. var pageTracker = _gat._getTracker("UA-XXXX-1");
  5. pageTracker._initData();
  6. pageTracker._trackPageview();
  7. </script>
  8.  
  9. For HTTPS:
  10. <script type="text/javascript" src="https://ssl.google-analytics.com/ga.js"></script>
  11. <script type="text/javascript">
  12. var pageTracker = _gat._getTracker("UA-XXXX-1");
  13. pageTracker._initData();
  14. pageTracker._trackPageview();
  15. </script>

Report this snippet  

You need to login to post a comment.