- Checkout funnel step tracking — detailed micro-steps (personal info, addresses, delivery, payment, order review) with MutationObserver
- User engagement tracking — scroll depth (25/50/75/90%) with IntersectionObserver and time on page (15s/30s/60s/120s)
- Cart abandonment tracking — fires cart_abandonment event when user leaves cart/checkout with items (visibilitychange + pagehide)
- Customer segmentation DataLayer variables: customer_email_hash (SHA256), customer_newsletter, customer_country, customer_age_days
- Admin Event Log Viewer — hidden AdminTab with HelperList showing purchase/refund event history with JSON payload viewer
- Container Export v2 — updated export with all 14 GA4 events + additional DataLayer variables (affiliation, tax, coupon, item_list, shipping_tier, payment_type, promotion)
- Granular Consent Mode v2 now uses per-signal defaults with wait_for_update:500
- Configuration switches for checkout steps, engagement tracking, and cart abandonment in E-commerce tab
- Configuration switches for customer segmentation in Custom DataLayer tab
- Link to Event Log Viewer in Debug & Export tab
Module features
- Automatic implementation of Google Tag Manager in PrestaShop, including the head and noscript code.
- Support for one or two GTM containers within a single store installation.
- Ability to specify a server-side GTM URL for first-party data collection.
- Support for 14 standard GA4 e-commerce events, including view_item, add_to_cart, begin_checkout, purchase, and refund.
- Additional events supporting user behavior analysis: search, search_no_results, page_error, checkout_progress, scroll_depth, time_on_page, and cart_abandonment.
- Configurable item_id: product ID, ID with variant, SKU, or EAN13, to match data with the Google Merchant Center feed.
- Extended product data in the DataLayer: brand, categories, variant, price, discount, availability, GTIN, and MPN.
- Custom DataLayer variables for segmentation, including page_type, customer_logged, customer_group, cart_value, hashed customer_id, email hash, country, newsletter, and customer account age.
- Built-in Google Consent Mode v2 with granular default signals for analytics_storage, ad_storage, ad_user_data, and ad_personalization.
- Detection of popular cookie consent solutions, including PD Cookie Pro, LGCookiesLaw, Axeptio, and Cookiebot, as well as a simple fallback banner when the external runtime is unavailable.
- Export of a ready-to-use GTM container with GA4 tags, triggers, and helper variables for Google Ads.
- Built-in debug panel and a signed link to preview the front office with active debug valid for 6 hours.
Benefits for your store
- Faster analytics implementation, because the module builds the data layer and container export without manually assembling everything in GTM from scratch.
- Better marketing data quality thanks to consistent e-commerce, checkout, promotion, remarketing, and refund events.
- Greater compliance with Google requirements thanks to support for Consent Mode v2, Enhanced Conversions, and Dynamic Remarketing.
- Easier diagnostics thanks to the event log, debug panel, and signed front-office preview.
- Greater implementation flexibility through support for a second GTM container, server-side GTM, and cross-domain tracking.
- Better readiness for advertising campaigns, because the module provides helpers for Google Ads, Meta, TikTok, and Pinterest.
- Safe operation in multistore, because key runtime, consent, and export settings are stored per store.
- Refund support — a refund can be queued after a credit slip is created. Optional server-side sending via Measurement Protocol requires automation configuration, Measurement ID, API Secret, preserved customer context, consent, and a CRON task.
Module functionalities
- Tracking of product pages, listings, cart, checkout, order confirmation, and 404 error pages.
- Support for add_shipping_info and add_payment_info events via AJAX based on the actual delivery and payment selection.
- Support for view_promotion and select_promotion for promotions, including a built-in scenario for the price promotions page and custom
data-pdgtmpro-promotionattributes. - Recording of login and sign_up events after customer authentication and registration.
- Support for add_to_wishlist based on click or a fallback hook for the wishlist module.
- Building remarketing payloads with google_tag_params and canonical helpers pdgtmpro_ads_event, pdgtmpro_ads_value, and pdgtmpro_ads_items.
- Passing user_data and enhanced_conversion_data payloads for Enhanced Conversions on purchase.
- Generating helper DataLayer variables for Meta Pixel, TikTok Events API, and Pinterest Tag.
- Normalization of the domain list for cross-domain tracking and storing it in the module configuration.
- Maintaining a purchase and refund event log in a dedicated table and automatically cleaning entries older than 90 days.
Link to the module demo:
Demo admin panel:
https://moduly-prestashop.eu/pdgoogletagmenagerpro/admin-dev
Demo front-end panel:
https://moduly-prestashop.eu/pdgoogletagmenagerpro
What needs to be configured after installing GTM Pro 2.3.4?
The exported container requires import, verification, and publication in GTM. Optional server-side purchase recovery and refund automation require enabling the appropriate module options, Measurement ID, API Secret, saved customer context and consent, as well as a CRON task. A custom gtm.js download URL does not automatically launch the server-side GTM infrastructure.
In this version, the browser-side purchase is generated on order confirmation; it does not use the same paid-status definition as GA4 Pro. See the comparison of GA4 architecture via module and GTM. If you only need container embedding, check the older basic GTM module.
You can find the license, trial copy, and update terms in §7 of the store Terms and Conditions.
After importing the container, check publication and events
The export from the module is material for GTM configuration. Select the correct workspace, check the tags and rules, and then publish the verified version. Compare this scope with basic GTM embedding and direct GA4 Pro integration.
What should be checked before launch?
- In preview mode, check the data for the product, combination, and purchase process, as well as the absence of a second emitter for the same events.
- Separate browser-side purchase from optional server-side recovery. Measurement Protocol and CRON requirements apply to a specific path.
- Changing the gtm.js download URL does not mean the GTM server is launched automatically. The architecture must match the actual configuration.