cybotcorp / gtm-templates-cookiebot-cmp

Template for using Cookiebot Consent Management Provider (CMP) in Google Tag Manager
Apache License 2.0
5 stars 8 forks source link

Problem with save cookiebot id in tag manager google platform #37

Closed candypiotr closed 4 months ago

candypiotr commented 4 months ago

When entering the cookiebot template in the tag manager I get errors in the console and I can't change the cookiebot id in any way (it doesn't save this value and is still empty). Below is the error dump from the console:

Zrzut ekranu 2024-06-24 o 09 59 40

Soreg commented 4 months ago

I'm guessing this happens on the website where the template is implemented, and not when you add or update the GTM template? .. I just wanted to be sure here 🙂.

The error (infdig) is documented on AngularJS's own documentation, and looks to be related to infinite loops. Can you verify that the site works if you remove (or pause) the Cookiebot GTM template?

candypiotr commented 4 months ago

Yes, the template is already added. On other pages in GTM, I've now noticed that when I go to edit the cookiebot template, these IDs are also blank, and they were filled in before for sure

Soreg commented 4 months ago

Hmm, that sounds odd. Can you try updating the template in an incognito tab, just to be that sure it's not some extension causing the issue?

candypiotr commented 4 months ago

I'll also add a picture of what it looks like when I enter the ID and try to run the code Zrzut ekranu 2024-06-24 o 09 25 44

candypiotr commented 4 months ago

I do not see any updates for this domain, it seems that everything is up to date

candypiotr commented 4 months ago

Successfully created a tag on another device. You can close

Soreg commented 4 months ago

Ah, perfect. Glad it was resolved. I'll close the ticket 👍