Product parameters in dataLayer for Google Tag Manager
A module that will help add data layer code 'dataLayer' for Google Tag Manager or 'gtag' for Google Analytics 4 to the OpenCart product page in the head or body block. In this code, you can use shortcodes, instead of which the product parameters will be substituted.
Use the following shortcodes to automatically replace the product parameters: {product_id}, {product_name}, {price}, {currency_code}, {model}, {sku}, {upc}, {ean}, {jan}, {mpn} , {isbn}, {location}, {weight}, {length}, {width}, {height}.
With the help of this extension, you can register events in the product page, as well as transfer product data to the dataLayer before or after the initialization of the GTM code.
Also try our free GA4 Events modification, which adds GA4 events to OpenCart for conversion tracking.
The module is free, so it is distributed as is without any guarantees or support. But you can order a paid service if you need any improvements or extensions to the functionality of the module for working with Google Tag Manager, such as transferring conversions: adding to the cart, placing orders, registering buyers or achieving other goals.
Module installation instructions:
Upload the module in the admin panel in the "Extensions" : "Install".
Go to the "Modifications" section and update the cache.
Go to the "Dashboard" section and update the template cache.
Go to the "Extensions" : "Extensions" : "Modules" and enable the module.
Edit module. Enable the status of the module and adjust all its options to your needs and save the settings.
Check module operation.
Bingo!
You must be logged in to view the files!
Тетяна
24 September 2025
Виникло питання ,його швидко вирішили, хоча цій модуль безкоштовний,техпідтримка допомогла.Дуже дякую .Всім рекомендую.
On November 20, 2025, a new major release of PHP was published - version 8.5. PHP 8.5 introduces useful improvements, but requires a careful approach when integrating into existing OpenCart projects.
Let’s look at OpenCart optimization methods that don’t require purchasing additional modules or paying for services. The main stages of OpenCart speed optimization.
✕
We use cookies and other tracking technologies to improve your browsing experience our website, to personalize content and ads, provide social features media and our traffic analysis.
Necessary cookies enable core functionality of the website. Without these cookies the website can not function properly.
Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.
A set of cookies to collect information and report about website usage statistics without personally identifying individual visitors to Google.
Marketing cookies store user data and behaviour information, which allows advertising services to target more audience groups.
Get a discount
Try your luck and win a discount on your next order