PrestaShop Google Analytics 4 (GA4) module with e-commerce events and Consent Mode v2
Module configuration: Google Analytics 4 measurement ID in PrestaShop
GA4 e-commerce event switches: purchase, begin_checkout, view_item and add_to_cart
PrestaShop Google Analytics 4 (GA4) module with e-commerce events and Consent Mode v2
Module configuration: Google Analytics 4 measurement ID in PrestaShop
GA4 e-commerce event switches: purchase, begin_checkout, view_item and add_to_cart
PrestaShop Google Analytics 4 (GA4) module with e-commerce events and Consent Mode v2
Module configuration: Google Analytics 4 measurement ID in PrestaShop
GA4 e-commerce event switches: purchase, begin_checkout, view_item and add_to_cart
lggoogleanalytics · EU Ready

PrestaShop Module Google Analytics 4 (GA4) – E-commerce Events & Consent Mode v2

Compatible with PrestaShop 1.7 · 8 · 9 (up to 9.2)
★ ★ ★ ★ ★5,0/5 · 1 reviews on PrestaShop Addons
Regular price
55,99€
Sale price
55,99€
Regular price

excl. VAT (67,75 € incl. VAT)

Buy now

Support and updates

One-time payment. The module is yours forever.

  • 6 months of support and updates included (12 months for €10 more)
  • Renew for 6 more months for €10 anytime from your client area
  • You have 15 days after the end date to renew at the same price
  • If you don't renew, you keep using the module and downloading versions released up to that date

Adds the Google Analytics 4 gtag tag with your Measurement ID and tracks your PrestaShop store's entire purchase funnel, with no coding required. Now also wishlists and refunds, which are deducted from your GA4 revenue automatically.

Ecommerce events

  • view_item_list, select_item and view_item
  • add_to_cart, remove_from_cart and view_cart
  • begin_checkout, add_shipping_info and purchase
  • Customer sign_up and login

Each event has its own on/off switch in the settings.

Consent

  • Compatible with Consent Mode v2
  • Denies consent by default if you use another cookie consent manager
  • Integrates with the LG Cookies Law module

Compatibility

  • PrestaShop 1.7, 8 and 9 (up to 9.2, the latest version)
  • Hummingbird theme
  • Debug mode in the settings
Want to know how much you earn on each product, not just how much you sell? See the PrestaShop sales and margin module, with the cost on the day of each sale and the price history. More info

Compatibility

Prestashop 1.7.0 - 9.2

Tested compatibility

Version

1.3.1

Developed by

Linea Gráfica

Free installation (tick it in the cart)
Official module verified by Prestashop
6 months of support and updates included · Extendable to 12 months for only €10
Demo Front Office Demo Back Office

Email demo@demo.com

Password demodemo

  • Adds the Google Analytics 4 gtag with your measurement ID, without touching any code
  • GA4 e-commerce events across the whole funnel: view_item_list, select_item, view_item, add_to_cart, remove_from_cart, view_cart, begin_checkout, add_shipping_info and purchase
  • add_to_wishlist with the PrestaShop Wishlist module, and refund: refunds and credit slips are deducted from your GA4 revenue from the server (Measurement Protocol)
  • Customer events: sign_up (registration) and login
  • Each event with its own switch in the configuration
  • Consent Mode v2: consent denied by default if you use another cookie manager (and it works with LG Cookies Law)
  • Compatible with PrestaShop 1.7, 8 and 9 (up to 9.2, the latest version), Hummingbird theme included

Better measurement means better strategies for your business: you will know what works and what does not, and you can adapt your actions to what your audience wants.

The module installs the official Google tag (gtag.js) on your PrestaShop store and sends e-commerce events with their parameters (products, prices, currency and order value) to Google Analytics 4 through the dataLayer, with no coding.

GA4 records its automatic and enhanced measurement events on its own, for example:

  • first_visit (first visit)
  • session_start (a session starts)
  • page_view (a page is displayed)
  • view_search_results (search results are displayed)
  • scroll (the user reaches the bottom of the page)

On top of that, the module sends the e-commerce events recommended by Google, which you can enable one by one in its settings:

  • view_item_list (a product list is displayed)
  • select_item (a product is selected from a list)
  • view_item (a product page is displayed)
  • add_to_cart (a product is added to the cart)
  • add_to_wishlist (a product is added to a wishlist, with the PrestaShop Wishlist module)
  • remove_from_cart (a product is removed from the cart)
  • view_cart (the cart is displayed)
  • begin_checkout (the checkout starts)
  • add_shipping_info (a carrier is chosen)
  • add_payment_info (a payment method is chosen)
  • purchase (completed order, sent only once per order)
  • refund (credit slips and refunded orders, sent from the server; needs the Measurement Protocol API secret of your data stream)
  • login and sign_up (customer login and registration)

Setup in 4 steps

  • In Google Analytics, go to Admin and create a Google Analytics 4 property (or use the one you already have).
  • In Data streams, add a Web stream with your store URL and copy the Measurement ID (it starts with G-).
  • In the module, paste the Measurement ID and tick the events you want to send.
  • Save and check in Reports > Realtime (or in DebugView) that the events arrive.

Google Ads: if you add your conversion ID (AW-…) and conversion label, the module sends the purchase conversion with its value, currency and order ID, only once per order.

Consent Mode v2: you can make consent start as denied (analytics and advertising) to comply with the GDPR. To update it when the visitor accepts cookies, your store needs a cookie banner or module compatible with Consent Mode.

Debug mode: enable the DebugView option to see live, in Google Analytics, every event your store sends while you set it up.

Frequently asked questions

Which Línea Gráfica module installs Google Analytics 4 on PrestaShop?

The Línea Gráfica Google Analytics 4 module adds the GA4 gtag tag with your Measurement ID, with no coding needed. It sends your store's ecommerce events, from product list views to purchase, and each event has its own on/off switch.

Which PrestaShop versions is the GA4 module compatible with?

It is compatible with PrestaShop 1.7.0 to 9.2, which covers versions 1.7, 8 and 9 (up to 9.2, the latest version) up to 9.2. It also works with the Hummingbird theme and includes a debug mode in the settings.

Which ecommerce events does it send to GA4?

It sends view_item_list, select_item, view_item, add_to_cart, remove_from_cart, view_cart, begin_checkout, add_shipping_info and purchase, plus sign_up when a customer registers and login when a customer signs in. You can turn each event on or off separately in the settings.

Does it respect cookie consent (Consent Mode v2)?

Yes. It is compatible with Consent Mode v2 and integrates with the LG Cookies Law module by Línea Gráfica. If you use a different cookie manager, the module denies consent by default. It works with PrestaShop 1.7.0 to 9.2.

You may also like