❌ Advanced Display Condition by Country (Code Snippets / Sections / Popups / Widgets / Headers & Footers) #28196
Replies: 1 comment
-
Hello there @RefRyan! thanks for submitting your feature request! 🙏 🗃️ Please understand that while we do welcome new feature requests, we can't track multiple requests per thread.Please follow our guidelines for submitting a new 🚀 Feature Request, and submit only ☝️ one request per thread so we can track them better and allow users to vote only for the features they want to see implemented. Kind regards |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Prerequisites
What problem is your feature request going to solve? Please describe..
Describe the solution you'd like.
A toggle to enable some advanced display conditions, that firstly asks if they want to show or hide the content because in some situations you will want to hide it for one country, in others you will only want to show it for one country.
Describe alternatives you've considered.
No response
Additional context
The detection of arriving country could be done by looking firstly for the header of CF-IPCountry which can contain their country of origin if the website is behind Cloudflare.
If the header doesn't exist then you could check their IP with one of the following services:
Alternatively the use of IP databases could be used like MaxMind GeoIP / IP2Location Lite.. etc
Agreement
Beta Was this translation helpful? Give feedback.
All reactions