So, I got the gapro-2 plugin working with the self-hosted jwplayer. Now I'm trying to get it working with the BOTR-hosted player. If I enter my GA ID in the player configuration via the BOTR dashboard, it appears to work. However, I'd much rather configure it via javascript when the player is embedded, so I don't have configuration options divided between my code and the BOTR dashboard.
Here's what I'm doing:
<script type="text/javascript" src="http://content.bitsontherun.com/players/HHEepV5i-xFLlGC40.js"></script>
<script type="text/javascript">
botr_HHEepV5i_xFLlGC40.addVariable("plugins", "gapro");
</script>I've also got my GA tracking code in the page, per Google's instructions. However, when I load the page, no events are getting sent to Google. With the gapro-2 plugin and the self-hosted player, all I had to do was include my tracking code and load the plugin. I thought this would work the same way. What am I missing? Is it possible to use the gapro plugin this way, or do I have to configure it through the BOTR dashboard?
Thanks.
The least you would have to do is to pass along the accountID as an addvariable too, since with Bits on the Run you would have to use Google Analytics Pro one at least for the time being, as we don't use the JW embedder yet for Bits on the Run embeds, so you have to follow these setup instructions:
http://www.longtailvideo.com/addons/plugins/107/get-plugin.html?addon=107&vid=108&q=
The main advantage of using GA pro through the Bits on the Run interface is that you don't have to manage plugin versioning, like you have to do now.