Start Here

How to Launch Your Store Locator

Whether you are a marketing leader handing off requirements to an agency, an IT administrator configuring DNS, or a developer writing HTML, start by answering one simple question: Where should your store locator live?

Step 1: Choose Your Hosting Path

Path A • On Your Website

"I want to host the locator page on MY website"

Keep shoppers on your existing URL (e.g., www.yourbrand.com/stores) inside your CMS header, footer, and navigation. You have two implementation choices:

  • Native Web Component: Renders directly in your page HTML (no iframe) for complete styling, custom cards, and JS integration.
  • Automated Responsive Iframe: Fastest 2-line CMS drop-in with zero CSS conflicts and automatic height resizing.
Compare & Implement On-Site Options →
Path B • Hosted by Omnilocal

"I do NOT want to host the locator page myself"

Let Omnilocal host your entire store locator, state/city directories, and SEO local landing pages on your own branded subdomain (e.g., stores.yourbrand.com).

  • Zero CMS templates or web engineering sprints required.
  • Just point one DNS CNAME record to Omnilocal and attach your brand CSS.
See Branding & IT/DNS Handoff Guide →
Can I upload my own HTML file for Omnilocal to host? No—to keep pricing affordable without custom-build fees, Omnilocal provides standardized managed pages that are pre-built out of the box to be WCAG 2.1 AA (ADA) accessible, mobile/responsive, SEO & Schema.org JSON-LD optimized, i18n translation capable, Tag Manager ready, AI / MCP discoverable, and Cloudflare edge-cached. Under Path B (Hosted by Omnilocal), you brand these pages using External CSS, the Visual Local Page Designer, Corporate Header/Footer HTML, and image uploads. If you need direct ownership of the .html file itself, choose Path A (On Your Website) with the <location-finder> Web Component or Path C (REST API).
Path C • Headless / Custom App

"I am building a custom mobile app or React/Next.js UI"

Query your location database directly over JSON HTTP POST endpoints (/rest/locationsearch and /rest/getcollection) with full filtering, escalating search radii, and server IP whitelisting.

Open REST API Reference →
Path D • AI Discovery (Included)

"I want ChatGPT, Claude & Google AI Mode to find our stores"

Every Omnilocal workspace automatically publishes a live 1st-party Model Context Protocol (MCP) server and /llms.txt endpoint with zero extra work.

View AI Discovery (MCP) →

Step 2: What to Do Based on Your Role

Your Role Decisions to Make What to Hand Off / Next Step
Marketing / Brand Manager
Handing off to an Agency or IT
1. Should the locator live on www.yourbrand.com/stores (Path A) or stores.yourbrand.com (Path B)?
2. Do you want proximity search, a Country dropdown, or a State dropdown?
3. Which store attributes should shoppers filter by (e.g. Curbside Pickup, EV Charging)?
To your Agency: Share your brand workspace api-key, brand-id, and link to Web Component & Iframe Guide + Styling Guide (PDF).
To your IT Team (Path B): Send the 1-line CNAME ticket from Hosted Pages & IT Setup.
HTML / Frontend Developer
Implementing on the brand site
Choose Native Web Component if you want custom HTML <template> cards, CSS variables, or JS hooks; choose Responsive Iframe for a quick zero-conflict CMS drop-in. Follow Web Component & Iframe Guide, then check all 26 attributes & events in the Web Component Reference.
Backend / Mobile Engineer
Headless or ERP integration
Decide between browser-direct calls or server-to-server calls (with server IP whitelisting), and choose an automated upload sync (Webhook, SFTP, HTTPS, Google Sheets, HubSpot). Use REST API Reference for search/query contracts and Automated File Uploads for data syncs.

Step 3: Provision Your Workspace & Upload Store Data

  1. Create your workspace: Start a no-card 30-day free trial at /onboard (up to 250 locations) to generate your isolated brand database, brand-id, and api-key.
  2. Upload or connect your locations: Upload a CSV, TSV, XLSX, XLS, or JSON file—or schedule automatic pulls from Google Sheets, HTTPS, SFTP, HubSpot, or a Push Webhook.
  3. Preview immediately: Your hosted locator is live right away at https://locator.omnilocal.ai/{brand-id} before you touch your website or DNS.
Preparing Your Location File: Standard columns (such as clientid, name, address1, city, state, postalcode, country, phone, latitude, longitude) auto-map automatically, and any extra columns become custom filterable attributes. Complete at least one manual upload first to lock in your column mapping before enabling scheduled syncs or webhooks. See File Upload Rules, System Columns & Automation →
Host on Your Website

Implementing on Your Own Website

When you want the store locator to live directly inside a page on your own website (e.g., www.yourbrand.com/stores), choose between the Native Web Component or the Automated Responsive Iframe.

Which Option Should You Choose?

Criteria Option A: Native Web Component (<location-finder>) Option B: Automated Responsive Iframe (embed.js)
Best For Custom brand experiences, full CSS theming, custom HTML store cards, JS event hooks, and SPAs (React/Vue/Angular/Next.js). Fastest launch inside WordPress, Shopify, AEM, Sitecore, or Contentful with zero risk of CSS conflicts.
How It Renders Directly inside your page's DOM using native Shadow DOM encapsulation (no iframe). Automatically injects a responsive, zero-scrollbar <iframe> with live cross-origin height sync.
Customization Full control: 26 HTML attributes, CSS custom properties, external stylesheet, custom <template> markup, and JS callbacks. Controlled via Portal settings (Styling, Filters, Sort, Modes) plus 11 inline data-* override attributes.
Effort 5–15 minutes for a web developer. 2 minutes (copy & paste two lines of HTML).

Option A: Native Web Component (<location-finder>)

Drop the production bundle script and the <location-finder> tag directly into your page HTML. All API calls are made automatically relative to the page where the component is hosted (see Web Component Reference for all 26 attributes).

<!-- 1. Load the single-file production Web Component bundle -->
<script type="module" src="https://locator.omnilocal.ai/public/app/location-finder.min.js"></script>

<!-- 2. Mount the locator anywhere in your page body -->
<location-finder
  api-key="YOUR_BRAND_API_KEY"
  brand-id="your-brand-slug"
  radius="25"
  limit="25"
  auto-locate="true"
  autocomplete="true"
  accent-color="#0369a1"
  map-height="650px"
></location-finder>
See Every Web Component Option: View all 26 HTML attributes, URL query overrides, custom <template> tokens, and DOM events in the Complete Web Component Reference →

Supported Locator Modes (3 Modes)

If you want standard Proximity Search (finding the closest locations to a shopper's address, postal code, or GPS location), you do not need to add a mode attribute—it is the default. Only add a mode attribute when you need a Territory or Service-Area locator that operates at the Country or State/Province level:

ModeAttribute ValueWhen to Use
Proximity SearchNot required (default)
or mode="address"
Standard "find nearest stores" experience by address, city, postal code, or browser GPS with interactive map & radius selector.
Country Territory / Directorymode="country"Global brands or distributor networks where shoppers select a country from a dropdown to see all locations serving that country.
State / Province Territorymode="state"Regional or territory/service-area locators where shoppers select a State or Province from a dropdown to view all locations serving that region.

Customizing the Look of Store Cards, Map Popups & Filters (Custom Templates)

Out of the box, <location-finder> displays clean, ready-to-use store cards and map popups with each location's name, address, phone number, distance, and directions link. However, many brands want their store locator to do more than list addresses—such as featuring a "Book an Appointment" or "Order Pickup" button, highlighting "Curbside Available" or "EV Charging" badges, showing store photos, or matching a custom corporate layout.

Instead of building a custom store locator from scratch, the Web Component lets your web team override just the visual parts you want to customize by placing simple HTML <template> blocks on the page. Omnilocal still handles all the search logic, mapping, and accessibility automatically while filling your custom design with live store data:

  • Store Results List Card (panel-location-template): Completely control the layout, buttons, badges, and fields shown for each store in the scrollable list.
  • Map Pin Popup (infowindow-template): Customize the popup card shoppers see when they click a pin on the map.
  • Filter & Sort Controls (criteria-template / sort-template): Replace the default filter bar or sort menu with your own branded form controls.

See the available data placeholders in the Web Component Reference and copy-paste examples in the Styling Guide (PDF).

Option B: Automated Responsive Iframe Embedding (embed.js)

Our lightweight embed.js loader automates embedding an isolated, responsive <iframe> inside any webpage or CMS. It uses a live ResizeObserver and cross-origin postMessage bridge to resize the iframe height automatically—eliminating double scrollbars and parent-site CSS collisions.

Standard Container Embed (Recommended)

<div id="omnilocal-locator" data-brand="your-brand-slug"></div>
<script src="https://locator.omnilocal.ai/embed.js" async></script>

Multiple Locators or Self-Mounting Script Tag

Use class="omnilocal-embed" to mount more than one locator on the same page, or place data-brand directly on the <script> tag to auto-create its container immediately after the script:

<!-- Self-mounting single-tag embed -->
<script
  src="https://locator.omnilocal.ai/embed.js"
  data-brand="your-brand-slug"
  data-page="emea.html"
  data-mode="country"
  data-accent-color="#0f766e"
  async
></script>

Complete embed.js Options Reference (All data-* Attributes)

All attributes below can be placed on the #omnilocal-locator / .omnilocal-embed container <div> (or directly on the <script> tag when self-mounting):

Attribute Required Description & Example
data-brand
(alias: data-brand-slug)
YesYour workspace brand slug (e.g., data-brand="acme").
data-pageNoTargets a specific multi-profile sub-brand locator page configured in the Portal (e.g., data-page="emea.html" or data-page="service.html"). Defaults to index.html.
data-modeNoOverrides the page's default locator mode: address, country, or state.
data-countryNoPre-selects a 2-letter ISO country code in country mode (e.g., data-country="CA").
data-stateNoPre-selects a state/province code in state mode (e.g., data-state="TX").
data-accent-colorNoOverrides the primary brand hex color (e.g., data-accent-color="#0f766e").
data-stylesheet
(alias: data-css-url)
NoHTTPS URL to an external CSS file injected into the locator at runtime (e.g., https://yourbrand.com/css/locator.css).
data-api-keyNoOptional explicit API key override (normally inherited automatically from your hosted brand page).
data-google-api-keyNoOptional BYOK Google Maps JavaScript API key (if omitted, renders free unlimited OpenStreetMap vector tiles).
data-hostNoOverrides the iframe host origin (defaults to the embed.js script's own origin, e.g. https://locator.omnilocal.ai or your custom CNAME).

Iframe Accessibility & Permissions: embed.js automatically sets allow="geolocation", loading="lazy", a descriptive title attribute, min-height: 520px, and listens strictly to event.source === iframe.contentWindow for height updates.

Developer Reference

Web Component Reference (<location-finder>)

Exhaustive reference for every HTML attribute, URL query parameter, custom <template>, and DOM event supported by <location-finder>.

1. Core & Connection Attributes

AttributeType / DefaultDescription
api-keyUUID string (required)Your brand workspace API key from the Portal. Sent in every search and collection request.
brand-idString (recommended)Your brand slug (e.g. acme). Sent via the x-brand-id header and included in analytics events.

2. Search Behavior, Modes & Static Filtering

AttributeType / DefaultDescription
mode"address" | "country" | "state"
Default: "address"
Controls whether shoppers search by address/postal code/GPS, or browse via a Country or State/Province dropdown.
radiusInteger (miles)
Default: 25
Initial search radius. The component automatically sends an escalating [radius, radius * 2] search so rural shoppers still get results.
limitInteger
Default: 25
Maximum number of locations returned per proximity search.
auto-locate"true" | "false"
Default: "true"
In address mode, automatically attempts browser GPS geolocation on page load (with graceful fallback to manual search if declined).
autocomplete"true" | "false"
Default: "true"
Enables address autocomplete suggestions on the search input when a google-api-key is supplied.
country2-letter ISO code
Default: ""
Pre-selects a country when mode="country" (e.g., country="US" or country="CA").
stateState / Province code
Default: ""
Pre-selects a state or province when mode="state" (e.g., state="OH").
filterJSON string or Base64 JSON
Default: null
Static base filter merged into every query (ideal for sub-brand or division pages). Example: filter='{"store_type":{"$eq":"Outlet"}}'.

3. Shopper Criteria Filters & Result Sorting

AttributeType / DefaultDescription
criteriaJSON array
Default: []
Configures interactive shopper filter groups (select, dropdown, checkboxes, pills). See Filters & Result Sorting for schema and examples.
sort-optionsJSON array
Default: []
Configures the interactive Sort by: dropdown (e.g. Distance, Store Name, Rating). Always appends distance ASC as a tie-breaker on spatial searches.

4. Styling, Dimensions & Map Provider

AttributeType / DefaultDescription
accent-colorCSS color
Default: "#0369a1"
Sets primary brand color (--lf-accent) for buttons, active markers, and focus rings.
map-widthCSS length
Default: "100%"
Outer widget width (sets --lf-width).
map-heightCSS length
Default: "650px"
Outer widget height (sets --lf-height). Example: map-height="calc(100vh - 160px)".
stylesheet
(alias: css-url)
HTTPS CSS URL
Default: ""
Injects your external stylesheet into the Shadow DOM of <location-finder> and every sub-component.
google-api-keyString
Default: ""
Optional BYOK Google Maps JavaScript API key. When omitted, Omnilocal renders zero-cost unlimited OpenStreetMap vector maps.
map-idString
Default: "STORE_LOCATOR_MAP"
Google Cloud Vector Map ID for custom-styled Google Maps (used only when google-api-key is set).

5. Custom HTML Templates, Analytics & Localization

AttributeType / DefaultDescription
location-template-idDOM element ID
Default: "panel-location-template"
ID of a host-page <template> overriding each store result card.
infowindow-template-idDOM element ID
Default: "infowindow-template"
ID of a host-page <template> overriding the map pin popup card.
criteria-template-idDOM element ID
Default: "criteria-template"
ID of a host-page <template> replacing the built-in filter bar with custom [data-field] inputs.
sort-template-idDOM element ID
Default: "sort-template"
ID of a host-page <template> replacing the built-in sort menu with custom select[data-sort] or radio controls.
tag-manager"" | "gtm" | "tealium" | "adobe"
Default: auto-detect
Explicitly targets a tag manager. When omitted, automatically dispatches to any present window.dataLayer, window.utag, or window.adobeDataLayer / window.s.
gtm-event-prefixString
Default: "omnilocal"
Prefix used for tag manager event names (e.g., omnilocal_search, omnilocal_store_select).
translationsJSON object string
Default: null
Declarative translation dictionary mapping default English strings to localized text (ideal for Salesforce LWC / Locker Service).
dir"ltr" | "rtl"
Default: auto-detected
Controls text and layout direction inside the Shadow DOM. Automatically resolves to "rtl" when lang (on the element or host <html>) starts with ar, he, iw, fa, or ur.
langBCP-47 language tag
Default: inherits <html lang>
Declares the active language for the component (e.g., lang="ar", lang="he", lang="fr") and triggers automatic RTL layout for right-to-left locales.

6. URL Query Parameter Overrides

When an attribute is not explicitly set on the <location-finder> tag, the component automatically reads these URL query parameters from window.location.search:

  • ?mode=address|country|state, ?country=CA, ?state=TX
  • ?filter=<url-encoded-json-or-base64>
  • ?stylesheet=https://... (aliases: ?css=..., ?css-url=...)

7. Customizing Results Before Render (window.onSearchResults)

Just like window.onTranslate lets you customize UI text at runtime, window.onSearchResults is a client-side hook that runs immediately after search results return from the API and before store cards and map markers render. Use it to compute live "Open Now" badges, inject promo labels, format custom fields, or re-rank results for the active shopper.

  • Signature: window.onSearchResults(locations, context) → return the modified locations array.
  • context object: { query, radius, count, brandId } in proximity mode, or { filter, count, brandId } in Country/State mode.
  • How to use it: Simply define window.onSearchResults in a <script> tag on your page—<location-finder> automatically detects and runs it with no extra attributes required on the tag (and also checks window.parent.onSearchResults for same-origin iframes). In sandboxed frameworks like Salesforce LWC that restrict global window properties, you can alternatively assign .onSearchResults on the <location-finder> DOM element in JavaScript.
<script>
  window.onSearchResults = function (locations, context) {
    return locations.map(function (loc) {
      return Object.assign({}, loc, {
        // Any property you add becomes available as a ${token} in custom <template> cards
        promoBadge: loc.curbside === '1' ? 'Curbside Pickup Available' : ''
      });
    });
  };
</script>

8. Custom <template> Interpolation Tokens

Inside <template id="panel-location-template"> and <template id="infowindow-template">, you can interpolate any standard token below plus any custom CSV column name or field added by window.onSearchResults (e.g. ${services}, ${promoBadge}):

${name} • ${locationnum} • ${address1} • ${address2} • ${city} • ${state} • ${postalcode} • ${phone} • ${distance} • ${directionsUrl}

9. DOM Custom Events

All events bubble and cross Shadow DOM boundaries (bubbles: true, composed: true), so you can attach listeners directly to <location-finder> or document:

Event NameWhen It FiresKey event.detail Fields
omnilocal:widget_loadLocator finishes mountinghost, pathname, mode, brand
omnilocal:searchProximity search completesquery, radius, count, latitude, longitude, brand
omnilocal:region_filterCountry/State dropdown search completesfilter, count, brand
omnilocal:store_selectShopper clicks a store card or map pinstoreUid, storeName, address1, city, state, postalcode, distance
omnilocal:get_directions / omnilocal:phone_callShopper clicks Directions or Phone CTAStore metadata & action payload
locations-loadedNew location array renderedlocations, count, query / filter
geolocation-success / geolocation-errorBrowser GPS succeeds or fails/blockedlatitude, longitude, cityState (or error, code)
search-error / omnilocal:search_errorNetwork or API search errorerror, query / filter
Search Experience

Shopper Criteria Filters & Result Sorting

Let shoppers filter stores by services, amenities, or store types and sort results dynamically—configured zero-code in the Portal or declaratively on <location-finder>.

Option 1: Configure in the Portal (Zero Code)

Open Branding & Domain → Locator Pages and expand Shopper Search Criteria & Sorting on any locator page to build filter groups (dropdown, select, checkboxes, pills) and sort options visually.

Option 2: Declarative HTML Attributes on <location-finder>

Pass JSON arrays directly to the criteria and sort-options attributes (or set finder.criteria = [...] and finder.sortOptions = [...] in JavaScript):

<location-finder
  api-key="YOUR_BRAND_API_KEY"
  brand-id="your-brand-slug"
  criteria='[
    {
      "id": "services",
      "label": "Store Services",
      "ui": "pills",
      "match": "and",
      "options": [
        { "label": "EV Charging", "field": "services", "operator": "contains", "value": "EV Charging" },
        { "label": "Curbside Pickup", "field": "services", "operator": "contains", "value": "Curbside" }
      ]
    },
    {
      "id": "type",
      "label": "Store Type",
      "ui": "select",
      "allLabel": "All Store Types",
      "options": [
        { "label": "Flagship", "field": "store_type", "operator": "eq", "value": "Flagship" },
        { "label": "Outlet", "field": "store_type", "operator": "eq", "value": "Outlet" }
      ]
    }
  ]'
  sort-options='[
    { "label": "Nearest First", "field": "distance", "dir": "asc" },
    { "label": "Store Name (A-Z)", "field": "name", "dir": "asc" },
    { "label": "Highest Rated", "field": "rating", "dir": "desc" }
  ]'
></location-finder>

Filter Group & Option Schema

PropertyValuesDescription
uidropdown (default), select, checkboxes, pillsRenders a collapsible multi-select menu, native single-select dropdown, inline checkbox grid, or toggle pill buttons.
matchand (default) | orControls whether selecting multiple options in the same group requires all of them ($and) or any of them ($or).
operatoreq (default), neq, containsCompiles to $eq, $ne, or $like: "%value%" against any standard or custom CSV column.

Option 3: Custom Filter & Sort HTML Templates

To supply your own markup, define <template id="criteria-template"> using inputs with data-field, data-operator, data-group, and data-match—and/or <template id="sort-template"> using <select data-sort> (option values like "rating:desc") or radio buttons with data-sort-field and data-sort-dir.

Spatial Tie-Breaker Guarantee: Every custom sort automatically appends distance ASC as a deterministic tie-breaker on proximity searches so tied locations always appear closest-first.
Design & Accessibility

Styling, CSS Variables & Visual Page Designer

Match your brand's design system pixel-for-pixel while maintaining WCAG 2.1 AA (ADA) accessibility out of the box.

External Stylesheet URL (Automatic Cache-Busting)

Host your custom CSS on your own CDN or website and paste the URL into Branding & Domain → Embed & Styling (or pass stylesheet="..." on <location-finder>). Omnilocal automatically appends a cache-busting ?v=<timestamp> query string on save so updates go live immediately.

:host {
  --lf-font-family: "Inter", system-ui, sans-serif;
  --lf-accent: #0f766e;
  --lf-accent-hover: #115e59;
  --lf-text: #1e293b;
  --lf-text-title: #0f172a;
  --lf-text-muted: #64748b;
  --lf-border: #e2e8f0;
  --lf-card-bg: #ffffff;
  --lf-selected-bg: #f0fdfa;
  --lf-panel-bg: #f8fafc;
}

Split-Screen Visual Local Page Designer

In the Portal's Local Pages tab, build rich store landing pages using live merge tokens ({{name}}, {{address1}}, {{city}}, {{state}}, {{phone}}, {{hours}}, and any custom CSV column) with instant split-screen preview and automatic Schema.org LocalBusiness JSON-LD generation.

See all 18 CSS Custom Properties, 4 copy-paste theme presets, and custom <template> card examples in the Styling Guide (PDF) →

Hosted by Omnilocal

Hosted Locator Pages, Custom CNAMEs & IT Setup

Don't want to host or maintain a store locator page inside your CMS? Omnilocal hosts the entire locator, state/city directories, and individual store pages under your own branded subdomain (e.g., stores.yourbrand.com).

Step 1: What You Configure to Make It Look Like Your Website

Everything is self-service inside the Omnilocal Portal—no waiting on professional services:

  1. Brand Identity & Accent Color: Set your Brand Name and primary accent color under Branding & Domain.
  2. External Brand Stylesheet (CSS): Host a CSS file on your CDN (matching your fonts, buttons, cards, and colors) and paste its HTTPS URL into Branding & Domain → Embed & Styling. Omnilocal injects it automatically with cache-busting.
  3. Locator Mode, Filters & Sorting: Under Locator Pages, choose Proximity Search, Country Dropdown, or State Dropdown, add shopper filter pills/dropdowns, and optionally create separate sub-brand pages (e.g., Retail Stores vs. Authorized Dealers).
  4. Local Store Landing Pages: Use the Portal's Local Pages visual designer to customize individual store pages with your header, footer, logo, hero banner, store hours, and services.
  5. Maps Provider: Unlimited OpenStreetMap maps work out of the box at zero cost, or paste your own Google Maps API key if you prefer Google Maps tiles.

Step 2: What Omnilocal Gives You Before Go-Live

Once your pages are saved in the Portal, Omnilocal immediately provides:

  • Live Staging / Preview URL: https://locator.omnilocal.ai/{your-brand-slug} so marketing and legal can review every page before DNS cutover.
  • Dedicated Sub-Brand & ccTLD Endpoints: Optional additional hostnames—including regional subdomains (emea.yourbrand.com, service.yourbrand.com) and country-code top-level domains (ccTLDs such as .ca, .fr, .ch)—all powered by the same database.
  • Single Global DNS Target: cname.omnilocal.ai — one stable hostname for every subdomain you connect.

Step 3: What to Send Your IT / DNS Team

Enter your desired subdomain(s) in Branding & Domain → Domains & CNAME, click Save, and send the following ticket to your IT or DNS administrator:

Copy-Paste IT Ticket:
"Please create the following DNS CNAME record(s) in our DNS provider (Cloudflare, Route 53, GoDaddy, Akamai, etc.) to point our store locator subdomain to Omnilocal.ai. No static IP addresses or manual SSL certificates are required—TLS/HTTPS is provisioned and auto-renewed automatically once DNS propagates."
Record Type Host / Subdomain Target / Points To TTL SSL / TLS
CNAME stores.yourbrand.com cname.omnilocal.ai 300 (or Auto) Automatic Managed TLS
CNAME emea.yourbrand.com (optional) cname.omnilocal.ai 300 (or Auto) Automatic Managed TLS

What happens after IT adds the CNAME: Within minutes of DNS propagation, Cloudflare's global edge automatically issues a valid HTTPS certificate for your subdomain and begins serving your branded store locator and local pages directly on https://stores.yourbrand.com. Finally, update your main website's "Find a Store" navigation link to point to https://stores.yourbrand.com.

Can I Upload My Own HTML File for Omnilocal to Host?

No — Omnilocal does not accept uploaded custom .html files for hosted store locator pages or local landing pages (Portal asset uploads support JPEG, PNG, and WebP images up to 5 MB only). To keep costs affordable for every brand, Omnilocal engineers and maintains standardized pages that are already WCAG 2.1 AA (ADA) accessible, mobile/responsive ready, SEO & Schema.org JSON-LD optimized, i18n capable, Tag Manager ready, AI / MCP discoverable, and Cloudflare edge-cached—eliminating the expense of maintaining bespoke hosted HTML templates.

Depending on how much control you need, here are your two paths:

  • Keep Omnilocal Hosting (Zero HTML Files to Maintain): Customize the hosted locator with your own External CSS Stylesheet, and customize hosted local pages using the Visual Local Page Designer, direct image uploads, Corporate Header HTML, Corporate Footer HTML, Tag Manager <head>, and Scoped Custom CSS.
  • Need Full Control Over the HTML Document Itself? Host the HTML page inside your own website or CMS and mount the <location-finder> Web Component (with custom <template> overrides for cards, map popups, and filters) or build a custom frontend on the REST API.

Built-In Local SEO Infrastructure

  • Unlimited Cached Page Views: Cloudflare edge-cached Local Landing Pages and State/City directories never count against your monthly search quota.
  • Automatic 301 Redirects: When a store moves or closes, legacy URLs automatically 301-redirect to the new store URL or parent city/state directory to preserve link equity.
  • Auto-Generated XML Sitemaps & JSON-LD: Fresh /sitemap.xml and Schema.org LocalBusiness structured data stay synchronized automatically with every upload.
Deep Dive into Local Pages: Learn how to design store pages, upload images, configure custom SEO URL patterns, and embed your corporate header/footer & tag manager in the Portal Local Pages & SEO Guide →
Hosted by Omnilocal

Portal Local Pages & Local SEO Guide

Turn every store in your database into a fast, edge-cached, SEO-indexed local landing page—complete with automatic State/City directory pages, Schema.org JSON-LD, custom URL patterns, and your corporate header, footer, and analytics.

Want Omnilocal to host your local landing pages? Read further below to configure your hosted store pages, directories, and SEO settings in the Portal.
Hosting your own local landing pages instead? Remember you can place the <location-finder> Web Component on any page of your website to embed live store search, mapping, and nearby-location logic into your own version of SEO local pages.

1. How Portal Local Pages Work

Open Local Pages in the Omnilocal Portal to manage both the visual design (Page Designer tab) and technical SEO / developer hooks (SEO, URLs & Developer tab). Every change previews live in a split-screen Desktop & Mobile preview using real store data before you click Save Configuration.

Once saved, Omnilocal automatically publishes:

  • Individual Store Pages: One canonical, WCAG 2.1 AA accessible landing page for every active store in your database.
  • Automatic Directory Hierarchy: An All Locations index (/locations) plus automatic Country, State/Province, and City directory pages derived from your URL structure, linked together with clickable breadcrumbs.
  • XML Sitemap & AI Markdown: A live /sitemap.xml covering every directory and store page, plus clean Markdown output when AI agents request Accept: text/markdown.

2. What You Can Build in the Page Designer

Start with one of 3 one-click starter layouts (Standard Store, Promo & Retail, or Minimal), then toggle any of the 8 composable sections on or off and reorder them up/down:

SectionWhat It Displays
Top Banner & Storefront PhotoSplit or full-width banner hero with store name, open status, primary CTA button, storefront photo, and optional background image.
Address, Map & HoursFull NAP (Name, Address, Phone), click-to-call link, interactive map, directions button, and operating hours.
Photo / Promo BannerFeatured promotional image with ADA alt text, caption, and optional click-through URL.
Services OfferedAutomatically pulls each store's services from your spreadsheet (with brand-level default fallbacks).
Specials & CouponsAdd unlimited local offers with title, terms/description, and optional coupon image.
About Our BrandLocalized overview copy supporting dynamic store tokens plus an optional section image.
Common Questions (FAQs)Q&A accordion that also automatically generates Google-eligible FAQPage JSON-LD markup.
Nearby LocationsInternal SEO links to nearby sibling stores (configurable count 1–20 and radius 1–500 miles).

Dynamic Store Merge Tokens & Conditionals

Write copy once and personalize it automatically for every store using merge tokens—{{brandName}}, {{name}}, {{city}}, {{state}}, {{phone}}, {{address1}}, {{postalcode}}, {{clientid}}, and any custom spreadsheet column via {{attributes.your_column}}—plus conditional blocks:

Visit {{brandName}} in {{city}}, {{state}}!
{{#if attributes.ev_charging}}Fast EV Charging available on-site.{{else}}Call {{phone}} for store services.{{/if}}

3. Uploading Your Own Images & Files

Yes—you can upload your own images (JPEG, PNG, or WebP, up to 5 MB) directly inside the Portal. (Note: Custom .html files cannot be uploaded for Omnilocal to host; see Hosted Pages → Can I Upload My Own HTML File? for how to customize hosted pages or self-host your own HTML.) Every image field in the Page Designer (Hero storefront photo, Hero background, Promo Banner, Specials/Coupons, and About section) includes an Upload button right next to the URL input:

  • Direct Upload: Upload brand or promotional images directly into your isolated Omnilocal cloud asset storage (automatically served via Cloudflare CDN).
  • External CDN URL: Paste any existing HTTPS image URL hosted on your own website or DAM.
  • Per-Store Dynamic Images: Reference a store-specific image column from your uploaded CSV/XLSX file (e.g., {{attributes.store_photo}}) so every store page displays its own unique storefront photo.

4. How Schema.org JSON-LD Works

Every local page automatically emits a structured Schema.org @graph JSON-LD block tailored to each store—helping Google Search, Google Maps Local Pack, and AI engines understand your locations accurately without manual schema coding:

  • Business Entity (@type): Select the exact Schema.org type for your brand in SEO, URLs & Developer: LocalBusiness, AutoRepair, Restaurant, Store, HealthAndBeautyBusiness, FinancialService, MedicalClinic, or HomeAndConstructionBusiness. Omnilocal automatically populates PostalAddress, telephone, GeoCoordinates, hasMap, image, and hasOfferCatalog (from your store's services).
  • BreadcrumbList: Automatically generated from your URL hierarchy (Brand → All Locations → State → City → Store).
  • FAQPage: Automatically included whenever you add questions in the Common Questions section.

Built-In SEO / ADA Readiness Scoring & 1-Click Lighthouse Audits: The Portal evaluates your Local Pages configuration in real time for WCAG 2.1 AA accessibility and SEO completeness, and provides a 1-click Google Lighthouse / PageSpeed Audit launcher directly from the SEO tab to verify Core Web Vitals, structured data, and accessibility.

5. Canonical SEO URLs, Presets & Custom URL Patterns

A Canonical SEO URL is the single authoritative address for each store (declared via <link rel="canonical"> and published in /sitemap.xml) so search engines never split ranking authority across duplicate URLs. Whenever a store's address changes or you switch URL patterns, Omnilocal automatically retains the previous URL as a permanent 301 redirect to the new canonical URL—preserving 100% of your backlinks.

5 Built-In URL Pattern Presets

Preset NamePatternExample Compiled URL
Region / City / Street (default)/{state}/{city}/{address1}/il/chicago/101-main-st
Flat Hyphenated + Store ID/{state}-{city}-{address1}-{clientid}/il-chicago-101-main-st-1001
Country / Region / City / Street/{country}/{state}/{city}/{address1}/us/il/chicago/101-main-st
Country / City / Street (No State)/{country}/{city}/{address1}/gb/london/221b-baker-st
Store ID Only/locations/{clientid}/locations/1001

Creating Your Own Custom URL Pattern

Yes—you can create any custom URL pattern you want. The URL Pattern Template field in the SEO tab is completely editable. Mix static path segments (like /stores/ or /clinics/) with any token: {country}, {state}, {city}, {address1}, {address2}, {postalcode}, {clientid}, {name}, {slug}, {uid}, or any custom spreadsheet column ({attributes.your_field}). Omnilocal automatically converts values into clean, lowercase, ASCII-folded URL slugs and resolves any duplicate collisions deterministically.

Dual-CNAME Canonical Host Redirect

If your brand points multiple subdomains to Omnilocal (e.g., storelocator.yourbrand.com and stores.yourbrand.com), enter your preferred primary domain in Canonical Local Pages Host and check 301 redirect secondary CNAMEs to canonical host so all search authority consolidates onto one domain.

6. Corporate Header/Footer, Tag Management & Custom CSS

Located under SEO, URLs & Developer → Corporate Header/Footer, Tag Management & Custom CSS, these four fields let your web or agency team make Omnilocal-hosted store pages look, feel, and measure identically to your main corporate website:

FieldPurpose & How It Is Used
Corporate Header HTMLPaste your main website's navigation bar HTML (logo, top menu links, search bar) so shoppers can navigate seamlessly back to your main site. Leave blank to use Omnilocal's built-in WCAG 2.1 AA accessible brand header.
Corporate Footer HTMLPaste your standard corporate footer (legal links, privacy policy, social icons, copyright). Leave blank for the default accessible footer.
Tag Manager Snippet (<head>)Paste your Google Tag Manager, Tealium iQ, or Adobe Launch container script once. Omnilocal injects it into the <head> of every store landing page and directory page so page views, conversions, and cookie consent banners run automatically.
Scoped Custom CSS OverridesAdd targeted CSS overrides (e.g. custom fonts, button radii, header styling, or .lp-hero tweaks) that layer cleanly on top of your Primary & Accent theme colors across all local pages.
Developer Reference

REST API Implementation Guide

Build completely headless mobile apps, custom React/Next.js/Vue store locators, or backend integrations directly against Omnilocal's low-latency JSON REST endpoints.

1. Introduction & Implementation

All geospatial and directory functions are accessed via standard HTTP POST requests with a JSON request body and a JSON response body.

  • Base URL: https://locator.omnilocal.ai (or your custom brand CNAME, e.g. https://stores.yourbrand.com).
  • Authentication (apikey): Every request must include your brand's UUID apikey in the top-level JSON body. Everything—brand routing, data isolation, and settings—is driven by the apikey alone.
  • CORS Support: Cross-origin browser requests are supported out of the box (Content-Type: application/json).
  • Server-to-Server IP Whitelisting: Standard inbound traffic is protected by per-IP rate limits (default 300 req/min on /rest/*). If your backend servers call the API on behalf of many shoppers, whitelist your server egress IP address(es) in Portal → Branding & Domain → Rate Limits so your servers are never throttled.

Standard Response & Error Envelopes

Every endpoint returns a consistent JSON wrapper with a numeric code (1 = success, negative integer = error):

// Success Response
{
  "code": 1,
  "response": {
    "collection": [ /* array of result records */ ],
    "collectioncount": 2,
    "collectionname": "location",
    "attributes": { /* search metadata, e.g. centerpoint, city, state */ }
  }
}

// Error Response (HTTP 200 with negative code, or HTTP 429 when rate-limited)
{
  "code": -1,
  "response": {
    "error": "Detailed error description"
  }
}

Rate-limited responses return HTTP 429 with standard headers: Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset.

2. Filtering with the where Clause (Operators Reference)

Both /rest/locationsearch and /rest/getcollection accept an optional where object to refine which locations are returned. Element names match your database column names—and every custom column uploaded in your CSV/XLSX/JSON file is automatically queryable by name.

OperatorTypeDescription
$andLogicalArray of sub-clauses; all must evaluate to true.
$orLogicalArray of sub-clauses; at least one must evaluate to true.
$eqComparisonExact match (equals).
$neComparisonNot equal to the specified value.
$gt / $gteComparisonGreater than / Greater than or equal to.
$lt / $lteComparisonLess than / Less than or equal to.
$likeStringPattern match using % wildcards (e.g., "%EV Charging%").
$notLikeStringNegated pattern match (field does not contain the pattern).
$inSetMatches if the field equals any value in the provided array (e.g., ["OH", "MI", "PA"]).
$notInSetMatches if the field does not equal any value in the provided array.
$betweenRangeMatches if the field falls between two values: [min, max].
$notBetweenRangeMatches if the field falls outside [min, max].
$isNullNull Checktrue for IS NULL, false for IS NOT NULL.

Worked where Clause Examples

// Example 1: Exclude a store name AND require either retail OR outlet flag
"where": {
  "name": { "$ne": "Corporate HQ" },
  "$or": [
    { "retail": { "$eq": "1" } },
    { "outlet": { "$eq": "1" } }
  ]
}
// Equivalent SQL: name != 'Corporate HQ' AND (retail = '1' OR outlet = '1')

// Example 2: Multi-value $in + partial string match $like
"where": {
  "state": { "$in": ["TX", "OK", "LA"] },
  "services": { "$like": "%EV Charging%" }
}
// Equivalent SQL: state IN ('TX', 'OK', 'LA') AND services LIKE '%EV Charging%'

3. Proximity Search — POST /rest/locationsearch

Endpoint: POST https://locator.omnilocal.ai/rest/locationsearch

Performs a straight-line (Haversine) proximity search against your hosted location database. Supply a data.location object containing either an address/postal code to geocode or a latitude/longitude coordinate pair. If both coordinates and address fields are provided, latitude/longitude takes precedence for the search center point.

Request Elements Reference (data.*)

ElementRequiredDefaultDescription
locationYes*{}Starting point object: addressline (free-form string, e.g. "Austin, TX" or "78701") OR structured address1, city, state, province, postalcode, country (2-letter ISO), OR latitude & longitude (numeric).
radiusNo10Search radius as a positive number (e.g. 25) OR an escalating array of radii (e.g. [5, 10, 25, 50, 100, 250]). Arrays are sorted ascending; if zero stores are found in the first radius, the server automatically expands to each subsequent radius until at least one store is found.
radiusuomNo"mile"Unit of measure for radius and returned distance: "mile" (or "mi") or "km".
limitNo200Maximum number of locations to return. Limiting to 10–25 is recommended for consumer UIs.
orderBy
(alias: order)
No"distance"Sort order. Accepts a column string ("distance"), array, or direction object (e.g. { "rank": true, "distance": true } where true = ASC, false = DESC).
columnsNoAll fieldsOptional list of specific columns to return in each location record.
whereNoNoneFilter object using the where operators documented in Section 2 above.
stateonlyNofalseWhen truthy and the user enters only a US state or province name/code, returns all matching locations in that state/province rather than a small centroid radius.
geoipNofalseWhen true (browser calls only—do not use from backend servers), centers the search on the visitor's edge-detected location if no address is supplied.

Example 1: Full Proximity Search Request (curl)

curl -X POST "https://locator.omnilocal.ai/rest/locationsearch" \
  -H "Content-Type: application/json" \
  -d '{
    "apikey": "YOUR_BRAND_API_KEY",
    "data": {
      "location": {
        "addressline": "Austin, TX",
        "country": "US"
      },
      "radius": [5, 10, 25, 50, 100],
      "radiusuom": "mile",
      "limit": 20,
      "orderBy": "distance",
      "where": {
        "$or": [
          { "retail": { "$eq": "1" } },
          { "outlet": { "$eq": "1" } }
        ]
      }
    }
  }'

Example 2: Coordinate Search (JavaScript fetch)

const res = await fetch('https://locator.omnilocal.ai/rest/locationsearch', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    apikey: 'YOUR_BRAND_API_KEY',
    data: {
      location: { latitude: 30.2672, longitude: -97.7431 },
      radius: [10, 25, 50],
      radiusuom: 'mile',
      limit: 10
    }
  })
});
const { code, response } = await res.json();
if (code === 1 && Array.isArray(response.collection)) {
  console.log(`Found ${response.collectioncount} stores:`, response.collection);
}

Example Response (POST /rest/locationsearch)

{
  "code": 1,
  "response": {
    "collection": [
      {
        "uid": 1042,
        "clientid": "TX-001",
        "name": "Austin Downtown Flagship",
        "address1": "401 Congress Ave",
        "address2": null,
        "city": "Austin",
        "state": "TX",
        "postalcode": "78701",
        "country": "US",
        "phone": "(512) 555-0140",
        "latitude": 30.2666,
        "longitude": -97.7431,
        "distance": 0.04,
        "retail": "1",
        "outlet": "0",
        "services": "Curbside Pickup,EV Charging"
      }
    ],
    "collectioncount": 1,
    "collectionname": "location",
    "attributes": {
      "address": "",
      "city": "Austin",
      "state": "TX",
      "province": "",
      "country": "US",
      "postalcode": "78701",
      "centerpoint": "30.2672,-97.7431",
      "accuracy": "CITY"
    }
  }
}

Note: When no locations match within the maximum radius, response returns { "message": "No locations found", "attributes": { ... } }.

4. Directory & Filtered List Queries — POST /rest/getcollection

Endpoint: POST https://locator.omnilocal.ai/rest/getcollection

Retrieves structured lists from your location database without requiring a proximity center point—ideal for building Country/State dropdowns, store directory pages, or paginated lists. Responses are automatically cached for 60 seconds per unique query. For optimal performance, keep limit at or below 50–100.

Request Elements Reference (data.*)

ElementRequiredDescription
itemYesTarget collection to query: "location", "state", "country", or "city".
columnsNoArray of column names to select (e.g. ["state"] or ["clientid", "name", "city", "state"]).
distinctNoBoolean (true) to return unique values—ideal for populating Country or State dropdowns.
whereNoFilter object using the where operators in Section 2.
orderByNoSort columns (e.g. ["state", "city", "name"] or { "name": true }).
groupByNoOptional grouping column(s).
limitNoMaximum number of rows to return.
offsetNoNumber of rows to skip for pagination.

Example 1: Fetch Distinct States Present in Your Database

// Request
{
  "apikey": "YOUR_BRAND_API_KEY",
  "data": {
    "item": "location",
    "columns": ["state"],
    "distinct": true,
    "where": {
      "country": { "$eq": "US" },
      "state": { "$isNull": false }
    },
    "orderBy": ["state"]
  }
}

// Response
{
  "code": 1,
  "response": {
    "collection": [
      { "state": "CA" },
      { "state": "IL" },
      { "state": "OH" },
      { "state": "TX" }
    ],
    "collectioncount": 4,
    "collectionname": "location",
    "attributes": {}
  }
}

Example 2: Paginated Store List Filtered by State

// Request
{
  "apikey": "YOUR_BRAND_API_KEY",
  "data": {
    "item": "location",
    "where": {
      "state": { "$eq": "TX" },
      "retail": { "$eq": "1" }
    },
    "orderBy": ["city", "name"],
    "limit": 25,
    "offset": 0
  }
}
AI Agents & GEO

AI Discovery with Model Context Protocol (MCP)

Make your brand's authoritative 1st-party store locations, operating hours, and services directly queryable by ChatGPT, Claude, Gemini, and custom AI agents—automatically updated on every upload.

Why MCP Matters for Your Brand

Generic web scrapers routinely hallucinate store hours, miss holiday or seasonal closures, and ignore store-level services. Model Context Protocol (MCP) is the open standard that lets AI assistants query your live Omnilocal store database directly in real time—so when a shopper asks an AI assistant for your nearest open location with a specific service, it returns your verified 1st-party answer instead of guessing from stale third-party directories.

1. Connecting Gemini, Claude & ChatGPT (Step-by-Step)

Every Omnilocal workspace automatically exposes a public HTTPS JSON-RPC 2.0 MCP endpoint using the Streamable HTTP transport:

Endpoint URL: https://locator.omnilocal.ai/{brand}/mcp
# Or on your custom CNAME:
Endpoint URL: https://stores.yourbrand.com/mcp
Transport:    Streamable HTTP / JSON-RPC 2.0

Adding a Custom Connector in Gemini

  1. In the Gemini sidebar, click More (…) → Customize.
  2. Select the Connectors tab, then click + Custom in the top-right corner.
  3. In the Connect to an MCP server dialog, paste your Omnilocal MCP URL (https://locator.omnilocal.ai/{brand}/mcp or https://stores.yourbrand.com/mcp) and click Next to connect.
Gemini SidebarStep 1
New chat
Library
… More→ Customize
Step 1: Click More (…) → Customize in the Gemini sidebar.
CustomizeStep 2
Discover Connectors Skills
Connectors+ Custom
Step 2: Switch to Connectors and click + Custom.
Connect to an MCP serverStep 3
MCP Server URL
https://locator.omnilocal.ai/{brand}/mcp
Next →
Step 3: Paste your HTTPS MCP Server URL and click Next.

Adding a Custom Connector in Claude

  1. In the Claude chat input bar, click + → Plugins → Manage plugins (or navigate to Settings → Customize → Connectors).
  2. On the Your plugins page, select the Connectors filter, click Add ▾, and choose Add custom connector.
  3. Enter a connector name (e.g. Acme Store Locator), paste your Omnilocal MCP URL (https://locator.omnilocal.ai/{brand}/mcp), and click Continue (select No sign in for public store data).
Claude Chat Input (+)Step 1
Upload or add files
Plugins ›Manage plugins ↗
Web search
Step 1: Click + → Plugins → Manage plugins in Claude.
Your pluginsStep 2
All Connectors Skills Add ▾
Upload plugin
🔗 Add custom connector
Step 2: Filter by Connectors, click Add ▾ → Add custom connector, and paste your MCP URL.

Adding a Custom MCP Server in ChatGPT

  1. In the ChatGPT sidebar, click Plugins.
  2. Click Add ▾ in the top-right corner and choose Add custom MCP server.
  3. Enter a Name (e.g. Acme Store Locator), an optional Description, keep Connection set to Server URL, and paste your Omnilocal MCP URL (https://locator.omnilocal.ai/{brand}/mcp). Leave Authentication set to none for public store data and save.
ChatGPT Sidebar & PluginsStep 1
New chat
Library
PluginsAdd ▾
Step 1: Open Plugins in the ChatGPT sidebar and click Add ▾.
Add custom MCP serverStep 2
Name
Acme Store Locator
Connection Server URL Tunnel
https://locator.omnilocal.ai/{brand}/mcp
Step 2: Enter Name, keep Server URL selected, paste your MCP URL, and save.

Connecting via Gemini CLI (Developers)

Developers using the Gemini CLI can add the same Streamable HTTP endpoint to ~/.gemini/settings.json and verify with gemini mcp list:

{
  "mcpServers": {
    "acme-store-locator": {
      "httpUrl": "https://locator.omnilocal.ai/{brand}/mcp"
    }
  }
}

Exposed MCP Tools

Tool NameDescription
search_locationsProximity & attribute search returning structured store coordinates, distance, hours, and services.
lookup_locationsBatch lookup of authoritative store records by clientid array.
find_nearby_locationsNatural-language address/city/postal proximity search with dynamic custom attribute filtering.
get_location_detailsComplete profile, services, hours, and contact metadata for a single store.

Test Your MCP Endpoint via curl

curl -X POST "https://locator.omnilocal.ai/{brand}/mcp" \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "search_locations",
      "arguments": { "address": "Chicago, IL", "radius": 20, "limit": 5 }
    }
  }'

2. Automatic /llms.txt Crawler Guidance

Every brand workspace also automatically serves https://locator.omnilocal.ai/{brand}/llms.txt (and https://stores.yourbrand.com/llms.txt on custom CNAMEs) so AI crawlers discover your live MCP endpoint, XML sitemap, and structured store pages automatically.

3. Bonus: Using Google Merchant Center? (Optional UCP Support)

If your brand happens to use Google Merchant Center (or Shopify) for Google AI Mode shopping experiences, Omnilocal also automatically publishes a Universal Commerce Protocol (UCP) discovery manifest pointing directly to your MCP server—no extra configuration required:

GET https://stores.yourbrand.com/.well-known/ucp
# or on your hosted brand path:
GET https://locator.omnilocal.ai/{brand}/.well-known/ucp

This lets Google Merchant Center / Gemini shopping agents resolve live store availability, pickup eligibility, hours, and services from your 1st-party MCP tools (search_locations and lookup_locations) rather than relying on stale aggregator feeds.

Data Management & Automation

File Uploads, Column Mapping & Automated Syncs

Upload CSV, TSV, XLSX, XLS, or JSON store files manually—or eliminate manual work with scheduled Daily, Weekly, or Monthly pulls and real-time Push Webhooks from Salesforce, Zapier, n8n, Make, or your ERP.

Important Prerequisite — Start with One Manual Upload: All automated upload pipelines (Google Sheets, HTTPS URL, SFTP, HubSpot, and Push Webhooks) must begin with at least one manual upload in the Portal first. That initial manual upload establishes and saves your brand's verified column headers and field mappings so every future automated sync ingests cleanly without guesswork.

1. Standard (System) Columns — Auto-Mapped

Omnilocal automatically recognizes and maps your spreadsheet headers to our 13 canonical system columns—supporting standard English, European (DE/FR/ES/IT/NL/PT), Japanese Kanji, and Cyrillic column names:

System ColumnPurposeExamples of Auto-Mapped Headers
clientidUnique store identifier (recommended)store_id, store_number, clientkey, location_id, dealer_id
nameStore / location display namestore_name, location_name, business_name, title
address1 / address2Street address & suite/unitaddress, street_address, line1, suite, unit
city / state / provinceCity and State / Provincetown, locality, st, region, prov
postalcode / countryPostal/ZIP code & 2-letter ISO countryzip, zipcode, postcode, country_code
latitude / longitudeOptional pre-geocoded coordinateslat, lng, lon, y, x
phoneStore telephone numberphone_number, telephone, tel, main_phone
accuracyGeocode accuracy indicatorgeoresult, geocode_accuracy

Sample CSV File

clientid,name,address1,city,state,postalcode,country,phone,latitude,longitude,services
1001,Downtown Flagship,420 W Main St,Cleveland,OH,44113,US,216-555-0100,41.4993,-81.6944,"Curbside Pickup,EV Charging"
1002,Westside Express,1580 Detroit Ave,Lakewood,OH,44107,US,216-555-0142,41.4820,-81.7982,"24-Hour Drive-Thru"

2. Custom Columns & Header Normalization

Every column in your file that does not map to a standard system column is automatically preserved as a custom column—making it immediately usable in REST API where filters, Web Component criteria & sorting, and Local Page {{attributes.*}} merge tokens.

To guarantee safe querying across all APIs and templates, custom column headers are normalized automatically:

  • Converted to lowercase with spaces, hyphens, and special characters replaced by underscores (e.g., EV Charging? → ev_charging).
  • Leading/trailing underscores are stripped; headers starting with a digit are prefixed with col_ (e.g., 24hr Drive-Thru → col_24hr_drive_thru).

3. Reserved Word Exclusions

Avoid naming custom columns after these reserved words:

select, from, where, order, group, limit, offset, table, index, key, default, null, values, and, or, in, like, between, join, union, create, update, delete, insert, set, case, when, then, attributes, rowid

If your spreadsheet contains a reserved word header, Omnilocal automatically prefixes it with attr_ (for example, order becomes attr_order and default becomes attr_default) so your upload succeeds safely without errors.

4. Supported Automated Connectors (Portal → File Upload → Automated Syncs)

ConnectorDirectionAuth & Notes
Google SheetsScheduled PullShare link ("Anyone with the link — Viewer"); supports specific tab #gid=.
HTTPS Feed URLScheduled PullCSV, TSV, XLSX, XLS, or JSON URL with optional encrypted Bearer/Basic Auth + SSRF protection.
SFTP ServerScheduled PullHost, port, username, remote file path + encrypted password or SSH private key.
HubSpot CRMScheduled PullEncrypted HubSpot Private App Access Token (pat-...) pulling companies or custom objects.
Push WebhookReal-Time PushSHA-256 hashed Bearer token for Salesforce Flow/Apex, Zapier, n8n, Make, GitHub Actions, or ERP cron.

Push Webhook Example (curl / Salesforce / Zapier / n8n)

curl -X POST "https://locator.omnilocal.ai/webhooks/upload/{brandSlug}?mode=full_replace" \
  -H "Authorization: Bearer wh_your_generated_token" \
  -H "Content-Type: text/csv" \
  --data-binary @locations.csv
Salesforce Integration: Create a Named Credential or HTTP Callout in Salesforce Flow (or a Scheduled Apex job) that POSTs your exported CSV/JSON payload to /webhooks/upload/{brandSlug} with your Bearer token—no fragile per-org Connected App OAuth required.

Global Character Encodings (Kanji, Cyrillic, Arabic & Hebrew Ready)

Uploaded and fetched files automatically detect and decode UTF-8 (with/without BOM), UTF-16LE/BE (Excel Unicode Text), Shift-JIS (legacy Japanese Kanji/Kana CSVs), and Windows-1251 (legacy Cyrillic CSVs) with zero mojibake, and auto-map European, Japanese Kanji, Cyrillic, Arabic, and Hebrew column headers out of the box.

Architecture & Governance

Enterprise Resiliency, Auditing & Data Recovery

Engineered on multi-region Google Cloud infrastructure and Cloudflare's global edge network for 99.99% high-availability uptime and zero-drama enterprise operations.

Multi-Region Google Cloud Scalability & Isolation

Multi-Region Auto-Scaling Compute

Stateless Google Cloud Run read-only clusters auto-scale horizontally across multiple Google Cloud regions behind Cloudflare's global CDN—absorbing viral retail traffic spikes without manual capacity planning.

Isolated Read/Write Ingestion Plane

Heavy nightly file uploads and geocoding execute on dedicated Read/Write workers completely isolated from live shopper search clusters, eliminating database lock contention during peak hours.

Dedicated Per-Brand Database Isolation

Every brand operates on its own completely isolated database—your location data is never co-mingled with any other brand's data, ensuring strict data separation, zero noisy-neighbor impact, and independent versioned backups.

Cloudflare Edge HTML Caching & Regional Delivery

Hosted locator HTML pages, local landing pages, state/city directories, and static assets are cached at Cloudflare's global edge and served regionally nearest to each shopper—delivering fast, efficient page loads with zero load on database response servers.

Data Protection, Auditing & One-Click Recovery

  • Empty-File & >50% Mass-Deletion Circuit Breakers: Automatically rejects 0-row files and aborts any full_replace that would deactivate >50% of active stores—stopping truncated ERP exports before they reach production.
  • One-Click Database Version Recovery: Every upload automatically preserves prior database versions. Operators can revert to any previous version in one click from File Upload → DB Version History (taking a safety snapshot before restoring so even a revert is reversible).
  • Immutable Upload Activity & Per-Location Audit Trail: Every manual upload, scheduled sync, and Portal edit records exact row counts (+added / ~updated / -deleted / geocoded) plus field-level { old, new } diffs attributed to the exact user or job.
  • Security & Encryption: AES-256-GCM encrypted connector credentials, SHA-256 hashed webhook tokens, and per-brand API rate limits with server IP whitelisting.

Multi-Level Admin RBAC & Territory Governance

Delegate store management safely across agencies, franchisees, and regional managers with server-enforced Role-Based Access Control:

  • Component-CRUD Permissions: Assign preset or custom roles per Portal section (for example, allowing an editor to update store details without delete privileges, or granting read-only analytics access).
  • Visual Territory Row Filters: Scope individual operators to specific geographic territories or store segments (such as state = 'IL' or specific dealer tiers), enforced server-side on every query and mutation.
  • Multi-Brand Workspaces & Secure Onboarding: Manage multiple brands from one Portal with instant workspace switching and provision new operators securely via one-time Firebase Password Setup Links.
Internationalization & Reporting

Global i18n, RTL Support, Maps & Tag Manager Analytics

Deploy across North America, EMEA, APAC, Latin America, and the Middle East with built-in RTL layout support, zero map-licensing surprises, and automatic enterprise analytics integration.

Localization & onTranslate Hook

Omnilocal natively supports global postal formats, international administrative regions (US states, Canadian provinces, Mexican estados, and UK/no-state cities), country-grouped /locations directories, ccTLD domains (.ca, .fr, .ch, .jp, .ae), and runtime UI string translation via window.onTranslate, finder.onTranslate, the declarative translations attribute, or cross-origin postMessage for iframes. See all 24 English strings and unit-conversion examples in the Translation Guide (PDF) →

Right-to-Left (RTL) Support (Arabic, Hebrew, Persian & Urdu)

<location-finder> natively supports Right-to-Left languages inside its Shadow DOM with zero extra CSS required:

  • Automatic Detection: If your host page declares <html lang="ar"> or <html lang="he">—or if you set lang="ar" / lang="he" (also iw, fa, ur) directly on <location-finder>—the component automatically switches to dir="rtl".
  • Explicit Control: Pass dir="rtl" (or dir="ltr" to override an RTL host page) directly on the <location-finder> tag. Both dir and lang are reactive attributes and update layout direction immediately if changed dynamically.
  • Bi-Directional Safeguards: Store card indents and notification borders use CSS logical properties (padding-inline-start, border-inline-start), while phone links are automatically isolated in LTR (direction: ltr; unicode-bidi: isolate;) so international numbers like +971-4-555-0199 never invert punctuation or digits.
<!-- Example: Arabic RTL store locator with km conversion -->
<script>
  window.onTranslate = function (text, tokens) {
    if (text === "${distance} mi" && tokens.distance) {
      return (parseFloat(tokens.distance) * 1.60934).toFixed(1) + " كم";
    }
    const ar = {
      "Enter city, state, or postal code...": "أدخل المدينة أو الرمز البريدي...",
      "Search": "بحث",
      "Locations": "الفروع",
      "Directions": "الاتجاهات",
      "No Locations Found": "لم يتم العثور على فروع"
    };
    return ar[text] || text;
  };
</script>
<location-finder
  api-key="YOUR_BRAND_API_KEY"
  brand-id="your-brand-slug"
  lang="ar"
  dir="rtl"
></location-finder>

Zero-Cost Unlimited OpenStreetMap (+ Optional Google Maps BYOK)

Interactive maps render out of the box with zero-cost, unlimited OpenStreetMap vector tiles—no mandatory Google Maps Platform billing. Brands with existing Google Maps agreements can optionally supply their own Google Maps API key via google-api-key or in the Portal.

Automatic Tag Manager Dispatching (GTM, Tealium iQ & Adobe Analytics)

Every shopper interaction is automatically pushed to whichever enterprise tag manager is already loaded on your page—no custom JavaScript glue required. By default, Omnilocal auto-detects window.dataLayer (GTM), window.utag.link (Tealium), and window.adobeDataLayer / window.s.tl (Adobe). You can also lock a specific platform via tag-manager="gtm|tealium|adobe" or customize the event prefix with gtm-event-prefix="yourprefix" (default: omnilocal).

Dispatched Events & Payload Fields

Event Name (Default Prefix)When It FiresKey Payload Fields
omnilocal_widget_loadLocator finishes loadinghost, pathname, mode, brand
omnilocal_searchShopper submits a proximity searchquery, radius, count, latitude, longitude, brand
omnilocal_region_filterShopper selects a Country or Statefilter, count, brand
omnilocal_store_selectShopper clicks a store card or map pinstoreUid, storeName, address1, city, state, postalcode, distance
omnilocal_get_directionsShopper clicks "Directions"Store details & action: "get_directions"
omnilocal_phone_callShopper clicks a store phone linkStore details & action: "phone_call"

Example Data Layer Payload

{
  "event": "omnilocal_search",
  "action": "search",
  "timestamp": "2026-11-27T18:10:00.000Z",
  "brand": "acme",
  "query": "Austin, TX",
  "radius": 25,
  "count": 8
}

1. Google Tag Manager (GTM) Setup

  1. Create Data Layer Variables: In GTM, go to Variables → User-Defined Variables → New → Data Layer Variable and create variables for the fields you want to report in GA4 (e.g., query, radius, count, storeName, city, state, distance).
  2. Create a Custom Event Trigger: Go to Triggers → New → Custom Event. Set Event name to omnilocal_search (or enable Use regex matching and enter ^omnilocal_(search|store_select|get_directions|phone_call)$ to capture all conversions with one trigger).
  3. Create Your GA4 Event Tag: Go to Tags → New → Google Analytics: GA4 Event, set Event Name to {{Event}}, attach your Data Layer Variables under Event Parameters, select your Custom Event Trigger, and Preview & Publish.

2. Tealium iQ Setup

Omnilocal automatically calls window.utag.link({ tealium_event: "omnilocal_search", ... }) whenever utag.link is present on the page.

  1. Define UDO Variables: In Tealium iQ, go to Data Layer → Add Variable (Type: UDO Variable) and add tealium_event, action, query, count, storeName, city, state, and distance.
  2. Create a Load Rule / Tag Mapping: Under Load Rules (or directly in your analytics tag's Data Mappings), match tealium_event equals omnilocal_search (or starts with omnilocal_) and map those UDO variables to your downstream GA4, Adobe, or paid-media tags.
  3. Save & Publish your Tealium profile.

3. Adobe Analytics / Adobe Data Collection (Launch) Setup

Omnilocal automatically pushes { event: "omnilocal_search", omnilocal: { ... } } to window.adobeDataLayer (Adobe Client Data Layer), or falls back to window.s.tl(true, "o", eventName, eventData) for legacy AppMeasurement.

  1. Ensure the ACDL Extension is Installed: In Adobe Experience Platform Data Collection (Tags/Launch), confirm the Adobe Client Data Layer extension is enabled.
  2. Create Data Elements: Go to Data Elements → Create New Data Element (Extension: Adobe Client Data Layer, Type: Event Info) for paths such as omnilocal.query, omnilocal.count, omnilocal.storeName, omnilocal.city, and omnilocal.distance.
  3. Create a Rule: Go to Rules → Create New Rule, add an Event (Adobe Client Data Layer → Data Pushed → Specific Event) matching omnilocal_search, omnilocal_store_select, omnilocal_get_directions, or omnilocal_phone_call.
  4. Configure Actions & Publish: Under Actions, map your Data Elements to your eVars/props/success events (or XDM fields if using AEP Web SDK), add Send Beacon (s.tl()), and Save & Publish.