Embed a locator on any website
Paste one snippet and a fully interactive store locator appears—search, filters, hours, and directions included. Works anywhere you can add HTML: WordPress, Squarespace, Webflow, or hand-coded sites.
This is what gets embedded
The live locator below is the exact experience your snippet renders. Try searching a ZIP code or filtering the list.
Your embed snippet
Replace the placeholder values with your own key (found in the dashboard after signup), then paste this into any page. Pick the script tag for the smoothest fit, or the iframe for the simplest possible install.
Option A — Script embed (recommended)
The script renders the locator into a target div and inherits your page width. Set layout, theme, and color with data- attributes.
<!-- Maptera Store Locator -->
<div id="maptera-locator"></div>
<script
src="https://maptera.switchlabs.dev/embed.js"
data-maptera-key="YOUR_PUBLIC_KEY"
data-layout="sidebar"
data-theme="light"
data-primary-color="#3b82f6"
data-height="600px"
async
></script>Option B — iframe embed
The simplest install: a single iframe you can paste anywhere. Swap YOUR_COMPANY for your account slug.
<iframe
src="https://maptera.switchlabs.dev/widget/map?company=YOUR_COMPANY&layout=sidebar&theme=light&showSearch=true&height=600px"
width="100%"
height="600"
style="border:0;"
loading="lazy"
title="Store Locator"
allow="geolocation"
></iframe>Works on your platform
If your site lets you add HTML, it can run Maptera. Here's where the snippet goes on the most common platforms.
WordPress
Add a Custom HTML block (or a Code Snippets plugin) and paste the snippet. It works in posts, pages, and most page builders like Elementor and Divi.
Squarespace
Use an Embed block or a Code block on any page or section and paste the snippet. The locator renders inline with the rest of your content.
Webflow
Drop an Embed element where you want the map and paste the snippet. Publish your site and the locator appears.
Custom HTML / any CMS
Paste the snippet anywhere you can add HTML. The script loads asynchronously and won’t block your page from rendering.
How the embed works
Four steps from signup to a live locator on your site.
Create a free Maptera account
Sign up and add your store locations. Each account gets a public embed key you’ll drop into the snippet.
Customize and copy your snippet
Set your layout, theme, and brand color in the dashboard, then copy the generated embed code—or use the snippet on this page as a starting point.
Paste it into your site
Add the snippet to any HTML block on your website—WordPress, Squarespace, Webflow, or custom code. Save and publish.
Your locator goes live
The locator renders inline with search, filters, hours, and directions. Update locations from the dashboard anytime—no need to edit the snippet again.
After signup, grab your key and snippet from the dashboard embed screen. Prefer a managed app? See Shopify or Wix.
Ready to help customers find your stores?
Get started today with our 14-day free trial. No credit card required.