Free GA4 Integration is an open-source PrestaShop module that adds Google Analytics 4 (GA4) tracking to your storefront without requiring external libraries or third-party dependencies. It injects the GA4 global site tag (gtag.js) and, optionally, fires standard e-commerce events using PrestaShop's native hook system, giving store owners clean, lightweight GA4 tracking with full visibility into the implementation.
- GA4 global tag injection: Loads the GA4
gtag.js snippet via the header hook and configures it with your Measurement ID, which is set from the Back Office configuration panel. - E-commerce event tracking (beta): When enabled, fires
view_item on product pages, add_to_cart when the cart is updated via PrestaShop's JS events, and purchase on the order confirmation page. - Vanilla JS option: For themes that do not load jQuery, the
add_to_cart event listener can be switched to a plain Vanilla JS implementation from the Back Office settings. - Configurable from Back Office: Allows enabling or disabling the module output, setting the GA4 Measurement ID, and toggling e-commerce tracking and the Vanilla JS mode independently.
This module is suited for PrestaShop store owners who want a transparent, no-frills GA4 integration without black-box plugins or paid solutions. It requires a GA4 property and a valid Measurement ID. Developers who want to inspect or customize the tracking implementation will benefit from its clean, library-free codebase.
Comments (0)
Your review appreciation cannot be sent
Report comment
Report sent
Your report cannot be sent