Google emailed to enable premium.
Assignee: nobody → chrismore.bugzilla
:peterbe: Can you do a PR and add this code to the template (head) of Air Mozilla? I can review the PR on github and verify the data is coming in from a dev or stage instance. Thanks!
Added firstname.lastname@example.org to access the data after it is implemented.
Commit pushed to master at https://github.com/mozilla/airmozilla https://github.com/mozilla/airmozilla/commit/aec0e8ed4564ebc82ae024f8da9a11be8eccba3c bug 844909 - google-analytics
Landed on dev What I'm going to do is test it once on air-dev.allizom.org (once jenkins upgrades it) and then ask IT to set:: INCLUDE_ANALYTICS = False On the dev instance. That way, it'll only be enabled on stage and prod.
(In reply to Peter Bengtsson [:peterbe] from comment #6) > Landed on dev > > What I'm going to do is test it once on air-dev.allizom.org (once jenkins > upgrades it) and then ask IT to set:: > > INCLUDE_ANALYTICS = False > > On the dev instance. That way, it'll only be enabled on stage and prod. Cool. When I am verifying non-prod instances I created a separate web property with the different domain since the domain in GA has to match the referring domain for GA to decide to track it. If people visit the dev/stage instance, it won't go into the production GA account.
I can set it up so that the tracker ID is a configurable instead. Then we can put it in settings/local.py on each instance. If you prefer that, can you provide tracker IDs for: * air-dev.allizom.org * air.allizom.org * air.mozilla.org
(In reply to Peter Bengtsson [:peterbe] from comment #8) > I can set it up so that the tracker ID is a configurable instead. Then we > can put it in settings/local.py on each instance. > > If you prefer that, can you provide tracker IDs for: > > * air-dev.allizom.org > * air.allizom.org > * air.mozilla.org That's how mkelly and pmac have done it on other websites. They put the account ID in local.py via an IT push and then reference that variable from the template.
Property has been enabled for premium service.
This has now been released on production. Can you make pbengtsson@mozilla, email@example.com, firstname.lastname@example.org and email@example.com have access to this one? Laura, Richard, Zandr: These need to be your Google Apps email addresses. If I got it wrong, please update this bug.
Great! Real-time stats are coming in now on production. I also added all users in comment 12. I used their real LDAP emails since Google Apps is tied to first initial+last name and not alias. I looked them up on the phonebook and used the right emails for Google.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.