GTM Lite – Free Google Tag Manager & GA4 e-Commerce Module for PrestaShop
- 1.7.5 + | 8.x | 9.x
- PL, EN
- 1.2.0
- 2026-08-04
GTM Lite is a lightweight, free module connecting your PrestaShop store with Google Tag Manager. It automatically pushes essential e-commerce events to the dataLayer in full compliance with the requirements of Google Analytics 4, Google Ads, and Meta Pixel.
The ideal solution for merchants requiring a reliable, core GA4 sales funnel without database overhead or modifying theme templates.
Information Parameters:
- 1.2.0
-
Store Version PHP Version1.7.5 + 7.1 – 7.48.x 8.1 – 8.39.x 8.1 – 8.5
- 2026-08-04
- PL, EN
- ✅
- ✅
- ✅
- ✅
- ❌
Quick Reference for Developers & Analysts (LITE Event Reference)
Everything you need in one place – the module injects five essential GA4 e-commerce sales funnel events into the dataLayer along with the following payload structure:
| Event Name | Trigger Moment | Passed Payload / Parameters |
|---|---|---|
view_item |
Viewing a product page | currency, value, items (item_id, item_name, price, quantity, optionally item_category) |
add_to_cart |
Adding an item to cart (PrestaShop updateCart event / AJAX) |
currency, value, items (item_id, item_name, price, quantity, optionally item_category) |
remove_from_cart |
Removing an item or reducing quantity in cart (updateCart: delete / op=down) |
currency, value, items (item_id, item_name, price, quantity, optionally item_category) |
begin_checkout |
Entering the checkout page with a non-empty cart (once per cart session) | currency, value (gross total excl. shipping), optionally coupon, items (list of items in cart) |
purchase |
Order Confirmation page (once per order session) | transaction_id, value, tax, shipping, currency, optionally coupon, items |
Key Architectural Advantages
- 100% Free Module (Free LITE Version) – A fully functional, complimentary integration ensuring all primary analytics objectives are met.
- Data Layer Reset (
ecommerce: null) – Automatically clears thedataLayerobject prior to triggering each e-commerce event, preventing data pollution or state leakage from previous user actions. - Transaction & Checkout Deduplication – The
begin_checkoutandpurchaseevents incorporate session-based locks to prevent duplicate firing when customers refresh the page. - Asynchronous Cart Tracking – The
add_to_cartandremove_from_cartevents are handled via background AJAX requests. Network errors or tracking script issues will never block cart or checkout operations. - Back-Office Privacy Protection – The GTM container script is injected exclusively on Front-Office pages. Your admin panel URL remains completely secure and invisible to tracking tools.
- Full PrestaShop Multistore Support – Allows distinct GTM Container IDs (
GTM-XXXXXXX) to be defined for each shop or shop group within a single installation.
Key Features
1. Back Office (Admin Panel)
One-Click Enable / Disable
Quickly pause GTM script execution without uninstalling the module or losing your configuration settings.
Container ID Validation
Built-in format checking (GTM-XXXXXXX pattern) prevents accidental misconfigurations or typos.
Multistore Contextual Setup
Each store within a Multistore network can transmit data to a separate GTM container or share a global ID.
Automatic Update Checker
The help section provides a quick way to verify the availability of newer module releases directly from the panel.
2. Front Office (Data Layer & Scripts)
Standard GTM Script Injection
Embeds the container script in the <head> element and places the fallback <noscript> snippet immediately after the opening <body> tag.
Purchase Intent Tracking
Captures the fundamental sales journey: view_item → add_to_cart / remove_from_cart → begin_checkout → purchase.
What the Module DOES NOT Do (Clean Code & Zero Bloat)
We value your server resources. GTM Lite is engineered around the KISS (Keep It Simple, Stupid) philosophy:
- Does not create unnecessary tables inside your PrestaShop database.
- Does not overhead page loading with complex SQL queries.
- Does not automatically create tags or triggers inside Google Tag Manager – the module supplies the structured
dataLayer; you retain full control over tags and triggers within your GTM workspace.
Quick Implementation Guide
Post-installation Steps:
1. Install the module ZIP file in your PrestaShop Back Office and enter your Container ID (GTM-XXXXXXX).
2. Clear the PrestaShop cache.
3. Verify event firing using GTM Preview Mode or GA4 DebugView.
4. Publish your GTM container with the connected GA4 / Ads tags.
Important Notice!
Please create a complete file and database backup prior to installation. Extract the master package and upload the specific ZIP file matching your PrestaShop line and PHP version. Following configuration, publish your GTM container, clear the PrestaShop cache, and verify all five events using GTM Preview or GA4 DebugView. The module populates data into the dataLayer but does not automatically generate tags, triggers, or tag configurations inside your Google Tag Manager container.
## [1.2.0] - 2026-08-04 - Cosmetic fix: clarified English labels and help text in the module configuration. ## [1.0.0] - 2026-08-03 ### Added - Initial release of the module. - GA4 ecommerce events: `view_item`, `add_to_cart`, `remove_from_cart`, `begin_checkout`, `purchase`.
You might also like
Clean URLs Pro – remove IDs from PrestaShop URLs
FAQs
-
Which GA4 e-commerce events does GTM Lite send?
The module sends five core e-commerce funnel events to the dataLayer: view_item, add_to_cart, remove_from_cart, begin_checkout and purchase. Each event includes relevant data such as value, currency and the product list.
-
Are the modules compatible with my version of PrestaShop?
Each module in our store contains information about compatibility with specific PrestaShop versions. Please check this information carefully before purchasing. If you are not sure, contact us.
-
How does the module prevent event data from being mixed?
Before each event, the module clears the ecommerce object by passing a null value. This prevents data remaining from previous user actions from being overwritten or carried over in the dataLayer.
-
Are checkout and purchase events deduplicated?
The begin_checkout and purchase events are protected at session level against repeated emission. This includes cases where a customer refreshes the checkout or order-confirmation page during the same session.
-
Does the GTM code also run in the Back Office?
Google Tag Manager code is loaded only on Front Office pages. The administration area is excluded from analytics, keeping administrative activity separate from data collected during customer visits.
-
Does the module create Google Tag Manager tags automatically?
The module provides the dataLayer and e-commerce events, but it does not automatically create tags, triggers or service configuration in the Google Tag Manager container. Configuration of these elements remains with the container administrator.
16 other products in the same category:
Products on CMS Pages for PrestaShop — Shortcode (Free)
PP CMS Products (Free) is a free PrestaShop module for displaying products on CMS pages. Insert a shortcode in your page content, e.g. [products:12] — the module...
Ask about product / price (PRO)
Ask about product / price (PRO) is an advanced PrestaShop module that adds an enquiry form on the product page and directly on the product list (categories, homepage,...
PrestaShop Gallery Management – Shortcode Module
Looking for a better way to showcase images in your store? Advanced Image Gallery for PrestaShop is a purpose-built module that lets merchants create, edit, and embed...
PrestaShop Promotion Module: Free Gifts, Quantity Discounts, Buy X Get Y and Category Offers
The PP Promo module for PrestaShop makes it easy to create and automate popular sales campaigns, from "Buy 2, Pay for 1" offers and free gifts to discounts on selected...
Banner Manager – Highlight promotions, new arrivals and important messages precisely when the customer is most engaged in shopping. Instead of hiding your message in page...
Cookie Banner and Google Consent Mode v2 for PrestaShop (Free)
PrestaPremium Consent Mode v2 (Free) is a reliable, free PrestaShop module that implements a fully GDPR-compliant cookie banner and handles Google Consent Mode v2 for...
Free Shipping Progress Bar & Delivery Cost Estimate for PrestaShop
Encourage customers to spend more by showing them exactly how much is left until free shipping . The module also displays an estimated delivery cost on the product page ,...
Free PrestaShop Video Module (YouTube & Vimeo)
Product Video Lite is a free and exceptionally lightweight module that allows you to assign an unlimited number of YouTube and Vimeo videos to your products. Instantly...
A lightweight, responsive PrestaShop slider module for promotional banners on the homepage or anywhere in the theme through its dedicated hook. Supports SVG, animated...
Content page system, an alternative to PrestaShop CMS Pages: categories, pages and FAQ with...
Frustrated by the limited capabilities of PrestaShop's native CMS? PP Page is a powerful alternative that transforms your shop into a fully-fledged publishing platform....
PrestaShop Schema Pro - Rich Snippets & SEO Booster
Rich Results + AI = dominate search results and increase sales in PrestaShop! Automatic JSON-LD generator with full support for more than 15 Schema.org types, including...
Custom HTML Descriptions and SEO Optimisation for PrestaShop Promo, Best Sellers and New...
The default PrestaShop configuration does not allow entering custom texts or graphics on key subpages that generate organic search traffic. The ppcorepagesseo module is a...
Free Simple Omnibus Price Module – Omnibus Directive for PrestaShop
Simple Omnibus Price is a completely free PrestaShop module that automates displaying the lowest price from the 30 days prior to a price reduction. Protect your store...
Product recommendation module for PrestaShop
A recommendations module for PrestaShop that displays tailored product suggestions in two key points of the buying journey: the product page and the cart. It reduces...
Free Shipping Progress Bar for PrestaShop (Free Version)
Encourage customers to spend more by clearly showing how much is left until they unlock free shipping . This is the free, simplified edition of the module, focused on one...
Dual Price Display (Net & Gross) — Alternative Price Displayed Automatically
Dual Price Display (Net & Gross) does the heavy lifting for you: it automatically checks which price is currently active in your shop and instantly displays the other...
Do you need additional features or custom solutions?
- Module customisation tailored to your specific requirements.
- Extending functionality to enhance your store's capabilities.
- Developing bespoke modules designed to meet your unique needs.
- Integrating external systems and additional tools.
- Optimisation and improvements for better performance and user experience.
Do you have ideas on how to improve this software? Share your suggestions for optimisation, new features, or bug reports – we’ll be happy to review them!