Overview
AnalyticsEasy connects supported Magento 2 store events to Google Analytics 4. After configuration, use GA4 and Tag Manager diagnostics to confirm which events your store sends. Pro adds the advanced purchase delivery and diagnostic features described below. Review the Marketplace Pro offer before relying on a Pro-only feature.

This module helps you:
- Configure purchase tracking with order value, product details, and currency in Google Analytics 4, then verify the resulting events
- Send supported ecommerce data to Google Tag Manager for your configured tags
- Inspect UTM campaign attribution where enabled and supported by your plan
- Choose the product identifier and whether prices include tax in the free module; AnalyticsEasy Pro adds brand, variant, and stock-status data points, plus more category-level options
- Check how your configured consent settings affect event delivery
Note on the free version when AnalyticsEasy Pro is installed: When Pro is active, the free module's General config shows an "AnalyticsEasy Pro is installed - free version disabled" notice. This is expected - Pro takes over all tracking. Configure everything under Stores > Configuration > Moogento > AnalyticsEasy Pro instead.
When to use this
Use AnalyticsEasy when you want to:
- Set up GA4 ecommerce tracking without writing custom JavaScript or hiring a developer
- Replace a broken or outdated Universal Analytics integration and move to GA4
- Give a marketing agency a clean GTM data layer to build their tags on top of
- Track Google Ads conversions automatically when an order is placed with AnalyticsEasy Pro
- Verify that prices recorded in analytics match the tax-inclusive or tax-exclusive figures your finance team expects
Key capabilities
- GA4 ecommerce tracking - sends completed purchases with transaction and item data to GA4; page views need a separately configured GA4 tag
- Google Tag Manager data layer - populates transaction ID, order value, currency, and item details for every purchase
- GTM container generator - exports a pre-built container JSON with tags, triggers, and built-in variables that you import into GTM
- Google Ads conversion tracking - fires conversion events on the order success page (Pro)
- Remarketing pixel - places the Google Ads sitewide tag on every page to power remarketing audiences (Pro)
- Configurable data points - choose the product identifier and tax treatment. Brand, variant, stock-status and customer-group dimensions require AnalyticsEasy Pro.
- UTM campaign attribution - captures UTM parameters from landing URLs and associates them with purchase events
- Cookie restriction awareness - honours Magento's built-in cookie consent mode without additional setup
- Multi-store ready - configuration scoped to website and store view levels
- Server-side Measurement Protocol - sends selected events directly from your Magento server to GA4, bypassing browser limitations (Pro)
- Moogento attribution tracking - attributes conversions driven by SmartListings, HelloCustomer, GiftEasy, and NotifyMe back to the right source (Pro)
In this guide
This guide is split across several pages so each one stays quick to read and easy to search. This page covers what AnalyticsEasy does, installation, first setup and the frequently asked questions. The detailed instructions are on these pages:
- AnalyticsEasy: Features Reference, Pro and Troubleshooting: The AnalyticsEasy features reference, Pro upgrade setup, advanced configuration, best practices, and answers to common tracking problems. Covers Features reference, What Pro adds, Setting up Measurement Protocol (Pro), Setting up consent-safe tracking (Pro), Setting up Google Ads conversions (Pro), Advanced configuration, Tips & best practices, Troubleshooting.
Installation
Bought on Adobe Commerce Marketplace? Your purchase comes with a Moogento account: set your password from the activation email, then follow the steps below with the Composer keys and licence key in My Plugins. If the email has not arrived, contact Moogento support.
Prefer a hands-off setup? Our team can install and configure the extension for you - see the paid install service.
Installing AnalyticsEasy (free)
AnalyticsEasy installs via Composer. Follow the access and licensing instructions for the channel where you obtained it, then verify tracking in a test store view.
Step 1: Set up Composer access
The free AnalyticsEasy module does not require a Moogento license key.
- Sign in at https://www.moogento.com and open My Plugins in your account menu.
- Find AnalyticsEasy in the list of plugins you own.
- Generate (or reveal) the Composer access keys for that plugin - a public key and a private key.
- Add your install domain to the key. Each Composer key is tied to a specific domain - if you're installing on
yourstore.com, addyourstore.comto the key's allowed domains. The Composer download will be rejected on any other domain.
If you run staging and production on different domains, add both - separate keys per environment are fine too.
Step 2: Install the module with Composer
From your Magento 2 root directory:
composer require moogento/m2-analyticseasy
When Composer asks for credentials, paste the public key as the username and the private key as the password. They'll be cached in ~/.composer/auth.json for future runs.
Step 3: Enable the module in Magento
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:clean
If you run php bin/magento module:status Moogento_Analyticseasy you should see it listed as enabled.
Step 4: Configure the free module
AnalyticsEasy is free and does not require a Moogento license key. Configure GA4 and GTM under Stores > Configuration > Moogento > AnalyticsEasy after enabling the module. AnalyticsEasy Pro is a separate paid module with its own entitlement.
Installing AnalyticsEasy Pro (upgrade)
Follow the same Composer setup with the AnalyticsEasy Pro package moogento/m2-analyticseasypro. Both modules can coexist on the same install. Pro requires a valid Moogento AnalyticsEasy Pro license to unlock its paid settings. For a direct Moogento purchase, copy the Pro key from My Plugins, add your install domain, and enter the key under Stores > Configuration > Moogento > License. For a Marketplace purchase, check your Moogento account for an issued entitlement and contact support if it is missing. Then configure tracking in the Pro settings; the free module's General config displays an informational notice.
Setup overview
Most setup happens in:
Stores > Configuration > Moogento > AnalyticsEasy
(Or Stores > Configuration > Moogento > AnalyticsEasy Pro if Pro is installed.)
You'll mainly work with:
- General - enable or disable the module globally
- GTM (Google Tag Manager) - account and container IDs, head/body code snippets, and the container JSON generator
- GA4 (Google Analytics 4) - measurement ID, debug mode, and data points (which product and customer dimensions to track)
- Ads (Google Ads) - sitewide tag, conversion tracking, and remarketing (Pro features)
Common setups
Connect GA4 to your store
Send purchase data to Google Analytics 4 after configuring AnalyticsEasy and your GA4 tag. To measure page views, configure a separate GA4 page-view tag in Google Tag Manager or enable the generated container's paused page-view tag.
How to set it up
-
Go to: Stores > Configuration > Moogento > AnalyticsEasy > General
Set:
- Enable: AnalyticsEasy = Yes
Save Config.

-
Go to: Stores > Configuration > Moogento > AnalyticsEasy > GA4 (Google Analytics 4)
Set:
- Measurement ID = your GA4 property's Measurement ID (format:
G-XXXXXXXX)
Save Config.

- Measurement ID = your GA4 property's Measurement ID (format:
-
Run
php bin/magento cache:cleanto ensure the tracking code reaches the storefront.
Notes
- Find your Measurement ID in Google Analytics under Admin > Data streams > (your stream) > Measurement ID.
- The field validates the
G-prefix - the config won't save if the format is wrong. - If you use Full Page Cache (Varnish or Magento built-in), flush it after saving so the new code is served immediately.
Connect Google Tag Manager
Use GTM to manage third-party tags (chat widgets, advertising pixels, heatmap tools) without deploying code changes to Magento each time. AnalyticsEasy populates the data layer; GTM reads it.
How to set it up
-
Go to: Stores > Configuration > Moogento > AnalyticsEasy > GTM (Google Tag Manager)

-
Set:
- GTM: Account ID = the numeric account ID from your GTM account admin (e.g.
1234567) - GTM: Container - GTM ID = the container's public ID (format:
GTM-XXXXXXX) - GTM: Container - ID = the numeric container ID from the GTM admin URL (e.g.
987654321) - GTM: <head> code = the GTM snippet from GTM admin > Container > Install Google Tag Manager > <head> section
- GTM: <body> code = the corresponding <body> snippet
- GTM: Account ID = the numeric account ID from your GTM account admin (e.g.
-
Save Config.
-
To generate a pre-built GTM container (tags, triggers, variables for GA4 ecommerce):
- Save Config first if you've made changes.
- Click Generate Container JSON (the button in the GTM section of the config page).
- Download the JSON file.
- In GTM: Admin > Container > Import Container, choose the file and select Merge (not Replace) to preserve your existing tags.
Notes
- The Account ID and Container IDs are used to populate the data layer's metadata - they are separate from the GTM snippet code itself.
- If you are using AnalyticsEasy primarily for GTM (and managing GA4 tags inside GTM), you do not need to enter a Measurement ID in the GA4 section.
- Merging (rather than replacing) the imported container protects any tags you've already built.
Tune which product data goes into analytics
Control exactly what product information appears in GA4 item arrays - useful when you want brand, variant, or customer group data in your reports.
How to set it up
-
Go to: Stores > Configuration > Moogento > AnalyticsEasy > GA4 (Google Analytics 4) > Data Points

-
Set the options relevant to your store:
- Select Product Identifier - choose SKU, product ID, or another attribute as the item ID sent to GA4
- Prices including tax - set to Yes if your store displays prices inclusive of tax and you want analytics to match
- Category - which category level to send (child category by default); more options available with Pro (Pro)
- Brand, Stock status, Variant - enable the dimensions you want to appear in GA4 item reports (Pro)
- Track customer: User ID and Track customer: Group - send logged-in customer data for cross-device attribution (Pro)
-
Save Config and run
php bin/magento cache:clean.
Notes
- The product identifier you choose appears as
item_idin GA4. SKU is generally recommended for consistent cross-channel reporting. - Pro-only fields (Brand, Variant, Stock status, custom attributes, customer tracking) are visible in the config but require an AnalyticsEasy Pro license to activate.
AnalyticsEasy Pro (upgrade)
AnalyticsEasy Pro extends the free module with server-side GA4 Measurement Protocol tracking, a richer data points set, full Google Ads conversion management, and cross-module attribution for other Moogento features. When Pro is installed, its config lives at Stores > Configuration > Moogento > AnalyticsEasy Pro.
- What Pro adds
- Setting up Measurement Protocol (Pro)
- Setting up consent-safe tracking (Pro)
- Setting up Google Ads conversions (Pro)
FAQs
How do I set up GA4 ecommerce tracking in Magento 2?
Install AnalyticsEasy, enable it under Stores > Configuration > Moogento > AnalyticsEasy > General, then enter your GA4 Measurement ID (format: G-XXXXXXXX) in the GA4 section to configure purchase tracking. Set up a separate GA4 page-view tag if you also want page-view reporting. See Connect GA4 to your store for the full step-by-step.
Why are my GA4 purchase events not showing up?
Confirm the module is enabled, the Measurement ID is correctly formatted, and your storefront cache has been cleared after saving config. Cookie consent blocking analytics cookies is the other common cause - ensure consent is granted before the checkout success page loads.
Can I use AnalyticsEasy with Google Tag Manager instead of direct GA4?
Yes. Enter your GTM Account ID, Container GTM ID, and head/body snippets in the GTM section, and AnalyticsEasy will populate the data layer for GTM to read. Use the built-in container JSON generator to import pre-built GA4 ecommerce tags directly into GTM. See Connect Google Tag Manager.
How do I stop GA4 from counting events twice when using GTM?
If you have a GA4 Configuration tag inside GTM and also enter a Measurement ID in AnalyticsEasy, events are sent twice. Choose one path: either use the direct Measurement ID (and remove the GA4 tag from GTM) or use GTM exclusively (and leave the Measurement ID blank in AnalyticsEasy). See Advanced configuration for guidance.
Does AnalyticsEasy send prices with or without tax?
You control this with the Prices including tax toggle in Stores > Configuration > Moogento > AnalyticsEasy > GA4 > Data Points. Set it to match how your storefront displays prices so analytics revenue figures align with what customers see.
What is the GTM container JSON generator and when should I use it?
The free generator creates a ready-to-import GTM container file with tags, triggers, and built-in variables for GA4 ecommerce tracking. The separate Pro export also adds mapped data layer variables. Use it when setting up GTM from scratch - import it into GTM (Admin > Container > Import Container) using the Merge option to avoid overwriting your existing tags.
Does AnalyticsEasy work with Hyvä, Luma, and Porto themes?
Yes. AnalyticsEasy injects tracking code through Magento's standard layout XML system and is compatible with Luma, Porto, and Hyvä themes.
What happens when I disable AnalyticsEasy?
Disabling the module (setting Enable to No) removes all tracking code from the storefront immediately after a cache clear - no GTM snippets, no GA4 script tags, and no conversion events are sent. Your GTM container configuration and GA4 property remain untouched; they simply receive no data until the module is re-enabled.
Which features require AnalyticsEasy Pro?
Google Ads sitewide tag, conversion tracking, and remarketing all require an AnalyticsEasy Pro license. Several data point options (brand, variant, stock status, custom product attributes, customer ID, and customer group tracking) are also Pro features. Measurement Protocol (server-side GA4 tracking) and Moogento attribution tracking are Pro-only. The upgrade link is visible next to each Pro field in the admin config.
What does upgrading to AnalyticsEasy Pro add?
Pro adds server-side GA4 Measurement Protocol tracking (so events reach GA4 even when browsers block JavaScript), richer data points (brand attribute, stock status, variant, two custom product attributes, customer User-ID, customer group), a dedicated Google Ads Conversion ID field with zero-total-order exclusion, a remarketing conversion label field, and Moogento attribution tracking that maps SmartListings boosts, HelloCustomer campaigns, GiftEasy gift cards, and NotifyMe alerts to the purchases they drove. Pro also adds a GTM "Skip customer pages" option and a Measurement Protocol Validation mode for pre-launch testing.
How do I send GA4 events even when customers block cookies or use an ad-blocker?
Upgrade to AnalyticsEasy Pro and enable Measurement Protocol under Stores > Configuration > Moogento > AnalyticsEasy Pro > GA4 > Measurement Protocol. Pro sends selected events directly from your Magento server to GA4, bypassing browser-side limitations like ad-blockers. You need a GA4 API secret from your data stream settings to activate it. Note: if you also enable consent-safe tracking, storefront Measurement Protocol respects the shopper's choice and only sends after acceptance.
Does AnalyticsEasy Pro track conversions from other Moogento modules like SmartListings or HelloCustomer?
Yes - when Measurement Protocol is enabled, the Track Moogento attribution events toggle (on by default) forwards campaign_details GA4 events whenever a SmartListings boost, HelloCustomer campaign, GiftEasy gift card, or NotifyMe alert drives a sale.
How much does AnalyticsEasy cost?
AnalyticsEasy is free and does not require a Moogento license key. AnalyticsEasy Pro is a separate paid module with its own plan and installation steps.
Related guides
- SmartListings - category merchandising module that emits Moogento attribution events tracked by AnalyticsEasy Pro's Measurement Protocol integration
- HelloCustomer - customer engagement campaigns; attribution tracked by AnalyticsEasy Pro
- GiftEasy - gift card module; gift card usage attribution tracked by AnalyticsEasy Pro
- NotifyMe - back-in-stock alerts; conversion attribution tracked by AnalyticsEasy Pro
- SmartCart - recommendation engine; impression and add-to-cart events tracked automatically by AnalyticsEasy Pro via Measurement Protocol
Need help?
- moo@moogento.com
- Include:
- Magento version
- Module name
- What you're trying to do
