Closed GoogleCodeExporter closed 9 years ago
Lots of discussion in the comments section here :
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/external/Externa
lInterface.html
Can you try adding an id parameter to the object tag?
Also, since you are doing the tracking from within a button it should work, but
generally it's best to add the tracking on the 2nd frame or ensure the
ADDED_TO_STAGE
event has been sent. The Flash visual component should take care of this part
for you.
Original comment by Nicksk...@gmail.com
on 18 Dec 2008 at 5:27
I added an id parameter to the object tag; still have utmp=&.
Everything is working other than the pageview. It's even reading the manual
tags from
the URL and coming up with the correct values for utmcsr, utmccn, and utmcmd.
Do you
have a counter example in AS3 mode where the utmp value is correct in IE with an
empty trackPageview call?
Original comment by ja...@roirevolution.com
on 18 Dec 2008 at 6:56
I set up a simplified test on:
http://www.roirevolution.com/internal/jeremy/flash3/flashtrack4.html
Object has id. Here's the source:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
Here's my flash tracking page. w00t!
<object id="my_flash_object" width="1" height="1">
<param name="movie"
value="http://www.roirevolution.com/internal/jeremy/flash3/tracking4.swf">
<param name="allowScriptAccess" value="always">
<param name="loop" value="false">
<embed src="http://www.roirevolution.com/internal/jeremy/flash3/tracking4.swf"
width="1" height="1" allowScriptAccess="always" loop="false" >
</embed>
</object>
</body>
</html>
ActionScript on second frame:
import com.google.analytics.AnalyticsTracker;
import com.google.analytics.GATracker;
var tracker:AnalyticsTracker = new GATracker( this, "UA-3000737-2", "AS3",
false );
tracker.trackPageview();
Everything works fine in IE except utmp=&. Works correctly on FireFox except
that
server message "Transferring data from www.google-analytics.com..." doesn't go
away.
I tried to set up a test using the visual component instead, but I haven't been
able
to get that to work yet from the instructions and example in the API
documentation.
Original comment by ja...@roirevolution.com
on 18 Dec 2008 at 7:40
make more tests for utmp and IE (IE6, IE7, and yeah let be crazy IE8 too)
Original comment by zwetan
on 23 Dec 2008 at 4:17
Original comment by zwetan
on 23 Dec 2008 at 4:18
I was able to get this to work with a more robust handling of the flash object,
including classid and id tags.
Original comment by ja...@roirevolution.com
on 22 Jan 2009 at 5:43
Issue was not in tracking code, rather in how Flash was embedded into the page.
The
solution should be to documented as a best practices in the WIKI
Original comment by Nicksk...@gmail.com
on 22 Jan 2009 at 5:53
Hi,
When you say you get this to work, you mean you fix the IE problems or both the
IE
problem and the FF issue with the status bar?
>>Works correctly on FireFox except that
>>server message "Transferring data from www.google-analytics.com..." doesn't
go
>>away.
cheers,
Andres
Original comment by andres%l...@gtempaccount.com
on 17 Mar 2009 at 3:40
he means (I guess) that the problem was solved by using a slightly different
way of
embedding the SWF into the HTML, and ultimately there were no bug in the
tracking
itself (eg. gaforflash)
the firefox status bar with "Transferring data from
www.google-analytics.com..." not
going away is a completely unrelated proble
try with another profile see what happen
http://support.mozilla.com/en-us/kb/Managing+profiles
Original comment by zwetan
on 17 Mar 2009 at 4:11
The IE problem is solved. The firefox status bar problem is not, but it's
probably an
implementation issue rather than a code issue, if no one else sees the issue in
AS3 mode.
Original comment by ja...@roirevolution.com
on 17 Mar 2009 at 4:58
thanks, I'm getting the same status bar message and I'm sure is an
implementation
problem because I'm getting it even when the flash movie doesn't contain any GA
FLASH
tracking code. I was just wondering if you have solve it because I have been
unable
to find a reliable solution to the problem..
thanks,
Andres
Original comment by andres%l...@gtempaccount.com
on 19 Mar 2009 at 12:08
Original issue reported on code.google.com by
ja...@roirevolution.com
on 17 Dec 2008 at 3:47