Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Google Analytics - custom label instead of video url

I'd like to pass my video's real title instead of the video URL as the event label in google analytics.
This is what I'm using, but I dont see anything good in the debugger.

I only see the basic JW Player analytics in the debugger:
Running command: ga("send", "event", "JW Player Video", "Play", "")

I don't see my idstring/label getting passed to GA.

How can I get my custom event label passed to GA?

1 Community Answers


JW Player Support Agent  
0 rated :

Hi there,

If you are embedding your content with code, meaning you’re using jwplayer().setup() to configure the player, you can pass in the property that you want to be sent as the event label using the “label” option. For example, if I have a player set up like this:

  file: "video.mp4",
  title: "Test for American Thoracic Society",
  width: "100%",
  aspectratio: "16:9",
  ga: {
    label: "title"

The Google Analytics dashboard will show “Test for American Thoracic Society” as the event label.

Please let me know if you need any more help or have any other questions.

Thank you!

This question has received the maximum number of answers.