-
Notifications
You must be signed in to change notification settings - Fork 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
Upgrades: record google analytics events for google-voucher. #6081
Conversation
|
||
// debounced | ||
this.incrementStep = debounce( this.incrementStep, 300 ); | ||
this.changeStep = debounce( this.changeStep, 300 ); |
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.
Why it needs to be debounced? To prevent accidental double-clicks of the button?
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.
Right.
436f43d
to
38c7ce5
Compare
Thanks @lamosty |
Works good:
|
Issue: #5978
Records events when the user does the google voucher flow.
Testing
Set debug with
calypso:analytics
.Make the google voucher flow and take a look to the console. You should see how the events are recorded:
cc @artpi @mtias @rralian @Essayoh
Test live: https://calypso.live/?branch=add/track-events-to-google-voucher