Docs / Getting Started / Embed on Your Website / Embed Code Options

Embed Code Options

Learn about the different embed code options available, including pre-filtering by tags and setting specific languages.

Your Storepoint embed code can be customized to display filtered subsets of locations or load in a specific language. The easiest way to generate these customized embed codes is through your dashboard.

Default Embed Code

The standard embed code displays all your locations with your default settings. To get your embed code:

  1. Log in to your Storepoint dashboard
  2. Click Embed in the left sidebar
  3. Copy the embed code snippet
  4. Paste it into your website

Get Your Embed Code

This is all most users need. The locator will show all your locations and work with all the settings you've configured in your dashboard.

Filtered Embed Codes

Below the default embed code on the Embed page, you'll find options to create specialized embed codes. These are useful when you want to display only certain locations on specific pages of your website.

Pre-Filter by Tags

If you've set up tags on your locations, you can generate an embed code that only shows locations with specific tags. This is useful for:

  • Product pages: Show only stores that carry a specific product
  • Category pages: Display dealers vs. retailers vs. service centers
  • Regional pages: Pre-filter to a specific country or region
Note

The tag filtering options will appear on the Embed page once you've added tags to your locations. If you don't see these options, you'll need to set up tags on your locations first.

Set a Specific Language

If you've configured multiple languages in your Storepoint dashboard, you can generate an embed code that displays the locator in a specific language. This is helpful when your website has separate pages for different languages.

For example, you can embed a locator on your Spanish page that automatically displays in Spanish, without relying on browser detection.

Combining Options

You can combine tag filtering with language settings. For example, you might create an embed code that shows only UK locations and displays in English, or shows only premium dealers and displays in French.

The Embed page in your dashboard lets you select multiple options and generates the correct embed code automatically.

Generate Filtered Embed Code

For Developers

If you need more advanced control over the locator, the Store Locator JavaScript API offers additional capabilities:

  • Event listeners to react to searches and user interactions
  • Programmatic filtering based on user actions
  • Custom integrations with your website's functionality

The JavaScript API documentation covers all available options and includes code examples for developers.

Still have questions?

We're happy to help anytime.

Get in Touch

Ready to get started?

Create your store locator in minutes.