Hi Lucas,
I’m hoping to keep the view counts matched exactly to the Analytics data. Im not hoping to count play button clicks separately. I think there would be a big discrepancy in the numbers.
I don’t have the code that triggers the GA event tracking because it is a plugin, thai I call with
plugins: {
'gapro': { accountid: "UA-xxxxxxx-xx" },
I presume the plugin code uses this
http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html
The way I’m displaying views now is by just entering the number from analytics into a TV which displays in a template
The rest of the player code is as below
<script type="text/javascript">
jwplayer("container").setup({
duration:,
autostart: true,
flashplayer: "/assets/components/jwplayer5/player.swf",
width: ,
height: ,
plugins: {
'gapro': { accountid: "UA-xxxxxxx-xx" },
'viral':{onpause: "true"}
},
file: "filename.flv"
});
</script>
Let me know what you think.
I like the idea of a snippet that executes, stores a static number and doesn’t have to parse a CSV or access GA API every time a user visits.
Any guidance appreciated.
Stuart