Integrazione NUOVO script Iubenda via GTM
Con il nuovo script per l'integrazione della cookie solution (<script type="text/javascript" src="//embeds.iubenda.com/widgets/xxx.js"></script>) non è più presente la parte di script che permetteva l'inserimento tramite template ufficiale GTM (_iub.csConfiguration). L'unico modo per inserire il banner via GTM ora è tramite custom HTML, ma così facendo spesso si incorre in errori in console di questo tipo:
[IUBCS|ERROR]: Google Tag Manager initialized before setting the default consent or before embedding the TCF stub.
E disattivando l'automatic blocking da pannello iubenda, questo errore sparisce MA non vengono più erogati i comandi di gestione del consenso per la Google Consent Mode.
Come si può risolvere? è possibile fare un revert al vecchio codice di integrazione? è presente un nuovo template valido per il nuovo script?
Ciao, hai risolto?
Mi pare di aver capito di avere lo stesso errore
Ciao, no purtroppo non sembra abbiano ancora aggiornato il template...
Why is my Iubenda banner not showing up?">
I am also having a very similar problem with the new Iubenda script integration for the Cookie Solution.
With the introduction of the new snippet:
<script type="text/javascript" src="//embeds.iubenda.com/widgets/xxx.js"></script>
the configuration via the official Google Tag Manager template based on _iub.csConfiguration is no longer available.
The only alternative seems to be the insertion via custom HTML tag in GTM, but this frequently generates errors in the console like:
[IUBCS|ERROR]: Google Tag Manager initialized before setting the default consent or before embedding the TCF stub.
By disabling the automatic block from the Iubenda panel, the error disappears, but the activation of the commands for the Google Consent Mode is also interrupted, so it is not a real solution.
I would like to know:
Is it possible to revert the old integration system that used _iub.csConfiguration?
Is there a new updated official template for GTM compatible with the new script?
What is the correct way to implement Google Consent Mode with the new approach?
The reference to the Iubenda documentation is this:
https://www.iubenda.com/it/help/13323 ............................