Data Layer
ABconsent pushes consent signals in the default data layer name dataLayer
.
If you intentionally use a custom data layer name and your CMP is not loaded via GTM, declare the correct name before the CMP is loaded, using the following line:
<script>
window.ABconsentCMP = window.ABconsentCMP || {};
window.ABconsentCMP.gtmDataLayerName = "NOM_DU_DATALAYER_PERSONNALISÉ";
</script>

Dernière mise à jour
Cet article vous a-t-il été utile ?