Content Personalisation
This example shows you how you can customize content on your site depending on the user's location.
This example displays an alert with a special offer targeted at users from Nigeria. You can drill down and target users by a more specific location such as;
Region
City
Postal Code
You can also customize your site based on;The user's timezone
The user's currency
- eg. on your pricing page or shopping catalogsThe user's language
- we recommend getting the user's language from their Browser settings, however as a fallback you could use our language field to determine the user's likely language
Always reference the API endpoint for complete response result
PreviousRedirect by Country and Location OffersNextGet the location from an IP Address in Javascript
Last updated