mrthuanvn / gaforflash

Automatically exported from code.google.com/p/gaforflash
Apache License 2.0
0 stars 0 forks source link

Flash version and other client values not tracked in 30% of cases #72

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open a page using gaforflash in Bridge mode (tracking both pageviews and 
events)
2.
3.

What is the expected output? What do you see instead?
All information about the clients should be available in Google Analytics. 
Instead, some of the data is missing - "(not set)" - in about 30% of the cases. 

These are some of the data that's missing:
Flash version, Screen resolution, Screen colors

What's weird is that there's an exact match (!) of users having Java installed 
and missing the above values. And I'm talking about 100s of thousands of visits 
here, so that's probably not a coincidence. 
All the other users are claimed to not have Java installed, which seems weird 
(since it's about 70% of the user base). 

Could there be some mixup in the values sent to Google? Are there any values 
that need encoding, but aren't (causing the data sent to get corrupted)?

What version of the product are you using? On what operating system?
We're running the latest version, and this seems to appear for users on both 
Mac and Windows, no matter which browser's being used.

Please provide any additional information below.
I've looked at several requests to the Google gif image and it looks OK.

Very grateful for any help on this matter! Been searching the web for a long 
time without any results.

Thanks!

Original issue reported on code.google.com by kristofe...@gmail.com on 8 Jun 2010 at 4:25

GoogleCodeExporter commented 8 years ago
could you provide some tracking code that replicate the problem ?
(not only the AS3 code but a whole setup HTML+JS+AS3 to produce a SWF)

when you use Bridge mode, the AS3/Flash act as proxy that send commands to the 
ga.js

in some case, like if you're using a javascript to detect if flash is installed 
(eg. SWFobject) etc.,
it could happen that the AS3 code has ran before the js detection had 
completely finished,
and could explain a drop of 30%.

definitively worth investigating.

Original comment by zwetan on 14 Oct 2010 at 7:55

GoogleCodeExporter commented 8 years ago
zwetan, I don't understand how the use of SWFObject or similar could interfere 
with how/when the GA code is run. Doesn't the GA code handle Flash version, 
screen resolution detection and similar itself wuithout relying on other tools?

I see the same strange behaviour with a large percentage of "(not set)".

I use Bridge mode.

I set up the GA Javacsript part of the tracking at the end of my document:

<script type="text/javascript">setup up GA tracking here</script>
</body>

I use SWFObject to load my SWF once the page has completely loaded:

<body onLoad="calling function to embedd swf with SWFObject here">

Original comment by bjorn.ri...@gmail.com on 18 Oct 2010 at 5:33