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, plus 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 front-end preview link with active debugging, 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 preparation for advertising campaigns, because the module provides helpers for Google Ads, Meta, TikTok, and Pinterest.
- Safe operation in multistore environments, because key runtime, consent, and export settings are stored per store.
- Less manual work after sales, because refunds are queued and sent to GA4 from a lightweight back-office controller without an artificial page_view.
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 tracking 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:
https://moduly-prestashop.eu/pdgoogletagmenagerpro