forked from ampproject/amphtml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Amp audio analytics support (ampproject#23317)
* New analytics trigger event in amp-audio.js * Created test page * Analytics trigger event in play/pause action * Unit test for audio-play/audio-pause analytics event * Document the analytics support in amp-audio.md * Fix failed type-check * Removes analytics trigger in play() and pause() call * Changes audio-play analytics event listener from playing event to play event * Removes audio play/pause analytics event unit test * Removes analyticsEvent_ private method and inlines triggerAnalyticsEvent function * Updates amp-audio.md Updates that audio-play and audio-pause are the two analytics events supported now * Fixes prettier errors
- Loading branch information
Showing
3 changed files
with
71 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters