
Jwplayer Version 6.12 integration with google Analytics is not working
Hi
I am doing Jwplayer Version 6.12 integration with google Analytics for my my videos hosted on my own video server. I have placed the code as mentioned in this article
https://support.jwplayer.com/customer/portal/articles/1417179-integration-with-google-analytics
but it is not capturing analytics when I checked on my google account.
Please review the implementation by seeing the view source of this link http://www.tcs.com/consulting/client-successes/pages/sample-video.aspx and help me to to resolve the issue. I have included the ga block as mentioned in above support link. Am I missing something ?
Sample Code
<script type="text/javascript" src="/Style Library/jsv2/jwplayer/jwplayer.js"></script>
<script type="text/javascript">
jwplayer.key = "LICENCE KEY IS PLACED HERE";
</script>
<div id="jwplayercontainer" style="display:none;">
</div>
<script type="text/javascript" charset="utf-8">
var docLink = '<a href="Video URL IS HERE" target="_blank">TCS-TIWBL.m4v</a>';
var docFormat = 'Video';
var fileSize = '';
var runTime = '';
var startPos = docLink.indexOf('href=\"') + 6;
var endPos = docLink.indexOf('.m4v') + 4;
var flvURL = docLink.substring(startPos, endPos);
jwplayer("jwplayercontainer").setup({
flashplayer: "/Style%20Library/jsv2/jwplayer/jwplayer.flash.swf", //code for jwplayer 6.12 version
file:("videoURL", flvURL),
image: "/Style%20Library/imagesv2/loadingvideo.jpg",
autoplay: false,
icons: true,
//'plugins': 'fbit-1,tweetit-1',
dock: true,
height: 345,
width: 600,
ga: {
idstring: "title",
label: "mediaid"
} });