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: Choose the right method to load the correct Axeptio banner.
To make it easier to integrate the widget in multiple languages, we’ve added a regex-based system in our back office, under the “Integrate on your site” section.
⚠️ For those unfamiliar: a regex (short for regular expression) is a string that describes using a specific syntax a pattern that can match multiple possible strings 🤯
Okay, great. But what does that actually mean?
Let’s take our own website as an example. We used this feature to handle multilingual configurations. Below is an example for the English version.
As you can see, we simply added en.*
after our domain name.
✅ Don't forget to check the RegExp box!