IE Issue decteing SSL for Google Analytics


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  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>

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.