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

★ ★ ★ ★ ★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.

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
More info

Compatibility

Prestashop 1.7.0 - 9.2

Tested compatibility

Version

1.2.3

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
  • 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 doesn’t, and can adapt your actions to what your audience wants.

Add e-commerce events to your online store to get the most out of your Google Analytics 4 reports.

The module uses the dataLayer to report the information from every page visited to GA4.

The module automatically records the 40+ predefined events, with their parameters, that are triggered by basic interactions with your website:

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

See all events:

https://support.google.com/analytics/answer/9234069

The module also records additional custom e-commerce events, with no complex technical implementation required:

  • purchase (purchase completed)
  • begin_checkout (checkout started)
  • add_to_cart (a product is added to the cart)
  • view_cart (the cart is displayed)
  • view_item (a product is shown to the user)
  • view_item_list (a product list is shown to the user)

Follow the steps below to create your Google Analytics 4 property.

  • In Google Analytics, click Admin.
  • In the Account column, make sure the right account is selected.
  • In the Property column, select the Universal Analytics property that currently collects data for your website.
  • In the Property column, click GA4 Setup Assistant. It is the first option in the Property column.
  • Click Get started under “I want to create a new Google Analytics 4 property”.
  • Click Create property.

Analytics then creates your new Google Analytics 4 property, copying basic settings such as the property name, URL, time zone and currency from your Universal Analytics property.

This module is designed for users who currently use Universal Analytics and want to migrate to Google Analytics 4. So before following these steps, make sure you have your Universal Analytics account.

By default, the module records Google Analytics 4 events. If you want to enable additional features such as standard Google Analytics and Google Ads, the user must give their consent, so we recommend adding a mechanism, such as a cookie module, that lets users accept the additional measurement cookies.

Frequently asked questions

Which PrestaShop versions does the Línea Gráfica Google Analytics 4 module work with?

It works with PrestaShop 1.7, 8 and 9 (up to 9.2, the latest version) and is compatible with the Hummingbird theme. It adds the GA4 gtag with your measurement ID, you set it up without touching any code, and its settings include a debug mode.

Is it compatible with Google Consent Mode v2?

Yes. It is compatible with Consent Mode v2 and integrates with LG Cookies Law, the Línea Gráfica cookie module. If you use a different cookie manager, the module denies consent by default. You configure everything from the module, with no code changes.

Which ecommerce events does it send to GA4?

The Línea Gráfica module sends the view_item_list, select_item, view_item, add_to_cart, remove_from_cart, view_cart, begin_checkout, add_shipping_info and purchase events, plus sign_up and login. Each event has its own toggle in the settings, so you can turn it on or off on its own.

You may also like