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

The 'idstring' is not appearing in Google Analytics


Hello

I set the 'idstring' as below

ga: { idstring: "Test Video" }

But the value won't appear in the event action list and the playlist item still appears instead. Do you have any idea? I'm using JWPlayer 6.9

Regards
Jun

3 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

The idstring should replace that. Do you have a link to where you are running this?

mpace

User  
0 rated :

Unfortunately, it's being tested on secure site. But please see the code below.

### Google Analytics
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-xxxxxxxx-x', 'auto');
ga('send', 'pageview');

</script>

### JWPlayer
<script type="text/javascript">
jwplayer("myElement").setup({
logo: {
file: './images/poster.png',
position: 'top-right',
margin: '15'
},
abouttext: "MySite",
aboutlink: "http://www.site.com",
sharing: {
link: "http://www.site.com",
heading: "Share this video"
},
playlist: "http://www.site.com/qualities.xml",
width: 715,
height: 402,
androidhls: true,
ga: { idstring: "Test Video" }
});
</script>

Could you help me with this? Or do you need any other information?

Thanks
Jun

Ethan Feldman

JW Player Support Agent  
0 rated :

Sorry, I want to see a link to confirm pings.

This question has received the maximum number of answers.