How to customize the embed code?

There are a few options you can pass to the embed code to further customize your widget:

  • data-retailers - will only show locations from these retailers. Retailer ids can be retrieved from the dashboard URL when viewing a retailer. Locations must be mapped to proper retailers in Locations > (select a location) > Properties > Retailer.
  • data-filters - will limit the widget to certain filters. Filter ids can be retrieved from the dashboard URL when viewing a filter. Locations must be mapped to proper filters in Locations > (select a location) > Properties > Filters.
  • data-language - will force the widget to use a certain language. Please note that the language must first be created on the dashboard.

Here's an example with all the settings applied:

<div id="zenlocator-map-96dmhk3g" data-retailers="td2zx3te,pzact6hg" data-filters="n5pbs75s,sbzazhgd" data-language="fr"></div>