Audience based on Website Language

Avatar

Avatar

a_hulshof

Avatar

a_hulshof

a_hulshof

04-11-2020

Our website has two languages and the URLs are the exact same for both. Is there a way to establish an audience to ensure the tests in one language don't break the site on the other language? E.g. if I edit a label on the English site the edited version will be in English on the French site too. 

We can't rely on browser language, because that might be different than the site language. 

Any insights greatly appreciated. Thank you!

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

Jonasvvd

Employee

Avatar

Jonasvvd

Employee

Jonasvvd
Employee

05-11-2020

Hi,

 

Do you have a data layer on your website? If you have a web analytics tool such as Adobe Analytics or Google Analytics on your website, you probably also have a data layer.

 

We normally store the language of the website in a data layer. We can grab this information from the data layer and send it to Adobe Target so it can be used as an Audience.

 

More information on how you can send parameters to the global mbox can be found here: 

https://docs.adobe.com/content/help/en/target/using/implement-target/client-side/mbox-implement/glob...

This small piece of code can be put on your website with your tag manager.

 

You can then select this parameter when creating an audience. More info can be found here: 

https://docs.adobe.com/content/help/en/target/using/audiences/create-audiences/categories-audiences/...

 

I hope this helps.

 

Kind regards,

Jonas