Add Google Analytics to Store
- Log into the store admin site. (store.company.com/admin)
- Click Content Management / Widgets.
- Click the Configure link for Google Analytics.
- Follow the directions and next steps listed below to enable Google Analytics Integration.
- Create or sign in to your Google Analytics account (https://www.google.com/analytics).
- Click the drop-down arrow and choose Analytics.
- Click on All Web Site Data.
- Choose your website Account / Properties & Apps / Views.
- Click Admin.
- Go to View / All Web Site Data column and choose Ecommerce Settings.
- Set Status and Enable Related Products to ON. Click Next Step.
- Set Enable Enhanced Ecommerce Reporting to ON. Click Submit.
- Go to the Property / Your Web Site column and click Tracking Info.
- Click Tracking Code.
- You will need to copy and paste the complete Tracking ID number and Tracking Code script into the Google Analytics Widget in the online store.
- Return to the Google Analytics Widgets page in the online store (Step 3) and paste the Tracking ID and Tracking Code. You will also need to add an {ECOMMERCE} line exactly as noted.
- Copy and paste the following code into the Tracking Code for {ECOMMERCE} part, with {DETAILS} line exactly as it is listed below:
_gaq.push(['_addTrans', '{ORDERID}', '{SITE}', '{TOTAL}', '{TAX}', '{SHIP}', '{CITY}', '{STATEPROVINCE}', '{COUNTRY}']);
{DETAILS}
_gaq.push(['_trackTrans']); - Copy and paste the following code into the Tracking Code for {DETAILS} part exactly as it is listed below:
_gaq.push(['_addItem', '{ORDERID}', '{PRODUCTSKU}', '{PRODUCTNAME}', '{CATEGORYNAME}', '{UNITPRICE}', '{QUANTITY}' ]); - Click Save.
Comments
0 comments
Please sign in to leave a comment.