Skip to the content

Country​Detection

Detect a country from contact information

Overview

Auto-detect country information to improve user experience and data accuracy

The methods of the Country Detection service allow you to automatically identify a country based on an address, telephone number, email address or IP address.

Use the IPAddressToCountrySimple method to identify a country from an IP address as a user is on your website to help personalise the site for them.

Use the DetectCountry method for other use-cases such as auto-completing the country in your CRM system after entering an address.

The following methods are available in the CountryDetection service.

IPAddressToCountrySimple

Identifies a country from a customer's IP address

DetectCountry

Identifies the country from a customer's contact details.