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.
Over the years of working with various OpenCart and SEO projects, we have developed five cool modules for them that provide the fastest and most noticeable result in improving search positions.
We will show you how to update OpenCart 3 to ensure its compatibility with PHP 8. There are several ways to do this: cloning files from a newer version of OpenCart, updating libraries through composer, or creating a new website.
This website uses cookies 🍪 to provide you with the convenience of working with its functions, based on the Privacy Policy