Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328728 - Add Google analytics to Planet Eclipse
Summary: Add Google analytics to Planet Eclipse
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PlanetEclipse (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Chris Aniszczyk CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-26 11:25 EDT by Lynn Gayowski CLA
Modified: 2019-08-20 10:42 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.