Other tag managers
Overview
Configure the integration
Step 1 - Website configuration
Option A - Dynamic data layer - Update the data layer on your website
<script type="text/javascript">
window.didomiOnReady = window.didomiOnReady || [];
window.didomiOnReady.push(function (Didomi) {
window.updateDataLayer({
// Didomi variables
didomiRegulationName: window.didomiState.didomiRegulationName,
didomiVendorsEnabled: window.didomiState.didomiVendorsEnabled,
didomiVendorsDisabled: window.didomiState.didomiVendorsDisabled,
didomiVendorsUnknown: window.didomiState.didomiVendorsUnknown,
didomiPurposesEnabled: window.didomiState.didomiPurposesEnabled,
didomiPurposesDisabled: window.didomiState.didomiPurposesDisabled,
didomiExperimentId: window.didomiState.didomiExperimentId,
didomiExperimentUserGroup: window.didomiState.didomiExperimentUserGroup,
didomiGDPRApplies: window.didomiState.didomiGDPRApplies,
didomiIABConsent: window.didomiState.didomiIABConsent,
};
});
</script>Option 2 - Static data layer - Update the data layer on your website
Step 2 - Delay initializing your tag manager
Step 3 - Create rules in your tag manager
Last updated