This extension is also included in the Pearl Theme.
Google Analytics Enhanced Ecommerce for Magento 2 allows you to get full Enhanced Ecommerce tracking implemented within minutes so you can start gathering valuable data and take data driven decisions.
Easy Installation and Configuration: predefined Variables, Triggers and Tags can be automatically created in your Google Anaytics and Google Tag Manager accounts with one click API sync between your Magento 2 store and your GA and GTM accounts.
Google Analytics Enhanced Ecommerce is implemented using Google Tag Manager and allows you to track Product Impressions, Product Clicks, Product Detail Impressions, Add/Remove product to cart, Promotion Impressions, Promotion Clicks, Measure each step in checkout process, Purchases and Full and Partial Refunds.
With Google Analytics Enhanced Ecommerce, marketers will be able to add, edit or remove marketing and measurement tags without the intervention of webmasters. Google Analytics Enhanced Ecommerce is a free tag management tool where you can deploy and manage various tags and code snippets on a Magento 2 store, such as those intended for traffic analysis and marketing optimization.
At a high level, Google Analytics Enhanced Ecommerce works like this: A small snippet of code is placed on your Magento 2 store, that is connected to the Tag Manager servers. A web based interface is used to install tracking codes on your store automatically. The benefits of this extension is that you usually will have to write no additional code to deploy or modify tracking codes for your marketing or analytics campaigns.
Our extension allows you to have visibility over merchandise by category, position, products and SKU. You can also extend each report to understand which products from a certain category gets the most views and has the best click through rate based on position in the listings.
Enhanced Ecommerce will also track how many times a product was added to the cart, removed from it or was succesfully purchased. Have full visibility of your customers interaction with your website.
Get a real understanding of how much revenue related, upsell and cross-sell products generated? You can now easily track the Impressions, Click Through Rate, how many times an item was added to the cart and Sales generate. Understand what is working and what doesn’t so you can take quick actions to improve your average order value!
Our extension allows you to have visibility over merchandise by category, position, products and SKU. You can also extend each report to understand which products from a certain category gets the most views and has the best click through rate based on position in the listings.
Custom Dimensions for Product Reviews will allow you to track and understand how product reviews are influencing conversion rate. You will be able to attach a monetary value to every review that you get and be able to understand which review score is positively/negatively influences conversion rate.
Enhanced Ecommerce can track coupon code performance by traffic source and medium. This will allow you to quickly understand how much revenue each coupon code generated, what coupons are working on some marketing channels what doesn’t. This way you can optimize your marketing efforts and really understand what kind of promotions are working and where.
The Shopping behavior report will let you analyze your users shopping experience form product impressions to transactions. You will better understand which part of your website is not optimized enough and results in abandonment.
The Checkout Behavior Analysis report lets you see how successfully your users moved through your checkout process. The checkout-funnel visualization illustrates how many users moved on from one step to the next, how many abandoned the process at each step, and how many entered the process at each step.
With Enhanced Ecommerce you can now track which traffic source and marketing initiative generated the sale of an exact product! Stop wondering and start optimizing your marketing efforts to start selling products that you had a hard time to sell before!
Enhanced Ecommerce has the ability of tracking both impressions as well as click of a specific promotional banner on your website. More then that, it can exactly track how many transactions it generated and what was the total revenue generated by a banner by position. This report will allow you to better optimize the position and the messaging of each of your banners.
See all of your marketing data in one place, with attribution by source so you manage marketing ROI.
Optional
Copy the extension files into the below path of your Magento 2 instance. If the ‘app/code/WeSupply’ folder
is missing, please create it manually:
app/code/WeSupply/Toolbox
If you experienced any issues or limitations with this quick GUI installation, see also SSH Installation below. SSH installation does the same thing but you are required to issue the commands step by step via CLI. Some servers may have high security configurations and may limit the functionality of this GUI Installer.
Optional
Copy the extension files into the below path of your Magento 2 instance. If the ‘app/code/WeSupply’ folder
is missing, please create it manually:
app/code/WeSupply/Toolbox
You need also to get the code for the "<body>" section.
For this you need to go to WeltPixel > Google Analytics Enhanced Ecommerce > GTM API Configuration and fill in Account ID, Container ID, Universal Analytics Tracking ID. All this information can be found in your
Get information from Google Tag Manager and Google Analytics accounts.
If you don't already have a Google Analytics Property, head to the Google Analytics website and create one.
You'll automatically be taken to a section of the Property in which you can see your Universal Analytics Tracking Code.
The Tracking Code is also available under Admin > Property settings > Tracking ID as you can see in the picture.
Note: Once you fill in the above ID’s save the GA settings in order not to lose the credentials on page refresh.You will be notified to save your credentials in order not to lose them before continuing with the process.
Hit Save Config button.
Note!: If, for any reason, the Sign in to Google functionality does not work for you, try out the JSON Export process as an alternative. You can find it by scrolling down to the last section of the extension options in the Magento Admin.
Go to WeltPixel > Google Analytics Enhanced Ecommerce > GTM API Configuration and hit Create Variables, Triggers and Tags button.
You will be notified about the Variables, Triggers and Tags created.
As an alternative, if the Sign in to Google functionality does not work, you can export the configuration as a JSON and import it into your Google Tag Manager container.
Note: After making any extension configuration changes, remember to re-generate the JSON and re-import and overwrite the existing GTM container to ensure your settings are picked up by Google.
Go to WeltPixel > Google Analytics Enhanced Ecommerce > JSON Export Options and hit the Generate Json for Variables, Triggers and Tags button.
You will be notified that the JSON has been generated successfully and a Download JSON button will appear. Click the button to download the generated JSON.
Go to yourGoogle Tag Manager Dashboard and access the Admin section and choose Import Container
Click on the Choose container file button and find your previously generated and downloaded JSON file. Then, choose a workspace (you can choose an existing workspace or create a new one) and an import option.
When importing your container, you will have the option to merge the imported content with the selected workspace, or overwrite the workspace entirely. Overwriting the selected workspace will remove all your existing tags, triggers and variables in that workspace, and will replace them with the imported container.
After importing the generated JSON, a preview will show up letting you know the number of changes made to the container. There should be Tags, Triggers and Variables created or updated in various amounts depending on your Magento Admin settings. Click on Confirm and you should be done with importing your settings!
In your Google Analytics account, go to Admin > Ecommerce Settings in order to define the labels for checkout-funnel steps.
In order to activate your conversion sections of your Google Analytics dashboard you have to:
a. Enable Ecommerce
b. Enable Enhanced Ecommerce Reporting
c. Add Checkout Labeling (Funnel Steps). Each store can have different checkout steps, so make sure to identify your checkout steps using GTM debugger (GTM container preview) before adding them here in order to avoid wrong tracking. Here is a common Magento checkout funnel example:
d. Save Ecommerce set-up.
More details about Checkout funnels here: How to setup Enhanced Ecommerce reports (Google Documentation)
Great news! We've identified the first step (Shipping Address) of the checkout process presented in this example! We'll need to remember it, as in the sections below, we'll be shown how to add this step to the Google Analytics checkout funnel.
Note: Each checkout process is different, so for your store, you may have a different option here.
Note: Each checkout process is different, so for your store, you may have a different option here.
Note: This is informative, and you'd only need to access this if you wanted additional details about this checkout step.
Woohoo, the extension is configured!
Note: Your GA and GTM account are now configured with our pre-generated settings and ready to receive valuable information from your Magento 2 store! You can now gather valuable data and take data driven decisions! Congrats!<a href="#" data-track-promo-id="PROMOID" data-track-promo-name="PROMONAME" data-track-promo-creative="PROMOCREATIVE" data-track-promo-position="PROMOPOSITION">Content </a>
If you are just starting out we highly recommend creating everything as described. In Magento Admin Panel we are pre-populating each custom dimension with sample indexes for your help. Please make sure that the Custom Dimension scopes and Indexes in Magento match with the ones created in GA. In a fresh GA account, the index number will start from 1 and as you create them will increase sequentially. An example can be seen in the screenshot in Step 6.
The GTM module is not tracking properly, what can I do?
The first step would be to make sure you've followed all the configuration steps provided on the product page here: Google Analytics Enhanced Ecommerce Tag Manager for Magento 2. The second step is to make sure the extension is updated to the latest version, as each new release contains minor bug fixes and performance enhancements.
Where can I download the latest version of the GTM extension?
As for any purchased extension from weltpixel.com, you can find the latest version under your weltpixel.com account's "My Downloadable Products" section.
Does the module track returns and cancelled orders?
Our extension does not track returns or order cancellations.
Do I need to create a "purchase" tag to track transactions?
No purchase tag is needed. The automatically generated tags should be sufficient to track transactions. Just make sure you've followed the configurations steps on the product page: Google Analytics Enhanced Ecommerce Tag Manager for Magento 2.
Do I need a GTM and GA snippet on every page?
If you've installed the GTM tags via our automated process, the GA tag is already included in GTM, therefore, it is not needed to have an additional GA tag loaded separately.
I already have a GTM with my own tags. Can I keep it and use the new tags as well?
We suggest creating a separate GTM containter for the new/updated tags, which you can use for production, and copying over the old tags that you may need.
Does the extension handle the implementation of dataLayer?
Yes. The extension communicates Magento data to GA through data Layer, which is basically the foundation upon which the module is built.
The GTM extesion overrides my template design. What can I do?
We have a very handy article that goes over this specific issue. Take a look at it here: How to solve compatibility issues - Google Tag Manager Enhanced Ecommerce.
I've just installed the module, but I can't see any data in GA. Why?
It can take up to 48 hours for data to start flowing into Google Analytics. In the meantime, double check to make sure the configuration steps from the product page have been followed.
I have Cookie restriction issues with the GTM module on Magento 2.1.x. What can I do to fix this?
This is a bug specific to Magento 2.1.x. (Github issue#5596). We have an article written specifically to help overcome this. You can find it here: How to overcome Cookie restriction issues in Magento 2.1.x. (Google Tag Manager and Google Analytics cookie fix).
Does the extension show any data directly in my Magento Admin?
All reports can be seen and analyzed in the Google Analytics account. There's no section in the Magento Dashboard which allows for tracking.
I have an error generating GTM Tags and Variables. What can I do to solve it?
The domains where the GTM extension connects to create the tags for you automatically are listed below, make sure to allow outgoing connections to this domains or else the tags cannot be created.
I am using the extension on a Magento 2 instance where products can be included in multiple categories (e.g one SKU could be listed under Sale, Trending and Jackets). How does the module decide which of those 3 categories to assign the product to in the Enhanced Ecommerce Categories tab of the Product Performance report in GA?
The product will be assigned to the first Category, based on how Magento saves this data internally - when a product is assigned to multiple categories, Magento will save the path of this product based on the first assignment. So, if you assign the product first to Jackets, and then Sale and Trending, it will show up under Jacketst in the GA report.
How do subcategories work with the module? E.g. If an SKU is in the Sale subcategory under Jackets, does Sale or Jackets feed through to the GA report? Are subcategories and categories reported at at the same level or are subcategories ignored?
If the product is assigned under Sale from 'Women/Jackets/Sale', the whole category path is sent to GTM until the root path is reached. In this example the category(s) path sent to GTM is 'Women/Jackets/Sale'
What’s new in v.1.14.5 - August 23, 2024
What’s new in v.1.14.3 - June 20, 2024
What’s new in v.1.14.1 - April 19, 2024
What’s new in v.1.11.21 - January 9, 2024
What’s new in v.1.11.19 - October 19, 2023
What’s new in v.1.11.17 - June 28, 2023
What’s new in v.1.11.15 - March 22, 2023
What’s new in v.1.11.11 - November 23, 2022
What’s new in v.1.11.7 - September 1, 2022
What’s new in v.1.11.1 - April 25, 2022
What’s new in v.1.10.17 - October 22, 2021
What’s new in v.1.10.15 - August 31, 2021
What’s new in v.1.10.11 - July 7, 2021
What’s new in v.1.10.9 - May 18, 2021
What’s new in v.1.10.7 - March 26, 2021
What’s new in v.1.10.5 - February 4, 2021
What’s new in v.1.10.1 - October 22, 2020
What’s new in v.1.10.0 - August 10, 2020
What’s new in v.1.9.8 - July 6, 2020
What’s new in v.1.9.7 - May 7, 2020
What’s new in v.1.9.6 - April 9, 2020
What’s new in v.1.9.5 - March 10, 2020
What’s new in v.1.9.4 - February 5, 2020
What’s new in v.1.9.2 - November 27, 2019
What’s new in v.1.9.1 - October 16, 2019
What’s new in v.1.9.0 - July 18, 2019
What’s new in v.1.8.5 - June 7, 2019
What’s new in v.1.8.4 - April 25, 2019
What’s new in v.1.8.3 - April 3rd, 2019
What’s new in v.1.8.2 - January 24, 2019
What’s new in v.1.8.0 - December 8, 2018
What’s new in v.1.7.5 - October 24, 2018
What’s new in v.1.7.4 - September 25, 2018
What’s new in v.1.7.3 - August 23, 2018
What’s new in v.1.7.2 - August 2, 2018
What’s new in v.1.7.1 - July 12, 2018
What’s new in v.1.7.0 - July 5, 2018
What’s new in v.1.6.4 - May 16, 2018
What’s new in v.1.6.3 - April 4, 2018
What’s new in v.1.5.9 - March 3, 2018
What’s new in v.1.5.8 - January 12, 2018
What’s new in v.1.5.7 - December 14, 2017
What’s new in version 1.5.3 - September 20, 2017
What’s new in version 1.2.2 - May 16, 2017
What’s new in v.1.2.1 - April 05, 2017
What’s new in v.1.2.0 - March 11, 2017
What’s new in v.1.1.0 - 06/02/2017
What’s new in v.1.0.0 - 01/12/2016