Description
Extracts the country code (ISO-3166-1 alpha2) from a given IPv4 string (dot-decimal notation).Syntax
CountryCodeFromIP(ipaddress)
Examples
CountryCodeFromIP('69.59.196.211') returns ‘US’
Look up and return the ISO 3166-1 alpha-2 country code for an IPv4 address. Use for geographic segmentation in Integrate.io ETL pipelines.
CountryCodeFromIP(ipaddress)
CountryCodeFromIP('69.59.196.211') returns ‘US’
Was this page helpful?