You have no items in your shopping cart.

Google Analytics 4 (GA4) Server Side

Configure GA4 with the Measurement Protocol
$49.00 excl tax

Server-Side GA4 Event Tracking via the Measurement Protocol

This plugin sends Google Analytics 4 e-commerce events from the nopCommerce server through the Measurement Protocol, so tracking does not depend on client-side JavaScript running in the browser. It covers product views, cart and wishlist changes, checkout steps, search, login/sign-up, and purchase and refund reporting.

What It Does

  • Full event coverage — sends view_item, view_item_list, view_cart, begin_checkout, add_shipping_info, add_payment_info, purchase and refund events
  • Cart and wishlist events — fires add_to_cart, remove_from_cart, add_to_wishlist and remove_from_wishlist on item changes
  • Search and account events — a search event with search_term, plus login and sign_up events
  • Configurable purchase trigger — fire the purchase event on OrderPlaced or OrderPaid, with automatic refund on cancellation or deletion
  • Flexible revenue and item identifiers — report OrderTotal, SubTotal or NetProfit, and identify items by Id, SKU, GTIN or ManufacturerPartNumber
  • Transaction identifier choice — send OrderId or OrderNumber as the GA4 transaction_id
  • Enhanced Conversions — SHA-256 hashed user_data (email, phone, name, address) sent with events for Ads matching
  • First-party tag serving — an optional First-Party Tag Server URL used as the gtag.js host and transport_url
  • Multi-currency and tax control — report values in the customer's currency and toggle tax inclusion
  • Debug mode and logging — a GA4 debug_mode parameter plus a downloadable and clearable admin log file
  • Per-store overrides — most settings can differ per store in a multi-store installation
  • Batched delivery — queued events upload to the Measurement Protocol in batches of up to 25, with a 10-second timeout and one retry on failure

How It Works

  1. Enter the GA4 Measurement ID and Measurement Protocol API Secret in the plugin settings.
  2. Choose the product key, transaction key, purchase trigger, revenue value and tax/currency options.
  3. gtag.js loads client_id and session_id, stored in cookies or session as a fallback.
  4. Storefront actions such as views, cart changes, checkout steps, search and login queue GA4 events.
  5. A global action filter uploads the queued events to the Measurement Protocol in batches after each response.
  6. Order payment or placement triggers the purchase event; cancellations and deletions trigger a refund event.

Specs & Requirements

  • nopCommerce — 5.00, 4.90, 4.80, 4.70, 4.60, 4.50, 4.40, 4.30
  • Plugin type — Misc plugin that also registers as a widget to load the gtag.js helper script
  • Requires — a Google Analytics 4 property with a Measurement ID and Measurement Protocol API Secret
  • Integrations — an optional Google Tag Gateway / first-party tag server for serving gtag.js from the store's own origin

Powered by nopCommerce

Copyright © 2026 FoxNetSoft. All rights reserved.