beautypg.com

Enable e-commerce transaction tracking – Google Analytics Guide User Manual

Page 32

background image

32

32

Enable E-Commerce Transaction Tracking

Writing the required information

Somewhere on the goal page, below the tracking code, the code needs to be
written by your engine. Everything in brackets should be replaced by actual values
as described in the “How do I track e-commerce transactions?” section of the
Analytics Help center referenced on page 45.

Also, you can refer to “How do I track e-commerce transactions?” for further
instructions on writing transaction information to your receipt pages. If you are
tracking transactions that occur on a different domain or subdomain than your main
site, check out the section titled, “How do I use Google Analytics to track a 3rd-party
shopping cart?” for instructions on updating your tracking code.

Google Analytics uses 1st party cookie technology to track visitors and generate
reports. 1st party cookies require that the JavaScript code be called from each web
page to avoid breaching the security settings in your visitors' web browsers. If you
can edit the source code of your shopping cart site and add the Google Analytics
tracking code, you'll be able to use it with Google Analytics.