
JW Player in Google Analytics
Hi,
I´m trying to get JW Player connected to Google Analytics. Therefore I added the ga {} string in jw player script. But I get no data in google analytics under events. I hope somebody can help me.
Link:
http://www.sylt1.tv/mediathek/nachrichten-03-11-2015/
Script:
<script type="text/javascript">
jwplayer('videoplayer').setup({
image: 'http://www.sylt1.tv/previewSylt1.jpg',
ga: {},
width: '100%',
bufferlength: '5',
androidhls: true,
showicons: false,
aspectratio: '16:9',
playlist: [{
sources: [
{ file: 'rtmp://62.112.49.36/vod/SYLT1_Buchtipp_Wintergaeste_WERBUNG.mp4' },
{ file: 'http://62.112.49.36:8080/vod/SYLT1_Buchtipp_Wintergaeste_WERBUNG.mp4/index.m3u8' }
],
provider: 'rtmp',
image: 'http://www.sylt1.tv/previewSylt1.jpg',
width: '100%',
bufferlength: '5',
androidhls: true,
aspectratio: '16:9'
}, {
sources: [
{ file: 'rtmp://62.112.49.36/vod/News_03_11_2015-onlineCodierung.mp4' },
{ file: 'http://62.112.49.36:8080/vod/News_03_11_2015-onlineCodierung.mp4/index.m3u8' }
],
provider: 'rtmp',
image: 'http://www.sylt1.tv/previewSylt1.jpg',
width: '100%',
bufferlength: '5',
androidhls: true,
aspectratio: '16:9'
}
]});
</script>
Tanks and best regards,
Patrick