Audience based on Website Language | Community
Skip to main content
New Participant
November 4, 2020
Solved

Audience based on Website Language

  • November 4, 2020
  • 1 reply
  • 1022 views

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jonasvvd

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/global-mbox/pass-parameters-to-global-mbox.html

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/custom-parameters.html

 

I hope this helps.

 

Kind regards,

Jonas

1 reply

JonasvvdAccepted solution
Employee
November 5, 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/global-mbox/pass-parameters-to-global-mbox.html

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/custom-parameters.html

 

I hope this helps.

 

Kind regards,

Jonas