GA4 Event Implementation on Popular Ecommerce Platforms

By Matija Konjic April 24, 2026 July 17, 2026 (updated) 7 min read
GA4 Event Implementation

GA4 event tracking doesn’t work the same way on every ecommerce platform. What takes a few minutes on Shopify might take an afternoon on Magento. And if the setup is wrong, the data you collect won’t reflect what’s actually happening in your store which means making decisions based on numbers you can’t trust.

In here we cover how GA4 event tracking works on Shopify, WooCommerce, Magento/Adobe Commerce, and BigCommerce. For each platform, we explain how the connection works, what gets tracked automatically, and where you’ll need to step in manually.

 

What GA4 Event Tracking Actually Does

GA4 records user actions as events. Every page view, product click, cart update, and purchase fires an event with data attached item names, prices, quantities, transaction IDs. That data feeds your reports, audience segments, and conversion tracking in Google Ads.

Unlike Universal Analytics, GA4 does not collect ecommerce data automatically. You need to push the right values through a data layer, or use a platform integration that does it for you. How much work that takes depends entirely on which platform you are running.Shopify

Shopify has a native Google & YouTube channel app that connects your store to GA4. Once installed, it sends basic events automatically page views, sessions, and purchases from the order confirmation page.

The limitation is that the native integration does not cover the full ecommerce event set GA4 expects. Events like view_item, add_to_cart, begin_checkout, and remove_from_cart are not included out of the box. To track those, you need to add custom JavaScript to your theme or use a third-party app like Elevar or Littledata that pushes a proper data layer. For marketing teams who need accurate funnel data not just purchase counts the native integration usually is not enough. You need the full event set to see where shoppers drop off between the product page and payment.

One thing to check: Shopify’s checkout runs on a subdomain. If your GA4 configuration does not account for that, sessions can break at checkout, inflating your session count and skewing attribution.

WooCommerce

WooCommerce runs on WordPress, which means more control over implementation but also more responsibility. There is no built-in GA4 integration. You will need a plugin.

The most widely used options are Google Site Kit and dedicated ecommerce tracking plugins like WooCommerce Google Analytics Pro or Pixel Your Site. Site Kit connects quickly but offers limited ecommerce event coverage. The dedicated plugins give you more control over which events fire and what data they carry. For a proper setup, you want events firing for view_item_list, select_item, view_item, add_to_cart, begin_checkout, and purchase. Most paid plugins handle this. Free options often miss one or two events, leaving gaps in your funnel data.

WooCommerce stores with custom checkout flows or page builders sometimes break standard plugin tracking. If your checkout has been modified, test every step in GA4’s DebugView before assuming the data is correct.

OpenCart

OpenCart does not have a native GA4 integration. To connect your store, you will need an extension from the OpenCart marketplace or a manual GTM implementation.

The most common route is a GTM-based setup. You install a GA4 or GTM extension, which adds the container snippet to your store’s header and footer, then configure your tags and triggers inside GTM. Extensions like GA4 for OpenCart by OpenCartQuality or similar marketplace options handle the data layer side pushing events like view_item, add_to_cart, and purchase through to GA4. The quality of these extensions varies, so check that the one you use covers the full ecommerce event set and is actively maintained for your OpenCart version.

OpenCart’s extension ecosystem is fragmented compared to WooCommerce or Shopify. If your store runs an older version (3.x vs 4.x), some extensions will not be compatible, and you may need a developer to patch the data layer manually. Before committing to any extension, confirm it supports your exact OpenCart version and test it in DebugView across the full purchase path product page through order confirmation.

Magento / Adobe Commerce

Magento gives you the most flexibility of any platform here, but it requires the most work. There is no official Google-maintained GA4 extension. Adobe has released a Data Connection extension as part of the Commerce Intelligence suite, but it is tied to Adobe’s broader ecosystem and is not a practical standalone GA4 solution for most teams.

The most common path for Magento stores is to implement a Google Tag Manager data layer through a third-party extension. Options like Hyvä Google Tag Manager or MagePal’s GTM module push ecommerce events into the data layer, which GTM then uses to send data to GA4. This takes more setup time, but it gives you full control over what gets tracked and how. For marketing teams at larger Magento stores, that control is usually worth it you can track custom events, loyalty program actions, and B2B-specific behavior that simpler tools would not cover.

Be aware that Magento’s structure varies between versions (2.3 vs 2.4) and between Luma-based themes and headless setups. What works for one store may not work for another. Test the full purchase path carefully before going live.

BigCommerce

BigCommerce has a built-in Google Analytics integration under its Marketing settings. It passes purchase data and basic site metrics through to GA4, but like Shopify’s native integration, it does not fire the full ecommerce event set.

For teams that need detailed funnel tracking, BigCommerce works well with Google Tag Manager. You can add a GTM container through the Script Manager without modifying the theme. From there, you push a data layer through custom scripts or a third-party app like Sweet Analytics for BigCommerce. BigCommerce’s storefront APIs also make custom event tracking possible if your team has developer support, but for most marketing teams, GTM with a reliable data layer script is the most practical route.

One advantage BigCommerce has over Shopify is that its checkout is less prone to cross-domain session issues. Still, verify that your GA4 measurement ID fires correctly on the order confirmation page that is where purchase events need to land, and it is easy to miss.

Wrapping Up

Each platform handles GA4 event tracking differently, and the gap between “connected” and “fully tracking” is easy to underestimate. Shopify and BigCommerce offer quick native connections that cover purchases but miss most of the funnel. WooCommerce depends heavily on which plugin you choose. Magento gives you full control but requires more setup from the start.

The right starting point on any platform is to map out which events matter for your reporting, then check whether your current setup is actually firing them. GA4’s DebugView lets you watch events come in live as you browse your own store. If add_to_cart or begin_checkout are not showing up, that is a gap worth closing before you draw any conclusions from your funnel data.

M

Written by

Matija Konjic

Ecommerce expert and content writer at Ecommerceviews.