• Resolved jflarity

    (@jflarity)


    Greetings all. I am trying to create an event using Piwik to track when a user clicks the play button on the default WP audio player. Does the player have an onplay event that I can trigger from? I’m sorry if it’s a poorly worded question. Thanks for any advice!

    • This topic was modified 8 years, 2 months ago by jflarity.
Viewing 2 replies - 1 through 2 (of 2 total)
  • You can detect what audio player events are happening with dev tools in the browser you use – Firefox (or Firebug) or Chrome or Safari or IE – in terms of what you can hook into with Piwik.

    When multiple players are on a page, the main containers have different ID’s, i.e id="mep_0" and id="mep_1", etc., so if you have multiple players on one page, you’ll need to take that into account.

    • This reply was modified 8 years, 2 months ago by Mark Ratledge.
    Thread Starter jflarity

    (@jflarity)

    Thank you!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tracking when play button is clicked on default WordPress audio player’ is closed to new replies.