Skip to main content

Dynamic loading of configurations via Google Tag Manager

Adrian ESCRIVA avatar
Written by Adrian ESCRIVA
Updated over 3 weeks ago

This article is part of the series Adapting your banner to each version of your site.

Before following the guide below, make sure you’ve read the overview article:

1. Create a variable that retrieves the site’s language

For example, you can base it on the lang attribute of the HTML tag:

image (21).png


2. Create a lookup table

This table will take the language variable as input and return the corresponding cookie version:

image (22).png


3. Use this lookup table variable in the Cookie Version field

In your Axeptio CMP tag, place the lookup variable inside the Cookie Version field:

image (23).png

Did this answer your question?