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
[docs] Reduce tracking events #21710
Conversation
@@ -193,10 +193,6 @@ function Ad(props) { | |||
} | |||
|
|||
const delay = setTimeout(() => { | |||
if (!eventLabel) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was never falsy. Should this bail-out if label
is undefined
?
Details of bundle changes.Comparing: 5055114...774e31e Details of page changes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that we should target the master branch for this change. It's where we have the most constraint. The sooner we try it out, the better (meaning not in 6 months when we release v5) :)
2fb4008
to
e64058a
Compare
@oliviertassinari Rebased onto |
Review on per-commit basis is advised.
The previous label was misleading ("expand" for collapsing and showing demo source). It's also less interesting as far as I can tell. At least I use it primarily to see which demos are popular. Collapsing tracking would only make sense if we could track how long the source code is viewed but that's probably too inaccurate to be useful.
Demo source toggle makes up 40% of our events. Maybe we can cut some (in my opinion noisy) events to get below the rate limit (we're currently 40% over it: 14M where 10M is allowed)
We currently dispatch two events if an in-house ad is displayed when we can already derive from the first event if the ad is in-house