![](https://secure.gravatar.com/avatar/f0930bcddfd2d4e2a97db2c1772a2452?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
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