Expand my Community achievements bar.

Join us for an upcoming in-person Adobe Target Skill Builders event ~~> We're hosting these live learning opportunities to equip you with the knowledge and skills to leverage Target successfully. Learn more to see if we'll be coming to a city near you!
SOLVED

Audience based on Website Language

Avatar

Level 2

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!

1 Accepted Solution

Avatar

Correct answer by
Employee

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

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

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