One of the things that we have been blind for a while is the ability to analyze how regular users use the support site compared to contributors. We can segment this traffic using GA Custom Variables. My recommendation is to create a Visitor Level variable that is written in the GA cookie whenever somebody is logged in successfully from the "Log In" button on the top. While these users are not necessarily contributors, it's a simple proxy. We can fine tune it if there's too much noise. Whenever a user with these variable in the GA cookie generates a pageview or event it will have the additional information that the user was logged in. To do so we need to add the following line to the GA code in the next page to the log-in page: ['_setCustomVar', 1, 'User Type', 'Registered', 1], This line needs to be just before ['_trackPageview'], To make sure that the first page they see after log-in already contains the additional information (i.e. the person generating that page view is a registered user). For more information, refer to this article https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingCustomVariables or just let me know
Do we just cared about LoggedIn vs NotLoggedIn? Or do we want to have finer grain, such as presence in certain groups makes them a 'Contributor' vs a signed in user asking a question.
Target Milestone: --- → 2013Q1
Based on our IRC chat lets assign 3 different values to the variables depending on their groups: If they belong to the Administrator and Contributor group: ['_setCustomVar', 1, 'User Type', 'Contributor - Admin', 1], If they belong to the Contributors group: ['_setCustomVar', 1, 'User Type', 'Contributor', 1], If they don't belong to any of these groups: ['_setCustomVar', 1, 'User Type', 'Registered', 1], Thanks guys!
Assignee: nobody → rrosario
Whiteboard: u=sumo-team c=analytics p= s=2013.2
I think this is ~2pts
Whiteboard: u=sumo-team c=analytics p= s=2013.2 → u=sumo-team c=analytics p=2 s=2013.2
(In reply to ibai from comment #2) > If they belong to the Administrator and Contributor group: > > ['_setCustomVar', 1, 'User Type', 'Contributor - Admin', 1], I talked to Ibai, and we are going to change this case to just "If they belong to the Administrator group".
Maybe I'm misunderstanding, but the admin group should have about 12 people in it, hardly worth tracking, I'd assume?
In a pull request: https://github.com/mozilla/kitsune/pull/1075
Kadir...adding that will give us the understanding of how the Admin tools are being used, even if they are not plenty and in the same way we can see how many pageviews are generated by them. We could have them as part of the contributors group but this way we have one extra level of granularity at very little cost. Does it make sense?
I hope so! :) Landed on master: https://github.com/mozilla/kitsune/commit/3c7372f3e94e5d88cd99f2fe0755ed77b73d5faa
Deployed to prod! Ibai, hopefully we'll see this on the GA side soon?
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Tomorrow we should have data...
The info is being track properly.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.