How to track transaction in Flex application with analytics.swc

122 views
Skip to first unread message

stmartinez

unread,
Jun 8, 2011, 10:23:53 AM6/8/11
to GA Tracking For Adobe Flash
Hi I am trying to track e-commerce transaction and item in flex
application with analytics.swc

I have used debug mode and I get that:
trackPageview( /9870 )
addTrans( 9870, Acme Clothing, 11.99, 1.29, 5, San Jose, California,
USA ) not implemented
Gif Request #2 sent
addItem( 9870, DD44, T-Shirt, Green Medium, 11.99, 1 ) not implemented
trackTrans() not implemented

Is there something missing in analytics.swc or I have forget somthing.
My Flex Code :

public function onButtonClick3():void
{
tracker.trackPageview( "/9870" );
tracker.addTrans("9870","Acme Clothing",
11.99,1.29,5,"San Jose","California","USA");
tracker.addItem("9870","DD44","T-Shirt","Green Medium",
11.99,1);
tracker.trackTrans();

}


Please help.

Aran Rhee

unread,
Jun 8, 2011, 10:41:28 AM6/8/11
to ga-for...@googlegroups.com
So you have analytics.swc in your library build path for your project?

For sanity, do the examples on this page work for you:



Cheers,
Aran



--
You received this message because you are subscribed to the Google Groups "GA Tracking For Adobe Flash" group.
To post to this group, send email to ga-for...@googlegroups.com.
To unsubscribe from this group, send email to ga-for-flash...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ga-for-flash?hl=en.


stmartinez

unread,
Jun 9, 2011, 3:21:17 AM6/9/11
to GA Tracking For Adobe Flash
Hi , Yes examples on this page works fine, but this is only track page
view, but I have problem with transaction and items track (e-commerce)
using analytics.swc in Flex application.
I am using AS3 mode, in Bridge mode it works fine but I don't want to
use javascript , just actionscript3 and flex.


On Jun 8, 4:41 pm, Aran Rhee <aran.r...@gmail.com> wrote:
> So you have analytics.swc in your library build path for your project?
>
> For sanity, do the examples on this page work for you:
>
> http://code.google.com/apis/analytics/docs/tracking/flashTrackingSetu...

Ikgeor

unread,
Dec 13, 2012, 4:07:52 AM12/13/12
to ga-for...@googlegroups.com
Hi stmartinez, i have the same problem i AS3 mode. I hope someone write us an answer. I'm trying to debug the source code at the moment and see if something is missing or bugged, but no luck at the moment..... If i find something i'll post you the answer. 

Good luck

Ivo

Jonathan Simpson

unread,
Nov 15, 2013, 11:53:42 AM11/15/13
to ga-for...@googlegroups.com
Did you find a solution to this? I'm experiencing the same problem.
Reply all
Reply to author
Forward
0 new messages