Generate country code instead of country name

Avatar

Avatar
Level 1
KatieG2
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile

Avatar
Level 1
KatieG2
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile
KatieG2
Level 1

25-06-2020

Is there a way to have AA produce the two-character country code in the geosegmentation instead of the full country name? Is this something I could rig up with a custom dimension?

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
MVP
raj_mandalapu
MVP

Likes

125 likes

Total Posts

203 posts

Correct reply

72 solutions
Top badges earned
Validate 1
Contributor
Shape 1
Give Back 5
Give Back 3
View profile

Avatar
Validate 1
MVP
raj_mandalapu
MVP

Likes

125 likes

Total Posts

203 posts

Correct reply

72 solutions
Top badges earned
Validate 1
Contributor
Shape 1
Give Back 5
Give Back 3
View profile
raj_mandalapu
MVP

26-06-2020

I don't find classification's for countries to check country codes as it is not custom eVar, and it is automatically populated by the system, so if you have more questions then you can reach out to analytics customer care.

But, you can handle this using custom eVar, but getting visitor country code involves complexity and you need to handle this at your application level

if your application uses Akamai CDN then your application developers can get country code and pass it to the analytics variable, or your developers need to use some ip location database to get to country codes.