We are often asked how to make CX decisions as targeted as possible. Once of the methods is to clearly understand as much as possible about the person interacting at the time of interaction. This Public Template is especially useful for our brands with an offline presence; it takes the IP address at the time of interaction and provides back into the flow of the rule various location details including country, city, latitude, and longitude. These fields can then be used in further personalisation - nearest store offers of direction information for example.
Input Data
Field | Description | Example |
---|---|---|
data1 to data10 | Series of ten fields that provide a simple template allowing data to be exported from the Rule to Amazon S3 | data1 |
Configuration
By default the Public template calls out to the API at https://ip-api.com/ and provides back the location information. At its basic tier you can make 45 calls for free per min. Good for small usage or testing. Beyond this volume it has a competative paid for tier. Configuration for the paid for tier can be done by adapting the Public Template appropriately and saving it in your local client.
Processing
This tile template will take the IP field in the flow and generate a series of location fields that should identify where the person was when the call was made.
Getting geolocation data from an IP is useful but is not always 100% accurate. For identifying a closest store or local weather it’s fine. It should not be relied upon to provide important location information, proximity to a forest fire for example!
Output Data
Field | Description | Example |
---|---|---|