Create an account to edit articles | See Formatting Syntax for Wiki syntax | We look forward to your contribution!
You are here: The ProductCart Encyclopedia » Widgets, snippets, add-on's, and more » Third Party Integrations » ProductCart & Google Analytics » Tracking store orders with Google Analytics
Tracking store orders with Google Analytics
This is where the integration between ProductCart and Google Analytics becomes a lot more interesting. ProductCart will take care of notifying Google Analytics that an order has been placed, and will provide Google Analytics with the transaction information. This will enable you to better understand where your shopping cart orders are really coming from.
To track your e-commerce transactions with Google Analytics, follow these steps.
Enabling E-Commerce Reporting in the Profile
In order to track e-commerce transactions you must enable e-commerce reporting for your website's profile. To enable e-commerce reporting:
- Log in to your account.
- Click “Edit” next to the Web site (profile) you'd like to enable.
- On the “Profile Settings” page, click “Edit” next to “Main Website Profile Information”.
- Change the E-Commerce Website radio button from “No” to “Yes”.
Preparing ProductCart
ProductCart v4.5 and above
There is no action to be taken. ProductCart is already setup to submit e-commerce transactions to your Google Analytics profile. Learn more about Google Analytics support in ProductCart v4.5.
ProductCart v4.1 and below
Upload the Google Analytics files
Make sure that the Google Analytics files have been uploaded to your store.
Review footer.asp or inc-footer.asp
Make sure that the following line of code has been added immediately below the tracking code on inc_footer.asp (ProductCart v4 and up) or footer.asp (ProductCart v3):
<!--#include file="inc-GoogleAnalytics.asp"-->
… as indicated here.
You're done. ProductCart will take care of the rest. Specifically, when an order is completed, it will gather a series of information about the order and communicate the data to Google Analytics. Note that this only happens when an order is completed successfully (e.g. nothing is posted if an order remains “incomplete”).
Next: adjusting for returns and cancellations
The next section focuses on adjusting for returned and canceled orders.
Related articles
- How to add the tracking code (ProductCart v4.1 and below)
Trace: • Identifying the Version of ProductCart • ProductCart E-commerce Widget for Blogs - Discussion • How to Display Product Prices in Multiple Currencies • Guest Checkout Eliminator mod for ProductCart 4 • eBay Add-on - Features - Notable Limitations • Creating a Listing or Template • Displaying the "Backorder Message" when the quantity on hand is low • What is eBay? A huge marketplace. • ProductCart Synchronizer for use with QuickBooks® • Tracking store orders with Google Analytics