1
Installation and User Guide for
Magento 1 Google Enhanced Ecommerce
Tracking
2
Table of Contents
1. Installation ...........................................................................................................................................3
Disable Compilation Mode .....................................................................................................3
Upload Package ......................................................................................................................3
Clear Caches...........................................................................................................................3
2. Configuration Settings for Google Universal Analytics ...................................................................3
General Settings .....................................................................................................................3
Enhanced Ecommerce ...........................................................................................................5
3. Set up Enhanced Ecommerce in Google Analytics .........................................................................8
Real Time Event .....................................................................................................................9
Backend Order Tracking in Google Analytics.......................................................................9
Shopping Behaviour ............................................................................................................. 10
Checkout Behaviour ............................................................................................................. 10
Product Performance ............................................................................................................ 11
Sales Performance ............................................................................................................... 11
4. Front-end Site View .......................................................................................................................... 12
Home Page with Tags .......................................................................................................... 12
GA – UA Tracking Code. ...................................................................................................... 12
3
1. Installation
Disable Compilation Mode: To check that this is disabled, go to System >Tools >
Compilation. If the compiler status is ‘Disabled’, you are ready to go. If not, simply
Click the ‘Disable’ button on the right hand side of the screen.
Upload Package: Upload the content of the module to your root folder. This will not
overwrite the existing Magento folder or files, only the new contents will be added.
Clear Caches: This can be done from the admin console by navigating to the cache
management page (System > Cache Management), selecting all caches, clicking
‘Refresh’ from the drop-down menu, and submitting the change.
2. Configuration Settings for Google Universal Analytics
Go to Admin > Stores > Configuration > Scommerce Configuration > Google
Universal Analytics
General Settings
Enabled - Select “Yes” or “No” to enable or disable the module.
License Key - Please add the license for the extension which is provided in
the order confirmation email. Please note license keys are site URL specific.
If you require license keys for dev/staging sites then please email us at
Account Id - Enter your Google Account Id.
Anonymize Ip - Sets the parameter anonymize Ip in tracking. If set to “Yes” tells
Google Analytics to anonymize the information sent by the tracker objects by
removing the last octet of the IP address prior to its storage.
Display Feature - Enable/Disable the display feature plugin. For more information
click here.
Enable User Id - Enable/Disable User Id feature. Make sure this feature is
4
enabled in Google Analytics first before enabling in Magento. For more information
click here.
Ecommerce Enabled - Enable/Disable the e-commerce plugin. For more
information click here.
Domain Auto - Enable/Disable to show ‘auto’ as domain name, when turned off,
it shows the domain name itself.
Linker Enabled - Enable/Disable the linker plugin to link cross domains. For more
information click here.
Link Two GA Accounts Enabled - Enable/Disable the link between two GA
Accounts. All the information collected by google on primary Account Id will be
passed to Linked Account Id.
Base - Set “Yes” if you want to send base order data and “No” to send store order
data to Google. Set this to “yes” always unless you have multi-store/currency is
enabled and you want to send different currency data to Google.
Enable Optimize - Set “Yes” to enable optimize with Google Analytics.
Enable GDPR cookie check - If you are using our GDPR Extension or any other
GDPR Extension and you want to block sending information to Google then set
this to “Yes” based on custom preference. Please note this is optional as far as
you are not sending any PII to Google this setting needs to be turned off.
5
Enhanced Ecommerce
Enable Enhanced Ecommerce - Select “Yes” to enable the enhanced
ecommerce.
Steps - You can select multiple steps here, these steps correspond to Magento
Select “Yes” to enable the
module
Enter the License key for
the module
Please add the Account Id
Select “Yes” to enable the
Anonymize Ip
Select “Yes” to enable the
display feature
Select “Yes” to enable the
User ID
Select “Yes” to enable the
Enhanced Ecommerce
Select “Yes” to enable the
Domain Auto
Select “Yes” to enable the
Linker
Select “Yes” to enable the
Link Two GA Accounts
Select “Yes” to enable the
Base
Select “Yes” to enable the
Optimize
Select “Yes” to enable the
GDPR Cookie check
6
onepage standard checkout steps. Also make sure you add these same steps in
Google Analytics under Ecommerce settings by turning Enhanced E-commerce
on.
Brand Attribute - You can select product attribute which you can use to set your
brand names. This will be passed to Google for further reporting.
Brand text box - You can also pass hard coded brand name using this
configuration setting.
Send Phone or Admin Orders - Enable this feature only if you want to send
admin or phone orders on order creation.
Send Transactional Data Offline - Set “Yes” to send data on order creation only.
This feature could be useful if your payment gateway show their own success page
instead of Magento order confirmation page.
Send Transactional Data only on Invoice Creation - Set “Yes” to send data on
invoice creation only. This feature could be useful if you take either payment on
dispatch or your payment gateway show their own success page instead of
Magento order confirmation page.
Allow sending transaction offline - Enable this feature for sending missing
transactions to Google. This will show a button against orders.
Send Cancel Order to GA - Set “Yes” to send cancel order information to GA.
This will send as a negative transaction to Google.
Send Frontend Form Data to GA - Enable this feature if you want to send user
inputs on the frontend to Google as events like Registration or Checkout form data.
Debugging - Set “Yes” to generate GA.log in var/log directory to log all
transactional data which we send to Google using measurement protocol.
7
Select “Yes” to enable the
Enhanced Ecommerce
Please select the Steps
Please add the Brand
Attribute
Please add the Brand Text
Box
Select “Yes” to enable the
Send Phone or Admin
Orders
Select “Yes” for Send
Transactional Data Only on
Invoice Creation
Select “Yes” to Allow
sending Transaction offline
Select “Yes” to Send
Cancel Order to GA
Select “Yes” to send
Frontend Form Data to GA
Select “Yes” for Debugging
Select “Yes” for Send
Transactional Data Offline
8
3. Set up Enhanced Ecommerce in Google Analytics
To turn on Enhanced E-commerce for a view, and label your checkout steps:
1. Click Admin at the top of any Analytics page.
2. Select the view for which you want to enable Enhanced E-commerce reporting.
3. In the view column, click E-commerce Settings.
4. Under Step 1, Enable E-commerce, set the status to ON.
5. Click Next Step.
6. Under Step 2, Enhanced Ecommerce Settings, set the status to ON. When you turn this
option on
• You can see the Enhanced E-commerce reports in the conversions section
• The older, older category of E-commerce reports is no longer visible
You can turn this option off to restore the older category of E-commerce reports.
7. Optionally, enter labels for the checkout steps that you have defined in your Magento
steps configuration. Please see screenshots below for reference.
9
8. Click Submit.
Real Time Event – You can view the tracked events from GA > Realtime > Events.
Backend Order Tracking in Google Analytics – You can track admin orders
by selecting “Yes” for “Send Phone or Admin Orders” from Admin > Stores >
Configuration > Scommerce Configuration > Google Universal Analytics >
Enable Enhanced Ecommerce – “Yes”.
10
Shopping Behaviour – You can see the shopping behaviour from GA >
Conversion > Ecommerce > Shopping Behaviour.
Checkout Behaviour – You can see the checkout behaviour in GA with billing &
shipping method, payment method and transactions details from GA > Conversions
> Ecommerce > Checkout Behaviour.
11
Product Performance – To view the product performance go to GA > Conversion
> Ecommerce > Product Performance.
Sales Performance – To view tracked sales performance go to GA > Conversion
> Ecommerce > Sales Performance.
12
4. Front-end Site view
Home Page with Tags – In Tag Assistant tool you can see the fired tags.
GA – UA Tracking Code – In the below image you can see the UA tracking id’s
added from Admin > Stores > Configuration > Scommerce Configuration >
Google Universal Analytics > Account Id – UA – 33387561-7.