Enabling E-Commerce on Your Site |
can automatically detect and record transaction and product information. The
required information is placed into a hidden form which is parsed for transaction
and product information. Most template driven e-commerce systems can be
modified to include this information in the receipt.
You'll also need to enable e-commerce reporting for your website's profile. Like
we described previously in this guide, you would go from the Analytics
Settings page and then:
• Click Edit next to the profile you would like to enable
• Click Edit from the Main Website Profile Information box
• Change the E-Commerce Website radio button from No to Yes
Enabling E-Commerce on Your Site |
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.
Share This :
comment 0 comments
more_vert