-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable anonymous tracking on the Docs Site Analytics #1331
Comments
Would it be worth instrumenting the cookie banner to see how many are accepting/denying the cookie consent? That might also help us determine whats causing the dip. |
@jerelmiller i think that's a good idea. |
It's worth ruling in/out the cookie consent thing - but my gut is that most people are conditioned to clicking on the cookie consent thing - as trying to use any site requires it. What's different since moving to the new Docs site is that we go through Segment.IO, which then passes on to GA. Thus one easy experiment is to temporarily disable Segment, and substitute in the GA code directly (still using the right tracker ID). You'll see within an hour if that makes a difference or not. If it does...then you know it's something going on at the Segment level. |
Love that idea @tariqahmed ! |
I've begun asking for input into doing this from internal teams to ensure we don't violate GDPR |
An update on where we are on this. Tessen and anonymous trackingTessen sends NR User ID and IP address to Segment, if available. I will ask tessen eng / test if not calling docs_staging databaseI let Zoe know that the only source the docs site reports to is OSS and dev segment sourcesOSS and developer sites are going to report to each their own source.
|
FWIW. i have a branch that adds the google analytics code by itself (with anonymize IP option set to true) if a user declines the cookie consent. seems to work so far. it would still need a bit of refactor to more closely follow the pattern that tessen uses |
@roadlittledawn can you elaborate on the refactor a bit? I'm just curious what that work is and if we need to create a ticket for that work. |
@roadlittledawn how difficult would it be to enable this anon tracking on our Dev and OSS sites, now that they are hooked into Segment and send data through the analytics pipeline I'm thinking it would make sense to enable this on those sites as well. |
question to answer Does tessen have something we need to set to NOT send IP data to Segment. |
There is going to be a dicussion on Tues 4/13 about this question with a few folks in legal, so I'm putting blocked label on it, as I don't think we can move forward with finishing this work until we have that discussion. |
Related Issue #1176
Issue
both Docs Site Traffic and JP site traffic have dropped significantly since the launch of our new Docs Site. This is causing confusing as it's a large drop in overall traffic being reported in GA.
Assessment
After talking through it, we believe the decrease in page views is related to the new GDPR cookie acceptance process a user goes through when they first visit the site. Given many users already accepted the cookie for the old process (Intercom) when visiting the new site they need to accept these cookies again. Looking at NR browser data, for the same time period there is a similar pattern that may prove this assumption correct. So we'd like to enable anonymous tracking in GA to capture analytics data from users who haven't yet accepted a cookie for the site or who choose not accept the cookie.
Approach
Recap:
(
Clicks NO
) IF a user doesn't accept cookies, Tessen will not be used to send data to Segment, but we'll be able to send anonymized data to GA directly.(
Never Clicks YES / NO
) IF a user doesn't accept cookies, Tessen will not be used to send data to Segment, but we'll be able to send anonymized data to GA directly.(
Clicks YES
) IF a user accept accept cookies, Tessen will e used to send data to Segment.docs_staging
segment source destinations will anonymize IP addresses when sending to google analytics And we will be excluding IP addresses from data sent toSnowflake
.Acceptance Criteria
The text was updated successfully, but these errors were encountered: