How to Target URLs with Country Codes | Community
Skip to main content
New Participant
January 31, 2024
Solved

How to Target URLs with Country Codes

  • January 31, 2024
  • 1 reply
  • 724 views

I'm building an a/b test in target that tests a new navigation design on a group of pages. I want to run this test in both the US and Canada. The urls have country codes in them (see examples below). Can I just set my audience to US and Canada by geo location? Or will I need to include the set of page urls for both countries in my page delivery?

 

www.website.com/us/en/page1

www.website.com/ca/en/page1

www.website.com/us/en/page2

www.website.com/ca/en/page2

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 Gokul_Agiwal

Hi @brittanyleecor 

There are few options you can use to achieve this use case 

1) You can try passing country parameters through the mbox/delivery call and see this on the page load level

How Do I Pass Parameters to a Global mbox? | Adobe Target 

2) You can create an audience with geo targeting - A visitor’s geo information is determined from the originating IP address of a Target location request (mbox request). The IP-to-geo resolution is done for the first call of a new session. This means, if the IP address of a visitor changes mid session of a visit, the geo information is still based on the IP address of the first call. 

https://experienceleague.adobe.com/docs/target/using/audiences/create-audiences/categories-audiences/geo.html?lang=en 

3) Another way - fetch the country code info into profile script and used into Visitor Profile for audience purpose. 

https://experienceleague.adobe.com/docs/target/using/audiences/visitor-profiles/profile-parameters.html?lang=en 

Hope this helps. 

1 reply

Gokul_Agiwal
Gokul_AgiwalAccepted solution
New Participant
February 1, 2024

Hi @brittanyleecor 

There are few options you can use to achieve this use case 

1) You can try passing country parameters through the mbox/delivery call and see this on the page load level

How Do I Pass Parameters to a Global mbox? | Adobe Target 

2) You can create an audience with geo targeting - A visitor’s geo information is determined from the originating IP address of a Target location request (mbox request). The IP-to-geo resolution is done for the first call of a new session. This means, if the IP address of a visitor changes mid session of a visit, the geo information is still based on the IP address of the first call. 

https://experienceleague.adobe.com/docs/target/using/audiences/create-audiences/categories-audiences/geo.html?lang=en 

3) Another way - fetch the country code info into profile script and used into Visitor Profile for audience purpose. 

https://experienceleague.adobe.com/docs/target/using/audiences/visitor-profiles/profile-parameters.html?lang=en 

Hope this helps.