Closed Bug 816309 Opened 12 years ago Closed 11 years ago

Move Mozillians From Webtrends To Google Analytics

Categories

(Participation Infrastructure :: Phonebook, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
2013-02-07

People

(Reporter: bensternthal, Assigned: sancus)

References

Details

(Whiteboard: [qa-])

Move Mozillians From Webtrends To Google Analytics
Assignee: nobody → booboobenny+bugzilla
Depends on: 821386
Chris, I can take this one since I would also be handling the implementation on the site.

Let me know if it's good to go and if it would be a "big" or "small"
Flags: needinfo?(chrismore.bugzilla)
This should be a small and you can take it over.
Flags: needinfo?(chrismore.bugzilla)
OK, GA tag is in #821386

Giorgos, you might want to check out the implementation on bedrock, they are storing the GA id in settings.

https://github.com/mozilla/bedrock/blob/master/templates/includes/google-analytics.html
Assignee: booboobenny+bugzilla → giorgos
Assignee: giorgos → nobody
Commits pushed to master at https://github.com/mozilla/mozillians

https://github.com/mozilla/mozillians/commit/22b89b5bd1c7d48ad6c9fc58f64a95921277920c
[fix Bug 816309] Move Mozillians from Webtrends to Google Analytics

https://github.com/mozilla/mozillians/commit/31dbd11a5c19bc7a88b3c3804dd36b4c9f0a4164
Merge pull request #377 from Sancus/googleanalytics

[fix Bug 816309] Move Mozillians from Webtrends to Google Analytics
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2013-02-07
Assignee: nobody → sancus
Whiteboard: [qa-]
Status: RESOLVED → VERIFIED
This should be the correct code for the website:

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-35433268-19']);
  _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>
It looks like the commit didn't include changes to the settings file (where the account code would go).

We just need to create the setting and ask IT to populate it after push. The account ID is in comment 6 above.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Commits pushed to master at https://github.com/mozilla/mozillians

https://github.com/mozilla/mozillians/commit/05c8e7cdcdfcad319d19d52c1bb8dcc887ca1b54
[fix Bug 816309] Add Google Analytics account code to settings

https://github.com/mozilla/mozillians/commit/db4d0e58598239b80537775fee7a747adeb358b4
Merge pull request #396 from Sancus/master

refix bug 816309: Add Google Analytics code to settings
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
OS: Mac OS X → All
Hardware: x86 → All
Bumping to verified as [qa-]
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.