Passing parameters via the URL
Your widget can accept parameters via the URL.
For example, if your map is located at https://example.com/where-to-buy
you can pass a address parameter to that URL to pre-populate the map with that area:
https://example.com/where-to-buy?address=Atlanta,%20GA
The following parameters are accepted:
address
- area you'd like to search (can be zipcode, city, region or state).radius
- numeric radius if you have a Search > Components > Search Radius enabled. Note the miles or km setting depends on the country the visitor is from.products
- product ids you'd like to limit your search to.filters
- filter ids you'd like to use in your search.
Here's an example with all parameters specified:
https://example.com/where-to-buy?address=Atlanta,%20GA&radius=50&products=prd_2x2t7axt&products=prd_ne6besjr&filters=flt_fcanec8a