Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

gapro Confusion

3 replies [Last post]
Reply

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.

Reply

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.

Reply

Thanks for the response, that helped clear things up. Unfortunately, v1 of gapro appears much less reliable than v2. I've been testing the two side-by-side, and while v2 produces values (Seconds Played, Percentage Played) that seem more-or-less correct, v1 does not. For instance, I've been testing with your sample bunny.mp4 video, total length 32 secs. If I load the video on a page using v2, and then immediately skip to within 1-2 secs of the end of the video (which would make my total playtime ~3-4 secs) I get accurate values (I'm looking at the network requests to GA). However, doing the same thing with v1 generally gives me a Percentage Played of 60% and Seconds Played of 33. In other words, way off the mark.

Do I have something configured incorrectly, or is this a known issue with v1? What are your plans to support v2 on BOTR?

Reply

I'm not familiar enough with the internals of v1 to be able to confirm this.

The main difference between v1 and v2 is that v1 uses the Flash plugin API while v2 uses the JavaScript plugin API of the player (which requires the JW embedder). Right now we use a custom written embedder, but we plan to upgrade the player to the JW embedder in the near future; hopefully around Q2.

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options