Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Audience based on Website Language

a_hulshof
Level 2
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
Jonasvvd
Correct answer by
Employee
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
Jonasvvd
Correct answer by
Employee
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