LogoLogo
  • Magento 2 Extensions
    • SEO Extensions
      • Magento 2 Canonical Urls for Category, Product, CMS, and Other pages
      • Magento 2 Advanced SEO Suite
      • Magento 2 Cross Linking SEO
      • Magento 2 Google Page Speed Optimizer
      • Magento 2 Google Site Map Exclusion
      • Magento 2 Alternate Hreflang Tags
      • Magento 2 Google Rich Snippets
      • Magento 2 SEO Unique Catalog URLs
    • Site Speed Extensions
      • Magento 2 Full Page Cache Warmer
      • Magento 2 Google Page Speed Optimizer
      • Magento 2 Image Optimizer
      • Magento 2 AJAX Infinite Scroll
      • Magento 2 Lazy Load Image
    • Marketing Extensions
      • Magento 2 How Did You Hear About Us
      • Magento 2 Free Shipping Bar
      • Magento 2 Product Scheduler
      • Magento 2 Apply Discount coupon Code Via Link
      • Magento 2 Dynamic Sale Catagory
      • Magento 2 Facebook Conversion and Audience Pixel Tracking
      • Magento 2 Google Dynamic Remarketing Tag
      • Magento 2 Perfect Audience Tracking
      • Magento 2 Product Feed
      • Magento 2 Cash Back Discount
      • Magento 2 Competition or Prize Draw with Social Booster
      • Magento2 Custom Options Discount
      • Magento 2 Product Label
    • Analytics & Tracking Extensions
      • Magento 2 Google Global Site Tag (gtag.js) with GA4(Google Analytics 4) Enabled
      • Magento 2 Google Enhanced Ecommerce Tracking
      • Magento 2 Google Tag Manager (GTM) GA4 Ecommerce Tracking
      • Magento 2 Google Tag Manager Tracking
      • Magento 2 missing orders or transactions in Google Analytics (GA)
      • Magento 2 Consent mode's setup guide
    • Payment and Shipping Extensions
      • Magento 2 Delivery Instructions and Delivery Date
      • Magento 2 Product Handling or Additional Fee
      • Magento 2 Surcharge or Additional Fee
      • Magento 2 Shipping Carrier Tracker
    • User Experience Extensions
      • Magento 2 How Did You Hear About Us
      • Magento 2 FAQ
      • Magento 2 Subcategory Grid/List Extension
      • Magento 2 Ajax Login and Add to Wishlist
      • Magento 2 Custom Stock Status Extension
      • Magento 2 Product Shelf Life
      • Magento 2 VAT Exemption
      • Magento 2 Cancel Order by Customer on the Frontend
      • Magento 2 Lazy Load Image
      • Magento 2 AJAX Infinite Scroll
      • Magento 2 Previously Ordered Products
      • Magento 2 Social Login
      • Magento 2 Substitute Products
      • Magento 2 Product 360 view
      • Magento 2 Product Reviews
    • Admin Extensions
      • Magento 2 Update Order Email Address
      • Magento 2 Admin Action Log
      • Magento 2 Ajax Login and Add to Wishlist
      • Magento 2 Custom Stock Status Extension
      • Magento 2 Product Shelf Life
      • Magento 2 Repeat Order
      • Magento 2 Associated or Linked Product Stock Update
      • Magento 2 VAT Exemption
      • Magento 2 Order Delete or Archive
      • Magento 2 Order Tagger
      • Magento 2 Subcategory Grid/List Extension
      • Magento 2 Advanced Reporting Extension
      • Magento 2 Export Custom Product Attribute
      • Magento 2 Advanced Admin Login Security
      • Magento 2 Admin Security Checklist
      • Magento 2 Security Suite
      • Magento 2 AI Content Generator
      • Magento 2 Content Security Policy (CSP) Whitelist Manager
      • Magento 2 OTP Login
      • Magento 2 Admin Account Switcher
    • Data & Privacy Extensions
      • Magento 2 Not On The High Street Integration
      • Magento 2 GDPR Compliance: Anonymisation of order data
      • Magento 2 Antispam Extension
    • Integration Extensions
      • Magento 2 Diamond Search
      • Magento 2 Not On The High Street Integration
      • Magento 2 Creditsafe Integration
    • Installation Via Composer
  • Magento 1 Extension
    • SEO Extensions
      • Magento SEO Unique Catalog URLs
      • Jquery Asynchronous Image Loader (JAIL)
      • Magento Image Optimizer
      • Canonical Urls for Category, Product and CMS pages
      • Google Site Map Exclusion with Image sitemap
      • Google Friendly SEO Layered Navigation
      • Magento Rich Snippets & Cards (schema.org)
      • Meta Information for Any Page
    • Marketing Extensions
      • Where Did You Hear About Us?
      • Google Tag Manager Tracking
      • Google AdWords Conversion Tracking
      • Order Follow Up or Review Booster
      • Competition or Prize Draw Module with Social Booster
      • Apply Discount Coupon Code via Link
      • Abandoned Basket Email Alert
      • Cash Back Discount
      • Dynamic Sale Category
    • Analytics & Tracking Extensions
      • Google AdWords Conversion Tracking
      • Google Adwords Dynamic Remarketing Tag
      • Facebook Conversion and Audience Pixel Tracking
      • Perfect Audience Tracking
      • Google Enhanced Ecommerce Tracking
      • Magento 1 / OpenMage GA4 Google Tag Manager (GTM)
      • Magento 1 Google Global Site Tag (gtag.js)
      • Magento 1 Consent mode's setup guide
      • Magento 1 Google Analytics Synchronization Extension
    • Payment and Shipping Extensions
      • Magento Delivery Instructions or Order Comments
      • Surcharge or Additional Fee
      • Magento Surcharge or Additional Fee on Payment Method or Countries
    • User Experience Extensions
      • Product Image Resize
      • Magento Delivery Instructions or Order Comments
      • Single Product Category Redirect
      • Testimonials
    • Admin Extensions
      • Admin Order Email
      • Magento Update Order Email Address
      • Product Review Administrator Notification Email
      • Automated Product Publish Date
      • Order Follow Up or Review Booster
      • Custom Variables Anywhere
      • Testimonials
    • Data & Privacy Extensions
      • EU Cookie Notification
      • Magento 1 GDPR Compliance: Anonymisation of order data
    • Site Speed Extensions
      • Product Image Resize
      • Jquery Asynchronous Image Loader (JAIL)
      • Magento Image Optimizer
Powered by GitBook
On this page
  • Installation and User Guide for Magento 2 Google Universal Analytics Enhanced Ecommerce Tracking Extension
  • Installation
  • Configuration Settings for Google Universal Tracking
  • To Turn on Enhanced E-commerce for a view, and label your checkout steps:
  • Front-end Site view

Was this helpful?

Export as PDF
  1. Magento 2 Extensions
  2. Analytics & Tracking Extensions

Magento 2 Google Enhanced Ecommerce Tracking

PreviousMagento 2 Google Global Site Tag (gtag.js) with GA4(Google Analytics 4) EnabledNextMagento 2 Google Tag Manager (GTM) GA4 Ecommerce Tracking

Last updated 1 year ago

Was this helpful?

Installation and User Guide for Magento 2 Google Universal Analytics Enhanced Ecommerce Tracking Extension

Table of Contents

    • Installation via app/code

    • Installation via Composer

    • General Settings

    • Enhanced Ecommerce

    • Real Time Event

    • Backend Order Tracking in Google Analytics

    • Shopping Behaviour

    • Checkout Behaviour

    • Product Performance

    • Sales Performance

    • Product List Performance by Category.

    • Home Page with Tags

    • GA - UA Tracking Code

Installation

  • Installation via app/code: 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. After the successful upload of the package, run below commands on Magento 2 root directory.

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
  • Installation via Composer: Please follow the guide provided in the below link to complete the installation via composer.

Configuration Settings for Google Universal Tracking

Go to Admin > Stores > Configuration > Scommerce Configuration > Google Universal Analytics

General Settings

  • Enabled – Select “Yes” or “No” to enable or disable the module.

  • Account Id – Enter your Google Account Id.

  • Anonymize Ip – Sets the parameter anonymize in tracking. If set to yes, tells Google Analytics to anonymize the information sent by the tracker objects by removing the last octlet of the IP address prior to its storage.

  • Domain Auto – Enable/Disable to show ‘auto’ as domain name, when turned off, it shows the domain name itself.

  • Linker Accounts Enabled – Enable/Disable the linker accounts.

  • Base – Set “Yes” if you send base order data.

  • Ajax Add to Basket Enabled – Set “Yes” if you have AJAX add to basket enabled on your website.

Enhanced Ecommerce

  • Enable Enhanced Ecommerce – Select “Yes” to enable the enhanced ecommerce tracking.

  • Steps – You can select multiple steps here, these steps correspond to Magento 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 Name – You can also pass hard coded brand name using this configuration settings.

  • 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 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.

  • Send Phone or Admin Orders – Enable this feature only if you want to send admin or phone orders on order creation.

  • Source – You can add your source here to pass this to Google for admin orders.

  • Medium – You can add your source here to pass this to Google for admin orders.

  • Send Product Impression on Scroll – Enable this feature when you have loads of products on product listing / category page.

  • Product item class on category / product listing page – Make sure this product class item heirarchy is as unique as possible for example for luma theme you can use div.products ol.product-items li.product-item

  • Debugging – Set “Yes” to generate GA.log in var/log directory to log all transactional data which we send to Google using measurement protocol.

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 E-commerce 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 available.

You can turn this option off to restore the older category of E-commerce reports.

  • Optionally, enter labels for the checkout steps that you have defined in your Magento steps configuration. Please see screenshot below for reference

  • 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 > Enabled Enhanced Ecommerce - "Yes".

  • 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 > Conversion

> Ecommerce > Checkout Behaviour.

  • 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.

  • Product List Performance by Category - You can view the product list performance from GA > Conversion >Ecommerce >Product List Performance.

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-9.

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 .

Display Feature – Enable/Disable the display feature plugin. For more information

Enable User Id – Enable/Disable User Id feature. Make sure this feature is enabled in Google Analytics first before enabling in Magento. For more information

Ecommerce Enabled – Enable/Disable the ecommerce plugin. For more information .

Linker Enabled – Enable/Disable the linker plugin to link cross domains. For more information .

Domains to Link – Add domain names or regular express for example ‘destination.com’, ‘dest3.com’ or /^example\.(com]|de|nl)$/ For more information .

If you have a question related to this extension please check out our first. If you can't find the answer you are looking for then please contact .

Installation Via Composer
support@scommerce-mage.com
click here
click here
click here
click here
click here
Installation
Configuration Settings for Google Universal Tracking
To Turn on Enhanced E-commerce for a view, and label your checkout steps:
Front-end Site View
support@scommerce-mage.com
FAQ Section