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

Forums

/

GA Pro2 Plugin Not Loading

16 replies [Last post]
Reply

I'm not sure if it's a conflict with another plugin, but I can't get my gapro-2 plugin to load. When watching the request information in FireBug, the other plugins come up fine, but nothing from google. Here's how I have it implemented:

var s1 = new SWFObject('/jwplayer/player.swf','player','608','443','9');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('flashvars','file=file.mp4&plugins=gapro-2,acudeojw&gapro-2.accountid=MYGA&gapro-2.trackstarts=true&acudeojw.videoId=<?php the_title(); ?>&acudeojw.title=<?php the_title(); ?>&autostart=true&acudeojw.CountdownTextEnabled=true&acudeojw.CountdownText=Advertisement: Your game will start in [adRemaining] seconds.&controlbar.position=none&acudeojw.javascriptEvents=true');
s1.write('gameHolder');

Any idea why it would be skipping the load of gapro-2?

Reply

GAPro-2 doesn't work with SWFObject - you'll need to use the JW Embedder.

Reply

Hello,

I have the same problem...

I embedded the the video on the page but GA Pro 2 is not loading...
So, I am asking if it has something to do with me using JW 5...
Is it really not compatible?...

Thanks...

Reply

It doesn't work for me!
Does anybody know why the GA pro is not working here:

<div id="mediaplayer">JW Player goes here</div>
<script type="text/javascript">
  jwplayer("mediaplayer").setup({
  "flashplayer":         "player.swf",
  "width": "640",
  "height": "353",
  "file": "video1.flv",
  "plugins": {
      "gapro-2": {
      "gapro.accountid": "UA-17153918-1",
      "gapro.idstring":  "||user1||-||video1||",
      "trackstarts":     "true",
      "trackpercentage": "true",
      "tracktime":       "true"
     }
   }
});
</script>
Reply

Same problem here. JWPlayer 5.8 and Trying to load gapro-2 but it doesn't get downloaded (checked with Firebug and Chrome DT)

Reply

Link guys?

Reply

Two questions.

here is a sample page
http://durfee.org/video/first-person/food-forward-story/

using a licensed paid for jwplayer 5.9 and we are using jwplayer.js to embed the player.

Is it required to place "gapro.accountid": "UA-17153918-1" when using the GA Pro 2 plug in when using the jwplayer.js new embed script in the plug-in bit of code or will it pull the google account id automatically from the google analytics script code already placed on the the page where the UA-ID is already there?

2. I'm trying to understand this option and how to code for it.

"idstring": "||mediaid||-||title||"

what is mediaid and title. I expect the title is the title of the video, so I can use code to script dynamically the title using php.

But what info should i place into mediaid?

Thanks in advance,

Scott

Reply

You do not need to use the accountid variable, that is for gapro-1.

You might be able to store the information into a php variable here?

Reply

I'd like to use that idstring flashvar with GA Pro plugin but can't figure out what should I write in that additional flashvars box.

Using the latest WP, latest JW player. Nothing is saved in flashvar box.

Reply

just put in - gapro.idstring=||mediaid||-||title||

Reply

Did that. "Additional Flashvars" box did still stay empty. But I saw the update notice and everything worked fine after that update.

Can I use gapro.idstring=||title|| without ||mediaid|| as well ? Having just title.

Reply

Especially because I don't have mediaid as I upload files via FTP myself (not through WP) and then just insert shortcode to the post.

Like: [jwplayer file="URL" title"My podcast date"]

I hope it works but I'll see it tomorrow probably.

Reply

Can I see where this is being run?

Reply
Reply

This looks fine to me, but keep in mind you are using gapro-1 here, not -2.

Reply

Okay, haven't touched anything. Just added gapro.idstring without any number. Everything else is done my plugin itself at the moment.

Seems to track well at the moment. For today I have both event actions - URLs and titles. Some of the info might be gathered before adding titles and additional flashvar. I'll see tomorrow if it still counts them both somewhere.

Thanks for your help!

Reply

Np!

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