Use Cases
These are the situations we had in mind when building Smart Local Google Maps. They are our suggestions, not a limit. Your site will have its own needs, so adapt them as you see fit, and you may well find a use for it that we haven't thought of.
Contact page with a map
- Situation: your contact or location page shows a Google Map, and you want it to load only after the visitor agrees.
- How it can help:
- Replace the pasted iframe with
{smartmap address="Your street, Your city"}and get a consent-ready map with no embed code - Add a "Get directions" link under the map
- Replace the pasted iframe with
Maps that come from other extensions
- Situation: maps reach your pages through a page builder, an events component or a dedicated maps extension, and you cannot change their output.
- How it can help:
- Built-in detection covers Widgetkit, YOOtheme Pro, SP Page Builder, Phoca Maps, JEM, Event Booking and more
- For anything else, add a custom regex pattern and check it with debug mode
Maps inside article content
- Situation: several maps sit inside articles, and a floating banner would feel out of place.
- How it can help:
- Choose the inline position: each map is replaced by a placeholder in its own place, sized like the map
Audience across regions
- Situation: you want the consent box shown to visitors with EU, EEA or UK browser languages, and other visitors handled differently.
- How it can help:
- Turn on geo-detection, which reads the browser language and uses no external API
- Choose what happens for other visitors: auto-agree, show the consent box, or skip the plugin
Consent box that matches your brand
- Situation: the consent box needs to fit your site's design and wording.
- How it can help:
- Choose a theme or custom colors, including dark mode
- Pick a position and animation
- Set your own title, text and privacy policy link
Demo or preview site
- Situation: you want to show the consent box, or preview its settings before going live, without blocking real maps.
- How it can help:
- Turn on demo mode on one page: the box always appears and no cookie is saved