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

google analytics with jwplayer 6


I want to send these video start time, video end time and total video watch time to GA. I find some code on google but does not know which parameter should I pass.

On video play I want to send video start and end time and when user switch to new page I want to send total watch time.



I can send these information by writing code separately but want to get it done with jwplayer.

var playerInstance = jwplayer("myElement");
playerInstance.setup({
file: "/uploads/example.mp4",
image: "/uploads/example.jpg",
ga: {
idstring: "title",
label: "mediaid"
}
});

1 Community Answers

Randy

JW Player Support Agent  
0 rated :

Hello,

Have you reviewed our Google Analytics integration guide: https://support.jwplayer.com/customer/en/portal/articles/1417179-integration-with-google-analytics/

Randy

This question has received the maximum number of answers.