
Google Analytics NOT working
Hi All,
I have the following code:
<pre class="notranslate">
var playerInstance = jwplayer("videoContainer");
playerInstance.setup({
file: "https://content.jwplatform.com/videos/[videoid]-640.mp4",
width: 512,
height: 288,
//description: 'A video with a basic title and description!',
mediaid: [videoid],
autostart: true,
ga: {}
});
</pre>
I have also appended the Google tracking code to the page, I get hits for when the page is accessed but then no hits are registered when a video is played.
Can someone point me in the right direction?
Thanks