Visitor Localization SDK
Javascript SDK for integrating localization to show Franchisee/Location information into your corporate website experiences
What is Visitor Localization

Configuration options
Option
Description
Configuration examples
Installation
Example: Simple Vanilla JS example
Target element
onLocationSet example
onLocationSet exampleExample: Using Handlebars.js templating
Target element
Handlebars template and utility function
onLocationSet example
onLocationSet exampleMore details on configuration options
Automatic localization (automaticLocalization)
automaticLocalization)Example:
Dynamic Number Insertion (dni)
dni)Example:
Ignore Paths (ignorePaths)
ignorePaths)Example:
Localize links (localizeLinks)
localizeLinks)Example:
Location search API options (locationApiOptions)
locationApiOptions)Example:
Location cache type (locationCacheType)
locationCacheType)Example:
Location set (onLocationSet)
onLocationSet)response.location
response.geoip
Example:
Allow visitors to provide their own search to determine localization
Basic usage
Error statuses
error
error_message
Description
Full example with Form and input field
Using Headless content to Localize navigations
Using Headless content to Localize page modules

Localization testing page
Example using geoip to fetch multiple nearby locations to the visitor
Last updated