Powered by Adobe Commerce 2.4.9

googleanalytics-dark.png

Google Analytics

This is an Integration with a Third Party Service. Other charges and fees may be required to use this extension on your Store
PRODUCT:
0
TOTAL:

Trader Information

Back to top

Overview

Back to top

Google Analytics 4 (GA4) is Google's free analytics service. It shows store owners where visitors come from, what they browse, and which visits turn into sales.

Samdoit Google Analytics 4 gives your Magento 2 store a working GA4 setup without editing theme files or pasting tracking snippets. Enter your GA4 Measurement ID in the Magento admin, and the extension:

  • Adds the official Google tag (gtag.js) to every page of your store.
  • Records a page view for each page a visitor opens.
  • Sends a GA4 purchase event when an order is placed, with order total, tax, shipping, currency and the products bought.
  • Sends a view_item_list event on category pages, so you can see which categories shoppers browse.

Purchase data lands in GA4's standard ecommerce reports. You can see revenue, conversion rate and best-selling products next to your traffic and campaign data.

The extension respects Magento's cookie consent setting. When Cookie Restriction Mode is on, no tracking runs until the visitor accepts cookies.

Features

  • Quick setup: enable the extension and enter your Measurement ID. Most stores are tracking within 10 minutes.
  • Direct GA4 integration: uses Google's own gtag.js. There's no Google Tag Manager container to set up.
  • Purchase tracking: transaction ID, revenue, tax, shipping, currency and line items are sent for every order.
  • Multishipping support: each order from a multi-address checkout is sent to GA4 as its own transaction.
  • Category page tracking: category views are sent as view_item_list events.
  • Multi-store and multi-currency: set a different Measurement ID per website or store view. Orders are reported in the currency the customer paid in.
  • Cookie consent aware: works with Magento's built-in Cookie Restriction Mode.
  • CSP ready: includes the Content Security Policy whitelist entries Google's tag needs, so it works with Magento's CSP module.

Events Tracked

EventFreeGoogle Analytics 4 PlusPage view (page_view)✓✓Purchase (purchase)✓✓Category product list (view_item_list)✓✓View product (view_item)✓View cart (view_cart)✓Begin checkout (begin_checkout)✓Add to cart (add_to_cart)✓Remove from cart (remove_from_cart)✓Add to wishlist (add_to_wishlist)✓Sign in (login)✓Create an account (sign_up)✓Search (search)✓

Need the full shopping journey? Upgrade to Google Analytics 4 Plus.

Benefits

  • Save setup time: no developer needed to add or maintain tracking code.
  • Measure what matters: see revenue and conversion rate by traffic source and campaign.
  • Spend smarter: find out which marketing channels bring in paying customers.
  • Stay compliant: tracking waits for cookie consent when your store requires it.

Account & Pricing

  • The extension is free.
  • Google Analytics 4 is a free service from Google.
  • You need your own Google Analytics account. It is not created when you install the extension.
  • Get your Measurement ID (for example G-XXXXXXXXXX) from Google Analytics › Admin › Data Streams › your web stream.

Technical Specifications

Back to top

Seller profile

Samdoit Infotech

Seller contact

E-mail

Integrator

Google Analytics

Current Version

1.1.2

Adobe Commerce platform compatibility

Magento Open Source: 2.4 (current)

Type

Stable Build

Updated

11 November, 2026

Categories

Extensions, Reporting & Analytics

Documentation

Installation Guides

User Guides

License Type

Open Software License 3.0 (OSL-3.0)

Policy

Privacy Policy

Quality Report

Back to top

Installation & Varnish Tests

Passed

Coding Standard

Passed

Plagiarism Check

Passed

Malware Check

Passed

Marketing Review

Passed

Manual Testing

Passed

All tests were conducted on the latest versions of Adobe Commerce that existed for the compatible release lines at the moment of the extension submission. Latest versions of all other software were used, as applicable.

Release Notes

Back to top

1.1.2:

  • Compatible with Magento Open Source : 2.4
  • Stability: Stable Build
  • Description:

    Compatible with Magento Open Source / Adobe Commerce 2.4.6 or later
    PHP 8.2, 8.3, 8.4 and 8.5
    Added PHP 8.5 support.
    Fixed multishipping checkout: each order is now sent to GA4 as its own purchase event, with its own items and currency. Before, only the first order was sent, carrying every order's items.
    Fixed revenue, tax, shipping and price being sent to GA4 as text instead of numbers. Totals of 1,000 or more were sent with a thousands separator.
    Fixed product, category and store names with quotes or apostrophes being sent to GA4 with extra backslashes.
    Fixed a JavaScript error that stopped all tracking when the cookie consent value couldn't be read.
    Fixed the admin Events list, which wrongly said related, up-sell and cross-sell products were tracked.

1.1.1:

  • Compatible with Magento Open Source : 2.4
  • Stability: Stable Build
  • Description:

    * Bug fixing
    * Added View Product List on category page, related/up-sell/cross-sell products (view_item_list)

1.0.2:

  • Compatible with Magento Open Source : 2.4
  • Stability: Stable Build
  • Description:

    * Product identification added
    * Bug Fix

1.0.1:

  • Compatible with Magento Open Source : 2.4
  • Stability: Stable Build
  • Description:

    Stable Release

Support

Back to top

The best place to start if you need help with a specific extension is to contact the developer. All Adobe Commerce developers have both a contact email and a support email listed.

Contact Vendor

Q & A

Back to top

Reviews

Back to top