Thanks,
Applied patch #7 on Drupal 10.2.3 and it works
Yep, the patch 5 works on D10 with the setting using DB1: Country
Thanks
gebiss → created an issue.
gebiss → created an issue.
Yes, For Drupal 8 the cache dir needs to be set as $settings['filecache']['directory']['default'] = '/var/cache/myproject/filecache' otherwise you get error: No path has been configured for the file system cache backend.
@FiNeX No, I couldn't apply the patch initially - The source code was different but I found the source code that matched the one in the patch. It's here - https://git.drupalcode.org/issue/eu_cookie_compliance_gtm-3357677. I copied the eu_cookie_compliance_hooks.js to my module files (I use version 2.0.2) and then applied the patch.
I have applied the patch and it seems the solution works.
I did the following:
1. Added the patch to the eu_cookie_compliance_gtm
2. Added GTM data to each consent category via the eu_cookie_compliance module in the following format:
For the Necessary cookies
{
"functionality_storage": "@status"
}
For the Preferences cookies
{
"personalization_storage": "@status"
}
For the Statistics cookies
{
"analytics_storage": "@status"
}
For the Marketing cookies
{
"ad_storage": "@status"
}
3. On GTM > Admin > Container Settings enabled the Consent overview (BETA). More info at https://www.youtube.com/watch?v=MqAEbshMv84&t=2s
Now the GTM displays consent (built in or additional) information on each tag used.
Now, when I deselect the Statistics cookies on the EU Cookie bar the GA4 doesn't show visits in the Real-time. This makes me think the solution works.
Thanks!
Hello,
I am having a similar issue on Drupal 9.5.9. After repeatedly Re-indexing the site on admin/config/search/pages and running Cron (successfully run with no errors in the log) I keep seeing this message:
96% of the site has been indexed. There are 13 items left to index.
13 items never get indexed
Indexing progress: 356 of 369 indexed.
Is there a way to debug this?