Everything you'd want to know before you install.
A detailed look at how Google Tag Pro — Plug & Play PrestaShop works, why we built it the way we did, and the thinking behind the features above.
GA4 e-commerce events that match the reference
Every event is built by the same code, so that item_id, item_name, item_variant, categories, brand and prices are identical from the list to the refund. price is the discounted unit price and discount the unit discount; value is the sum of price × quantity, without shipping and tax, as Google asks, and vouchers are spread over the items so that this stays true. Lists hold the products really shown on the page, with the sort, filters and page number; add_to_cart and remove_from_cart come from the real cart lines after each update, which covers the product page, the quick view and the cart page of the Classic and Hummingbird themes.
One purchase per order
Each order has one line in the module. The purchase is reserved at the first display of the confirmation page: a reload, the back button, a second tab or the return of a payment provider writes nothing and is counted as a blocked duplicate. The browser confirms each purchase pushed. If the confirmation page was never shown, or closed before Tag Manager loaded, the purchase is pushed once on the next page of the same customer within 48 hours, with the same transaction_id. Orders in error or cancelled send nothing.
Consent Mode v2 and Enhanced Conversions
ad_storage, ad_user_data, ad_personalization and analytics_storage are written before Tag Manager, denied by default, for every visitor or only for the European Economic Area, the United Kingdom and Switzerland. In automatic mode, the module lets a banner that already sends its default values do it, and loads Tag Manager right after them. Enhanced Conversions data is normalised and hashed with SHA-256 as described by Google Ads, then pushed only once ad_user_data is granted. The module sends the signals of Google; your banner and its settings remain your responsibility.
See, check, then go live
Tracking can stay off for visitors while you test: a signed link gives your browser alone the dataLayer and a panel listing each push, the consent state and the checks of the page. The back office follows the session live, previews the dataLayer of a product page, a category, the checkout or an order against the GA4 event reference, and keeps a journal of the purchases, duplicates, recoveries and refunds.
A container that matches the events
The export follows the format of a Tag Manager export: Google tag, a GA4 event tag fed by the dataLayer, Google Ads purchase conversion with the order reference and the Conversion Linker, User-Provided Data variable for Enhanced Conversions. Google tags keep their built-in consent checks; Meta, TikTok and Pinterest tags require ad_storage.
No double counting with your other modules
The diagnostic reads the PrestaShop Google Analytics module, the Tracking tab of DataFirefly All in One SEO, DataFirefly Cookie Manager and other banners or tag modules, and warns when GA4, Tag Manager or the e-commerce events would be sent twice. A live analysis counts the loaders and consent commands of a real page. Nothing is ever changed in the other modules.
There are no reviews yet.