Magento and Ga4 Tracking

I occasionally get asked about Magento Tracking. I turn all these jobs down though as the simplest and most cost effective way is to install a plugin. There are many plugins out there and I don’t have the ability to analyse them, so I asked o3 for it.


5 Reliable GA4 Extensions for Magento 2

1. Meetanshi – Google Analytics 4

  • Where to get it: Adobe Marketplace or meetanshi.com
  • Highlights
    • One-click setup wizard
    • Pre-mapped GA4 Enhanced E-commerce events
    • DebugView & test-mode toggle
  • GTM required? Yes (uses Google Tag Manager)
  • Pricing: from ~ €90 (lifetime license, free updates)

2. MagePal – Google Analytics 4 for GTM

  • Where to get it: magepal.com
  • Highlights
    • Fires every GA4 standard & recommended event
    • Lightweight module with data-layer helpers for custom events
  • GTM required? Yes
  • Pricing: commercial one-time fee; free minor version updates

3. Mageplaza – Google Analytics 4

  • Where to get it: mageplaza.com
  • Highlights
    • Two modes: “Direct to GA4” or “via GTM”
    • Step-by-step onboarding wizard
    • Tracks coupon & promo codes out of the box
  • GTM required? Optional
  • Pricing: Community Edition free; Pro version adds advanced reports

4. Anowave – GA4 Enhanced E-commerce

  • Where to get it: anowave.com
  • Highlights
    • Complete GA4 event list—including view_promotion / select_promotion
    • Separate compatibility module for Hyvä themes
  • GTM required? Yes
  • Pricing: commercial; supports Magento 2.3 → 2.4

5. Amasty – Google Tag Manager / GA4

  • Where to get it: amasty.com
  • Highlights
    • Pre-built GTM container & GA4 tag templates
    • Built-in cookie consent / GDPR helper
  • GTM required? Yes (bundled)
  • Pricing: from ~ €139 (includes GTM extension)

Quick Decision Guide

If you…Best pick
Already run Google Tag ManagerMagePal, Meetanshi, Anowave, or Amasty drop straight into your container.
Don’t use GTM (and don’t want to yet)Mageplaza can send events directly to GA4 and lets you switch to GTM later.
Use a Hyvä or PWA themeAnowave ships a dedicated Hyvä-compatible add-on; Meetanshi lists PWA Studio support.
Need a free optionMageplaza Community Edition covers all core events.
Prefer “set-and-forget” wizardsMeetanshi and Amasty guide you through configuration with detailed UI helpers.

How to Install (Composer Example)

# Example: Meetanshi GA4 module – swap the package name for your chosen vendor
composer require meetanshi/module-google-analytics-4
bin/magento module:enable Meetanshi_GoogleAnalytics4
bin/magento setup:upgrade
bin/magento cache:flush
  1. Paste your Measurement ID (or GTM container ID) in Stores → Configuration → Sales → Google API
  2. Clear full-page & browser caches.
  3. Open GA4 DebugView, place a test order, and confirm events before switching the data stream to “production”.

Final Tips

  • Duplicate Filtering: GA4 auto-deduplicates server-side purchase events if they share the same transaction_id. Make sure the extension sets this correctly—usually your Magento order increment ID.
  • Enhanced Conversions: Pair GA4 events with Google Ads Enhanced Conversions for more accurate ROAS.
  • GDPR Compliance: If you serve customers in the EU, enable consent mode or cookieless pings (supported by Amasty & Mageplaza).

Bottom line: Upgrading to GA4 is easiest when you let an extension handle the data layer. Whether you’re after a free community solution or a fully-featured commercial bundle, one of the five modules above will have you collecting purchase data—and making smarter marketing decisions – in under an hour.

There is no point in hiring a Google Analytics consultant to do this for you. Just buy a plugin and it will work. Its not easy turning down work but in this case, I can add nothing to process. I may as well give my advice and wish people luck.

Bonus Extension.

For a complete solution that bypasses browser-side limitations, WeltPixel’s GA4 & Social Marketing Suite PRO for Magento 2 provides full server-side tracking via the Google Measurement Protocol—not the commonly misrepresented “server-side” GTM variant sold by agencies.

This extension ensures 100% conversion capture by transmitting event data directly from the server to GA4, Meta, TikTok, Reddit, and Google Ads, unaffected by ad blockers, iOS tracking restrictions, or browser consent settings. It includes automated Meta CAPI integration, real-time refund sync, privacy-compliant consent handling, and multi-channel attribution support. This is the only Magento-native solution with enterprise-grade, server-to-server tracking built for accuracy and scale. Watch out for cookie compliance but if you are in a geo that doesn’t need it, then you can get 100% accuracy,

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *