Need help embedding my Google Business Map on my website

I’m trying to embed my Google Business Map on my small business website, but I’m confused by the different code snippets and settings in Google Maps and Google Business Profile. I’m not sure which embed option is correct, how to keep it responsive on mobile, or if there are SEO best practices I should follow. Can someone walk me through the right way to embed a Google Business Map so it displays properly and helps local SEO

Here is the simple way to embed your Google Business location on your site without overthinking all the code snippets.

  1. Do not use Google Business Profile for the embed
    The public facing map lives on Google Maps, not inside the Business Profile dashboard.
    You want the embed code from maps.google.com.

  2. Get the correct place on Google Maps
    • Go to https://maps.google.com
    • In the search box, type your business name exactly like it appears on your Business Profile
    • Click your listing in the left panel so the info card for your place shows up
    • Make sure the pin on the map is on your place, not on the street or some weird nearby point

  3. Grab the official embed code
    • On desktop, click the “Share” button in the info card
    • Switch to the tab “Embed a map”
    • Pick the size (Small, Medium, Large, or Custom)
    • Copy the iframe code you see. It starts with:

    <iframe src='https://www.google.com/maps/embed?pb=...'

    That iframe is the correct code. Ignore any raw JavaScript API examples unless you are writing custom code with an API key.

  4. Add it to your website
    • If you use WordPress:

    • Edit the page where you want the map

    • Add a “Custom HTML” block

    • Paste the iframe code

    • Update the page
      • If you edit plain HTML:

    • Paste the iframe inside the body where you want it, for example:

  5. Ignore the “embed a map” links that do not have /maps/embed in the URL
    If the code you see uses:

    or asks for an API key, that is not needed for a basic business map on a small business site.
  6. Quick settings to tweak
    • width / height: match your layout, like width=‘100%’ and height=‘400’
    • loading=‘lazy’: keeps page load faster
    • style=‘border:0;’: removes the border line

  7. Common confusions
    • “Share link” vs “Embed a map”

    • “Send a link” gives you a URL to share.
    • “Embed a map” gives you the iframe for your site. Use this one.
      • Multiple locations
    • If your business has several locations, repeat the same process for each location page.

If you paste the iframe and see a blank area or partial map, post the exact iframe code you used and your site builder name. That makes it easier to spot if your editor stripped something out.

@reveurdenuit covered the basic “how to embed” part really well, so I’ll just hit the stuff that usually goes wrong after you paste the iframe in, and some choices you actually have to make.

  1. Make sure you’re embedding the place, not just the coordinates
    When you grab the embed from Google Maps, look inside the iframe src.

    • A proper “place” embed usually has !1s followed by your business info in the long pb= string.
    • If you just right‑clicked random spot on the map and hit “What’s here?”, you might get a generic lat/long style embed that does not show your business name panel, reviews, etc.
      If that’s what you see, go back, click your actual business listing on the left, then hit Share → Embed again.
  2. Put the map in a responsive wrapper
    The default code is not mobile friendly. Instead of relying on the static width='600' height='450' in the iframe, wrap it like this and let CSS handle it:

    <div class='map-container'>
      <iframe
        src='https://www.google.com/maps/embed?pb=...'
        style='border:0;'
        allowfullscreen=''
        loading='lazy'
        referrerpolicy='no-referrer-when-downgrade'>
      </iframe>
    </div>
    

    And in your CSS:

    .map-container {
      position: relative;
      padding-bottom: 56.25%; /* 16:9 ratio */
      height: 0;
      overflow: hidden;
    }
    
    .map-container iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: 0;
    }
    

    That fixes the classic “giant map on desktop, tiny mess on phone” problem.

  3. Watch out for builders that strip iframes
    Some site builders or page builders have a “rich text” block that silently kills <iframe> tags.

    • If you paste the code and then it vanishes or turns into plain text, you’re in the wrong block.
    • Look for “HTML”, “Custom code”, “Embed” or similar.
      On some cheapy themes you literally need a dedicated “embed” element or it won’t save.
  4. Decide: basic iframe vs API map
    @reveurdenuit says to ignore the JS API, and for most small biz sites I agree. It is overkill.
    But if you ever need things like:

    • Custom markers
    • Map styles that match your brand
    • Hiding points of interest or labels
      Then the JavaScript API with an API key is the right choice, not “wrong.”
      For you right now though, a standard iframe is probably the cleanest. Just know that the extra code you’re seeing is not “fake” or “wrong,” it’s just a different level of complexity.
  5. Check that it’s actually your live listing
    Slightly annoying, but important:

    • Make sure you are not viewing some “preview” version from inside your Business Profile dashboard.
    • Open an incognito/private window, go to maps.google.com, search your business, and grab the embed there.
      That guarantees you’re using the same public listing customers see, not some half-updated version you only see while logged in.
  6. If the map shows a gray box or “refused to connect”
    Usual culprits:

    • Extra characters or smart quotes if you copied from a doc editor. Re-copy directly from Maps → paste directly into your site.
    • Your builder sandboxing iframes with weird security settings. Then you may need their “embed” widget instead of raw HTML.
    • Rare but real: some “cookie banner / privacy” plugins block third-party iframes until consent. Test with all that temporarily disabled to see if that’s the cause.
  7. Minimal version that works for 90% of cases
    If you’re just trying to stop losing time and you don’t care about perfection, your iframe can be as simple as:

    <iframe
      src='https://www.google.com/maps/embed?pb=...'
      width='100%'
      height='400'
      style='border:0;'
      loading='lazy'
      referrerpolicy='no-referrer-when-downgrade'>
    </iframe>
    

    If that shows your business name & pin, you picked the right embed option and you can ignore all the API/key stuff completely.

If you post which builder you’re using (WordPress, Squarespace, Wix, hand-coded, etc.) and the iframe snippet (remove your pb= part if you’re paranoid), it’s usually pretty quick to see why it’s not behaving.

Skip the Business Profile screens and all the API-key noise for a second and figure out why the embed feels confusing. It usually comes down to these four things after you already have the iframe from Maps.

  1. Check what the map actually shows

    • If your embed is centered on the street and not clearly on your business, visitors get zero trust from it.
    • Zoom and position matter: open the same URL in a new tab, adjust zoom/angle, then grab a fresh embed so the default view is usable.
    • Street View embeds are tempting, but they age badly when Google updates imagery. Stick to the standard map unless your storefront is hard to spot.
  2. Decide how “loud” the map should be
    A Google Business Map can help or hurt the page, depending on where you drop it.
    Pros:

    • Social proof: the panel shows reviews and name, which is great near testimonials or contact info.
    • Direction friction: visitors can instantly open directions on mobile.
      Cons:
    • Visual clutter: on a minimal design, the default colors fight your branding.
    • Distraction: people zoom around instead of hitting your contact or booking button.
      A practical compromise is to keep the iframe smaller and pair it with a clear call to action: “Get Directions” or “Book an appointment.”
  3. Make it play nice with your layout builder
    @reveurdenuit already covered the raw HTML approach. What often causes trouble is how builders handle iframes.

    • Some WordPress page builders have a specific “Google Maps” element that uses their own API setup. I actually recommend not mixing that with the Business embed. Pick one system and stick with it to avoid double-loading Maps scripts.
    • If you see your map working in preview but not live, caching or optimization plugins may defer or strip things. Try excluding that page from “HTML minification” temporarily and recheck.
    • If your builder insists on its own “Map widget,” turn off that widget and only keep your Google Business iframe. Two maps on the same page can tank performance.
  4. Privacy, cookies, and legal bits
    This part gets ignored until someone in the EU complains.

    • A Google Business Map iframe sends requests to Google servers and can be considered third‑party content.
    • For privacy‑sensitive sites, consider a “Click to load map” pattern: show a static image of the map with a button that swaps in the iframe only after a click.
    • That keeps page load light and also avoids loading external scripts until the user actually wants directions.

About the mysterious “correct” embed option:

  • @nachtschatten is right that the simple iframe from Maps is the clean solution for most small businesses.
  • I slightly disagree on never touching the API side. If you run a more complex site with filters, multiple branches on one interactive map, or want brand‑colored map styles, the JavaScript API is worth it despite the extra setup.

On the product title you mentioned, “Google Business Map embed for small business websites” has its own pros and cons if you treat it like a core feature on your contact page:

Pros:

  • Visitors instantly recognize the Google interface.
  • Shows your star rating and address in one familiar widget.
  • Improves “find us” UX on mobile with quick access to the Maps app.

Cons:

  • Third‑party dependency: if Google changes layout or terms, your page changes with it.
  • Might slow the page’s first paint slightly, especially with other heavy widgets.
  • Design control is limited unless you wrap it in a more styled container.

Competitors like what @nachtschatten and @reveurdenuit walked through basically share the same end goal: one uses a more “here’s the simple method” approach, the other adds extra nuance on responsive behavior and edge cases. Use their steps to get the iframe working, then use the points above to decide how and where that map fits so it feels like part of your site, not just pasted-in code.