Google Tag Manager and GA4 events

Price: $49.99 Net
$49.99 Gross*

* Companies established in another EU country with a valid EU VAT number will not be charged VAT.

Connect a Google Tag Manager container and send product, cart and purchase data to dataLayer. The module prepares ecommerce events for GA4 and Google Ads tags configured in GTM.

your store domain

Module installation service

PrestaShop module demo: demo.prestaaddons.com
Want to test the configuration in the admin panel? Contact us
- we will provide access to the demo store administration panel on request.

Connect your Google Tag Manager container

Enter a container ID such as GTM-XXXXXXX and enable the module. It adds GTM code and pushes events to dataLayer. Choose PrestaShop ID, SKU or EAN-13 as the product identifier and select whether price data includes tax.

Configure GA4 tags, variables and triggers in Google Tag Manager. The module does not create an Analytics account or container for you.

Product views and product lists

view_item describes the product being viewed, including its name, identifier, price and currency, plus brand and category when available. view_item_list passes the displayed products with their positions and list name.

Supported views include categories, search, manufacturers, suppliers, best sellers, new products and price reductions. page_view includes the page type for use in your GTM rules.

Adding and removing cart items

The module listens to standard PrestaShop cart events. add_to_cart records a product addition and remove_from_cart records a removal. The payload includes items, quantities, value and currency.

Adding from the product page works without a reload. Check the actual data flow when using a custom cart, product-list purchase buttons or a custom theme.

Cart views and checkout entry

view_cart passes the contents of the opened cart. begin_checkout signals entry into checkout. Both events include products with quantities, cart value and currency.

Use these events to analyse the move from cart to checkout. The module does not add separate shipping-selection or payment-selection events. Configure the reporting tags in GTM.

Purchase and transaction details

On order confirmation, the module prepares purchase with the order reference, currency, total amount, tax, shipping cost and items. The total comes from the order; account for its treatment of tax and shipping when mapping reporting values.

A localStorage record limits repeat sends by this module when the confirmation page is refreshed in the same browser. It does not suppress events from other integrations. Google Ads conversion tracking requires its own tag and conversion action.

Working with cookie consent

With PrestaSoft Cookie Consent enabled, the GTM container waits for analytics or advertising consent. It reads saved preferences and listens for consent updates. With an older banner that does not emit this update event, consent is read on the next page load.

Data can already exist in dataLayer before the container loads. Configure consent requirements for individual tags in GTM. Verify the setup in GTM Preview and GA4 DebugView, including the refusal path.

Prestashop 1.6.x
Prestashop 1.7.x
Prestashop 8.x
Prestashop 9.x
Prestashop thirty bees

License for 1 domain.

12 months of technical support.

For a one-time purchase of multiple licenses, individual discounts are available - please contact us.

1.1.1
  • Add-to-cart events from product pages use the view_item event ID and price, according to the settings.
  • Improved reading of products presented as ArrayAccess: names, identifiers and prices in the view_item and view_item_list events.
  • Fixed reading of ID, SKU and EAN of products from order items in the purchase event.
1.1.0
  • Delayed loading of the GTM container until analytics or advertising consent is granted in the Cookie Consent module.
  • Disabled the noscript GTM variant when consents are managed by the Cookie Consent module.
1.0.0
  • First release of the module.
  • Google Tag Manager integration module with full GA4 ecommerce event tracking.

Questions & Answers

No questions yet. Be the first to ask!

Ask a question about this product

Optional - to receive notification when answered
Minimum 10 characters
Loading...
Back to top