Geolocation
  • Home
  • Setting up the geolocation condition in Elementor and Gutenberg and the CSV extension

Setting up the Geolocation condition manually

Unlike with our conditional triggers, which include a drop-down list for you to choose the location you wish to target, setting up the geolocation condition in the CSV extension or in the conditional Elementor and Gutenberg widgets requires manual entry of the location.

We’re working on ironing out all the kinks. In the meantime, follow the instructions below to target your desired location.

Insert the country ISO code in the “country-level” field.

Country nameCountry Code
AndorraAD
United Arab EmiratesAE
AfghanistanAF
Antigua and BarbudaAG
AnguillaAI
AlbaniaAL
ArmeniaAM
AngolaAO
AntarcticaAQ
ArgentinaAR
American SamoaAS
AustriaAT
AustraliaAU
ArubaAW
Åland IslandsAX
AzerbaijanAZ
Bosnia and HerzegovinaBA
BarbadosBB
BangladeshBD
BelgiumBE
Burkina FasoBF
BulgariaBG
BahrainBH
BurundiBI
BeninBJ
Saint BarthélemyBL
BermudaBM
Brunei DarussalamBN
Bolivia (Plurinational State of)BO
Bonaire, Sint Eustatius and SabaBQ
BrazilBR
BahamasBS
BhutanBT
Bouvet IslandBV
BotswanaBW
BelarusBY
BelizeBZ
CanadaCA
Cocos (Keeling) IslandsCC
Congo, Democratic Republic of theCD
Central African RepublicCF
CongoCG
SwitzerlandCH
Côte d’IvoireCI
Cook IslandsCK
ChileCL
CameroonCM
ChinaCN
ColombiaCO
Costa RicaCR
CubaCU
Cabo VerdeCV
CuraçaoCW
Christmas IslandCX
CyprusCY
CzechiaCZ
GermanyDE
DjiboutiDJ
DenmarkDK
DominicaDM
Dominican RepublicDO
AlgeriaDZ
EcuadorEC
EstoniaEE
EgyptEG
Western SaharaEH
EritreaER
SpainES
EthiopiaET
FinlandFI
FijiFJ
Falkland Islands (Malvinas)FK
Micronesia (Federated States of)FM
Faroe IslandsFO
FranceFR
GabonGA
United Kingdom of Great Britain and Northern IrelandGB
GrenadaGD
GeorgiaGE
French GuianaGF
GuernseyGG
GhanaGH
GibraltarGI
GreenlandGL
GambiaGM
GuineaGN
GuadeloupeGP
Equatorial GuineaGQ
GreeceGR
South Georgia and the South Sandwich IslandsGS
GuatemalaGT
GuamGU
Guinea-BissauGW
GuyanaGY
Hong KongHK
Heard Island and McDonald IslandsHM
HondurasHN
CroatiaHR
HaitiHT
HungaryHU
IndonesiaID
IrelandIE
IsraelIL
Isle of ManIM
IndiaIN
British Indian Ocean TerritoryIO
IraqIQ
Iran (Islamic Republic of)IR
IcelandIS
ItalyIT
JerseyJE
JamaicaJM
JordanJO
JapanJP
KenyaKE
KyrgyzstanKG
CambodiaKH
KiribatiKI
ComorosKM
Saint Kitts and NevisKN
Korea (Democratic People’s Republic of)KP
Korea, Republic ofKR
KuwaitKW
Cayman IslandsKY
KazakhstanKZ
Lao People’s Democratic RepublicLA
LebanonLB
Saint LuciaLC
LiechtensteinLI
Sri LankaLK
LiberiaLR
LesothoLS
LithuaniaLT
LuxembourgLU
LatviaLV
LibyaLY
MoroccoMA
MonacoMC
Moldova, Republic ofMD
MontenegroME
Saint Martin (French part)MF
MadagascarMG
Marshall IslandsMH
North MacedoniaMK
MaliML
MyanmarMM
MongoliaMN
MacaoMO
Northern Mariana IslandsMP
MartiniqueMQ
MauritaniaMR
MontserratMS
MaltaMT
MauritiusMU
MaldivesMV
MalawiMW
MexicoMX
MalaysiaMY
MozambiqueMZ
NamibiaNA
New CaledoniaNC
NigerNE
Norfolk IslandNF
NigeriaNG
NicaraguaNI
NetherlandsNL
NorwayNO
NepalNP
NauruNR
NiueNU
New ZealandNZ
OmanOM
PanamaPA
PeruPE
French PolynesiaPF
Papua New GuineaPG
PhilippinesPH
PakistanPK
PolandPL
Saint Pierre and MiquelonPM
PitcairnPN
Puerto RicoPR
Palestine, State ofPS
PortugalPT
PalauPW
ParaguayPY
QatarQA
RéunionRE
RomaniaRO
SerbiaRS
Russian FederationRU
RwandaRW
Saudi ArabiaSA
Solomon IslandsSB
SeychellesSC
SudanSD
SwedenSE
SingaporeSG
Saint Helena, Ascension and Tristan da CunhaSH
SloveniaSI
Svalbard and Jan MayenSJ
SlovakiaSK
Sierra LeoneSL
San MarinoSM
SenegalSN
SomaliaSO
SurinameSR
South SudanSS
Sao Tome and PrincipeST
El SalvadorSV
Sint Maarten (Dutch part)SX
Syrian Arab RepublicSY
EswatiniSZ
Turks and Caicos IslandsTC
ChadTD
French Southern TerritoriesTF
TogoTG
ThailandTH
TajikistanTJ
TokelauTK
Timor-LesteTL
TurkmenistanTM
TunisiaTN
TongaTO
TurkeyTR
Trinidad and TobagoTT
TuvaluTV
Taiwan, Province of ChinaTW
Tanzania, United Republic ofTZ
UkraineUA
UgandaUG
United States Minor Outlying IslandsUM
United States of AmericaUS
UruguayUY
UzbekistanUZ
Holy SeeVA
Saint Vincent and the GrenadinesVC
Venezuela (Bolivarian Republic of)VE
Virgin Islands (British)VG
Virgin Islands (U.S.)VI
Viet NamVN
VanuatuVU
Wallis and FutunaWF
SamoaWS
YemenYE
MayotteYT
South AfricaZA
ZambiaZM
ZimbabweZW

The name should start with a capital letter (Example: New York, Illinois, Texas).

To be on the safe side, and especially if you are targeting locations outside the US that consist of unique signs (Île-de-France, for example), the best thing to do is to copy the value generated using the autocomplete option in our standard triggers.

  1. On your WordPress dashboard, click “Add new trigger”.
  2. Select the geolocation condition.
  3. Check the state level.
  4. Start typing, then select the state’s name from the autocomplete options.
  5. Copy the state name from the “Targeted locations” grey box.

The city name should be written in the If-So condition exactly as it is written in the result you’ll get after searching the city name in this link (including capital letters).

Type in letters as described below.

Africa: AF
Antarctica: AN
Asia: AS
Europe: EU
North America: NA
South America: SA
Oceania: OC


Ready to get started?
Try it on your website