- Overview
- Step 1: Get Tracking ID from Google Analytics Account
- Step 2: Enable GUA in AmeriCommerce & Input Tracking ID
- Google Tracking Merge Codes
Overview
Google Universal Analytics (GUA)is a free Web analytics service. They provide statistics and basic analytical tools for search engine optimization (SEO) and marketing purposes. The service is available to anyone with a Google account. The following walkthrough will help you sync it to your store and show where it needs to go in the back of the admin panel.
Step 1: Get Tracking ID from Google Analytics Account
The tracking ID for Google Universal Analytics looks like this: UA-71237761-1. You may have already come across yours. If not, Login to your (or sign-up for) a Google Analytics account -- Refer to Google's documentation to obtain your tracking ID. Once obtained, keep it handy and proceed to Step 2.
Step 2: Enable GUA in AmeriCommerce & Input Tracking ID
Login to your AmeriCommerce dashboard, then navigate to Tools > Apps & Addons > Google Universal Analytics. Once there:
- Check Enable Google Universal Analytics Page View and Ecommerce Tracking
- Input Tracking ID
- Optionally enable Enhanced eCommerce Tracking
- Save
Once enabled, here's an example of the GUA script code on the View Source of the order confirmation page:
Google Specific Tracking Merge Codes
- ##ADDITEM## (legacy)
- ##ADDITEMASYNC##
- ##GOOGLECONVERSIONTRACKINGASYNC##
- ##GOOGLECONVERSIONTRACKING## (legacy)
- ##GOOGLEREMARKETINGPAGETYPE## - Renders ‘home’, ‘searchresults’, ‘category’, ‘product’, ‘cart’, ‘purchase’, or ‘other’ depending on store page type.
- ##GOOGLEREMARKETINGPRODID## - On a product page renders ‘##ITEMID##’, on cart, checkout and orderview renders array of item ids, ex: [‘123’.’456’,’789’]
- ##GOOGLEREMARKETINGITEMNR## - will render item nr(s) instead of the ids
- ##GOOGLEREMARKETINGTOTALVALUE## - On a product page renders ‘##RAWPRICE##’, on cart and checkout it renders the raw subtotal, and on order view renders the raw total.
Comments
0 comments
Please sign in to leave a comment.