Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Fix regression for analytics with custom event name #24343

Merged
merged 2 commits into from Sep 3, 2019

Conversation

alanorozco
Copy link
Member

@alanorozco alanorozco commented Sep 3, 2019

Borked this feature during review for #18869, as custom event names were introduced per request.

Fixes by introducing an intermediate signal rather than overriding the event dispatched.

VideoEventTracker for analytics only knows how to listen to a finite set of signals, so it's simpler to "redefine" the event type for user configuration on the analytics end.

Fixes #22665

@alanorozco alanorozco merged commit b05305a into ampproject:master Sep 3, 2019
@alanorozco alanorozco deleted the custom-analytics-name branch September 3, 2019 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

amp-analytics unable to track AnalyticsEvents from amp-video-iframes
3 participants