GTM does not receive any data until cookies are accepted by the user. How can I fix this?
Indeed, the Cookie Consent module blocks GTM cookies and scripts by default. If you'd like the module to allow sending data in the consent mode, the Google Consent Mode module should be installed additionally. You can find the 'amasty/module-google-consent-mode' package for installing in composer suggest. The module is compatible with Hyva. The 'amasty/module-google-consent-mode-hyva' module can be installed via composer as well. Please note that the modules are available as a part of an active subscription.
After installing the Consent Mode extension, the functionality will appear in the Amasty Cookie Consent extension's configuration.
Upon enabling this functionality, the default consent state will be sent to the GTM even before the user accepts cookies.
Related Articles
Events are not firing in the GTM. How to fix this?
The most common reason is the Tracking via Measurement Protocol functionality enabled for all the events. As a result, events are sent directly to Google Analytics servers via HTTP requests, and these events data are not added to the tag manager, so ...
How exactly do cookies work in the extension?
Default Magento cookies are divided into 2 types - Essential and Non-Essential. Essential cookies do not require the user's consent for their work and are stored in the browser automatically, as they ensure the correct operation of the store from the ...
Will extension generate a ready to use GTM container?
It is necessary to create a container in the GTM account, as GTM Web Container ID, Tag Manager Account ID and Tag Manager Container ID will be needed for the correct configuration of the extension. Detailed instructions on how to find the relevant ...
Can I add Google Analytics cookies to the essential group?
Essential cookies are a site's basic form of memory, used to store the settings selected by a user on a given site. As the name implies, they are essential to a website's functionality and cannot be disabled by users. On that note, neither Marketing ...
How to share a GTM debug link?
In order to share a debug link with our support team, please, take the following steps: 1. Navigate to the account overview and press on the “Preview” button. 2. Enter your website's URL. 3. Click on the menu in the right upper corner of the page and ...