Ever wanted to configure a view of your store locator which only shows stores in a particular country? This was possible but via our Filters features but is now made much easier by our new automatic Country selection features.
You can now add a country or list of countries to your HTML installation code via the data-countries parameter. See our Custom Embed Code Builder to generate this automatically, but essentially you would just need to add data-countries="GB,US" to your HTML installation code to tell your store locator to only show locations in either the UK (GB) or US.
This function sets the Countries that are displayed in the store locator. Any store which is not present in the list of defined countries will not be displayed in the store locator.
countries: Required (String or Array) - two digit ISO 3166 Country codes (https://www.iban.com/country-codes) either as a string for a single Country code or as an Array of Country codes that you would like to be displayed.
updateLocator: Required (boolean) - if this is set to true, the locator will update it's store list and map view based on the new Country list.