Closed gorork closed 7 years ago
The idea is to extend the players functionality with GA tracking by adding JS to events that are dispatched on the player. Things like play, pause, scrubbing the timeline, view-through (listen-through).
Usage:
<paper-audio-player ga-trackingid="UA-000000-01" src="http://nadikun.com/audio/demo.mp3" title="Pink Shades - O+PNR" color="#F05C38"></paper-audio-player>
https://github.com/gorork/paper-audio-player/commit/bf49b30023478ec12ce0d58e656419d0588a764b is part of this ticket.
Usage:
<paper-audio-player ga-trackingid="UA-000000-01" src="http://nadikun.com/audio/demo.mp3" title="Pink Shades - O+PNR" color="#F05C38"></paper-audio-player>