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

Forums

/

Still see no GA Pro data

18 replies [Last post]

Hi Ethaan:

It has been 3 days since I implimented your changes on my GA Pro plugin code but Google Analytics is still not showing any tracking data in my Dashboard for my flv file.

Do you have any idea what we could try next to get this working? This is for an important client of ours and I simply must get it going.

See code below.

Thanks,
Rudy

<script type='text/javascript' src='http://www.websbyu.com/swfobject.js'></script>
<div id="mediaspace"><a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Get the Adobe Flash Player to see this video.</a></div>
<script type='text/javascript'>
var so = new SWFObject('http://www.websbyu.com/player.swf','mpl','486','282','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('file','http://www.websbyu.com/websbyu.flv');
so.addVariable('image','http://www.websbyu.com/preview.jpg');
so.addVariable('stretching','fill');
so.addVariable('skin','http://www.websbyu.com/xstijl.swf');
so.addVariable('plugins','gapro-1');
so.addVariable('gapro.accountid','UA-15093478');
so.addVariable('gapro.tracktime','true');
so.write('mediaspace');
</script>

1) Where are you running this code?

2) Refer to the guide, are you looking for the data in the events section? - http://www.longtailvideo.com/jw/upload/LTV-GAPro-UserGuide.pdf

Hi Ethan:

You asked: 1) Where are you running this code?

Answer: I am running this code on the homepage of www.websbyu.com

You asked: 2) Refer to the guide, are you looking for the data in the events section?

Answer: I read the entire guide. It was excellent! I did not know it existed. Thanks.
Also, I realize now that I was NOT looking in the "Event Tracking" section of Google Analytics but rather in the Dashboard. However, there is still no data in the Events Tracking.

Action taken:
I decided to do a complete reinstall of the player and accompanying files onto my server.
I downloaded the licensed version the most recent player distribution (player v 5.1 and swfobject v 1.5).
I used the setup wizard to get the basic embed code and then added other needed variables.

The video is playing fine and I will wait a couple of days to see if Google Analytics displays any data in the Event Tracking section. See my final code below.

Sorry to be such a pain, but as I mentioned in a previous post, this job is for one of our important clients and failure is simply not an option. I have to get this working no matter how long it takes.

Thanks again,
Rudy

<script type='text/javascript' src='http://www.websbyu.com/swfobject.js'></script>
<div id="mediaspace"><a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Get the Adobe Flash Player to see this video.</a></div>
<script type='text/javascript'>
var so = new SWFObject('player-licensed.swf','mpl','482','300','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('file','http://www.websbyu.com/websbyu.flv');
so.addVariable('image','http://www.websbyu.com/preview.jpg');
so.addVariable('stretching','fill');
so.addVariable('skin','http://www.websbyu.com/stijl.swf');
so.addVariable('plugins','gapro-1');
so.addVariable('gapro.accountid','UA-15093478');
so.addVariable('gapro.tracktime','true');
so.write('mediaspace');</script>

That code should work for sure, there is no reason that you won't be seeing any data using that code.

Hi Ethan:

Still no Event Tracking data showing in Google Analytics 24 hours after my complete reinstall.

I'll give it another 24 hours of waiting and if nothing shows, I'll come back to you for what to try next.

Thanks,
Rudy

Okay, please let me know, thanks.

Hi Ethan:

It's been 48 hours since I did the complete reinstall outlined above and there is still no data showing in the Google Analytics Event Tracking section. I guess it's safe to say that there is still a problem.

I am now totally stuck and have no idea what to try next. All I can suggest is that if you could take a few moments and look over my web page code and see if you can spot anything that might be a problem somewhere on the page. Maybe there's a conflict or something....

You can find the page here: http://www.websbyu.com

You'll notice that right at the bottom of the page, just above the </body> tag, there are 2 javascript codes needed for Google Analytics.

The first one is for tracking downloaded files (this function is working-my pdf files are be tracked):
<script src="http://www.websbyu.com/scripts/gatag.js" type="text/javascript"></script>

... and the second is the standard code Google supplies for making the Analystics work (this also is working):
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-15093478-1");
pageTracker._trackPageview();
} catch(err) {}</script>

Anyway Ethan, I desparately need your help at this point because this major client of ours has requested a high-end, comprehensive web stats functionality which they themselves want to monitor on a weekly basis.

It is especially important for them to be able to see how long people are playing their main web-video commercial on their homepage which we will be shooting for them every 3 months. Google Analytics is the only web stats package that I am aware of that will give them that kind of information, so we simply have to get the GA Pro plugin working.

My clients are not aware of the trouble I have been having or that I have already spent close to a week trying to get this working, but they're expecting to see a working web stats function soon.

...therefore H E L P !!!!!!!

Thanks,
Rudy in Ottawa

Hi again Ethan:

While waiting for your suggestions I have also decided to try something. I created a new web page and stripped everything out of it except my embedded Flash, my javascript code for Google Analytics to track downloads (see above description) and the javascript code that Google Analytics gives us when we open a GA account.

You can find the new test page here: http://www.websbyu.com/flvTest.html

If there was some kind of on the original web page it should become apparnt now since everything has been removed.

Please let me know if you spot anything thatv you think could be my problem. (see entire web page code below)

Thanks,
Rudy

<html>
<head>
<title>FLV testPage</title>
</head>
<body>

<!-- Note: The player.swf below is v5.1 licensed --->
<script type='text/javascript' src='http://www.websbyu.com/swfobject.js'></script>
<div id="mediaspace"><a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Get the Adobe Flash Player to see this video.</a></div>
<script type='text/javascript'>
var so = new SWFObject('player-licensed.swf','mpl','482','300','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('file','http://www.websbyu.com/websbyu.flv');
so.addVariable('image','http://www.websbyu.com/preview.jpg');
so.addVariable('stretching','fill');
so.addVariable('skin','http://www.websbyu.com/stijl.swf');
so.addVariable('plugins','gapro-1');
so.addVariable('gapro.accountid','UA-15093478');
so.addVariable('gapro.tracktime','true');
so.write('mediaspace');</script>

<script src="http://www.websbyu.com/scripts/gatag.js" type="text/javascript"></script> <!-- downloads tracker -->

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-15093478-1");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>

http://www.websbyu.com/flvTest.html looks fine to me...are you really seeing NOTHING in your reports?

Please email me what you reports look like. ethan [at] longtailvideo [dot] com, thank you.

Hi Ethan:

I just created the stripped down web page "flvTest.html" this morning so nothing will show in Google Analytics until tomorrow morning.

If the data starts appearing it must mean that something on my original web page was conflicting with the GA Pro plugin.

I will send you a screen shot of my reports via email.

Thanks,
Rudy

Thanks!

Hello, I am getting the same problem. I installed the script 3 days ago and see no information in my analytics.

Whats wrong with the script?

Erik, where are you running this?

ok. i see now that one has to code oneself the .xml code file. if you search the forum you can get one and code to your own needs. haven't tried running it yet.
Erik

You said you installed the script 3 days ago, what script were you talking about then?

I installed the script 3 days ago. it is running here:

miamibreastcenter.com/videos/breast-reconstruction-7-news.html

I checked today at 9:45pm and still no tracking. What could be wrong?

Nothing is wrong with that code, it is perfect.

Are you looking in the right player in your Analytics account?

It should be under "Event Tracking"

Refer to our guide for more information - http://www.longtailvideo.com/jw/upload/LTV-GAPro-UserGuide.pdf

I finally got tracking information. It is working now. took a while. Thanks.

No problem, glad it is working! :-)