Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328728

Summary: Add Google analytics to Planet Eclipse
Product: z_Archived Reporter: Lynn Gayowski <leftylynn>
Component: PlanetEclipseAssignee: Chris Aniszczyk <caniszczyk>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: caniszczyk
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Lynn Gayowski CLA 2010-10-26 11:25:52 EDT
I'd like to add Google analytics to http://www.planeteclipse.org.  Please paste the following code immediately before the closing </head> tag.

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-910670-6']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
Comment 1 Chris Aniszczyk CLA 2010-10-26 12:34:20 EDT
updated index.html.tmpl with the snippet.

It'll refresh in an hour or so.