M.K. Posted June 10, 2009 Share Posted June 10, 2009 Know someone how to instal real transaction tracking from GA (http://code.google.com/intl/cs/apis/analytics/docs/gaJS/gaJSApiEcommerce.html).I know, that i must put code as var pageTracker = _gat._getTracker("UA-12345-1"); pageTracker._trackPageview(); pageTracker._addTrans( "1234", // order ID - required "Womens Apparel", // affiliation or store name "11.99", // total - required "1.29", // tax "15.00", // shipping "San Jose", // city "California", // state or province "USA" // country ); pageTracker._addItem( "1234", // order ID - necessary to associate item with transaction "DD44", // SKU/code - required "T-Shirt", // product name "Olive Medium", // category or variation "11.99", // unit price - required "1" // quantity - required ); pageTracker._trackTrans(); but how to put values there? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now