CLI.consent is undefined
-
Hello,
I am having an issue with the “Insert GTM compatibility code snippet in the active theme” section on this page: https://www.webtoffee.com/how-to-attain-gdpr-compliance-by-using-google-tag-manager/
I am trying to use the following example code given on the page, but I receive an error “Uncaught TypeError: CLI.consent is undefined”:
<script> function CookieLawInfo_Accept_Callback() { if (CLI.consent.analytics) { dataLayer.push({'event': 'cli_cookieconsent_analytics'}); } } </script>
Please help!
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘CLI.consent is undefined’ is closed to new replies.