GeoTag Specific | Community
Skip to main content
June 21, 2023
Solved

GeoTag Specific

  • June 21, 2023
  • 1 reply
  • 477 views

 

Hi All,

 

We are planning to implement a tag in our website, but we don't want it to get dropped in certain geographies.

can anyone help us with a solution to identify the visitors from these Geo and not allowing tag to get dropped for them.

 

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 Jennifer_Dungan

The problem is that GeoLocation is part of post-processed data... if you need to control when a tag gets added to a page based on location, you will need to have a custom solution for that... 

 

Does your website have any sort of location identification code that you can leverage?

 

If you don't trying to implement something usually means creating an API call to a third party service to determine the location of the user (either based on shared Latitude and Longitude, or based in IP Address... either way, its a lot of code you will have to create.

 

Here is an article I found regarding identify a user's location:

https://betterprogramming.pub/how-to-detect-the-location-of-your-websites-visitor-using-javascript-92f9e91c095f

 

1 reply

Jennifer_Dungan
Community Advisor and Adobe Champion
Jennifer_DunganCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
June 21, 2023

The problem is that GeoLocation is part of post-processed data... if you need to control when a tag gets added to a page based on location, you will need to have a custom solution for that... 

 

Does your website have any sort of location identification code that you can leverage?

 

If you don't trying to implement something usually means creating an API call to a third party service to determine the location of the user (either based on shared Latitude and Longitude, or based in IP Address... either way, its a lot of code you will have to create.

 

Here is an article I found regarding identify a user's location:

https://betterprogramming.pub/how-to-detect-the-location-of-your-websites-visitor-using-javascript-92f9e91c095f