Control your Axeptio tags with Google Tag Manager

GTM configuration

1. Video Presentation - Axeptio tag

2. Add an Axeptio tag

Once you finished your cookie configuration on Axeptio back-office, we provide a script such as :

<script type="text/javascript">
var el = document.createElement('script');
el.setAttribute('src', 'https://static.axept.io/sdk.js');
el.setAttribute('type', 'text/javascript');
el.setAttribute('async', true);
el.setAttribute('data-id', '5c6c5afae6b2877317a4518e');
if (document.body !== null) {
document.body.appendChild(el);
}
</script>

Create a new tag in Google Tag Manager and choose "custom HTML". Copy/paste the given code in the dedicated window (the top one).

3. Modify your other tags

4. Modifying your existing triggers

axeptio_activate_nomdelabalise

exemples :

  • axeptio_activate_intercom

  • axeptio_activate_google_analytics

  • axeptio_activate_facebook_pixel

  • axeptio_activate_adwords

To be sure you're not making any mistakes, Axeptio can generate those keys in the back-office at the end of the "Integration on your website" page.

Be careful, you'll still need to activate the triggers on the Google Tag Manager side.

This way, Axeptio will have total control on other scripts !

Don't forget to save and publish (the top-right button) and name your new version.

It's done ! It's over... Good job !