How to Add a Google Map to Your Business Website

& Customize it to Make it Look Awesome

Embedding a Google Map on Your Site

If done properly, an embedded Google Map can be a great addition to your website. It’s a great tool that allows your visitors get a birds-eye view of your business, read reviews, and get turn-by-turn directions directly to your front door.

Putting a Google Map on your website is a rather simple process and doesn’t need any special programming skills in order to complete.

Follow the steps below to properly install a Google Map on your website.

We’ll use Inbound Boulder as our example.


Step 1: Go to Google Maps

The first step is to go to Google’s homepage, click on the grid next to the sign in button and select Maps (see below), or go to Google Maps directly.

How to find your Google Map

Google and the Google logo are registered trademarks of Google Inc., used with permission.


Step 2: Search Your Address

Enter your business’s full address in the search box and click the search button.

Finding your business listing in Google Maps

Google and the Google logo are registered trademarks of Google Inc., used with permission.


Step 3: Find Your Listing

You should then see a dropdown of your business listing on the left-hand side of your screen underneath the search box (see below).

If you do not see your listing, don’t worry, proceed to the next step.

Click the menu symbol in the top left corner to find the embed code link.

Selecting your local business listing in Google Maps

Google and the Google logo are registered trademarks of Google Inc., used with permission.


Click the “Share or embed map” link on the left.

Find Google Maps embed code

Google and the Google logo are registered trademarks of Google Inc., used with permission.


Then select Embed map.

Select embed code for Google Maps

Google and the Google logo are registered trademarks of Google Inc., used with permission.


Step 4: Customizing your Embedded Map

A pop-up screen should appear with the options to customize your Google Map. Here is where you select your Map settings.

Customizing your embedded map in Google Maps

Google and the Google logo are registered trademarks of Google Inc., used with permission.

Customize Map Size:
Here you can choose from one of the preset sizes or give your map your own custom dimensions.

Preview actual size:
This is where you can see how your new map will look on your website. Make sure to have the zoom and position of the map exactly how you want it.

Copy and Paste the Code:
Once you have customized your map and are ready to put it on your website, copy the <iframe> code at the top of the widget box and then paste it wherever you would like it to appear on your site. Now you’re ready to enjoy your new map!

Note: If you are doing this for a local business website, we strongly suggest you continue with Step 5.


Step 5: Add Schema Markup (optional)

In short, is a collection of HTML tags that Google, Bing, and Yahoo! came together to create so webmasters can properly markup their sites so search engines can properly “digest” or crawl what’s inside. Marking up your website with the correct code can greatly increase your visibility in search engines.

Or in this case, properly label your Google map so they know which location is correct for your business.

But can’t they figure this out on their own without this additional code? In short, yes. The search engines of today have become really smart and are great in figuring out all of your business’s information when they crawl your site.

However, they don’t always get it right and schema markup makes their job a lot easier by designating which content is which and also allows your information to possibly be displayed in their knowledge graph and/or local pack (Carousel).


How to Markup your Google Map code with (for a Local Business):

The gray code below is the Google Map <iframe> that was copied from Step 3. The red code is the new markup that we added.

Note: To get the URL needed to place in the new link, visit the embed map section in Step 3 and copy the “Share link” URL.

If you’d rather link to a shorter and more specific URL, use your Google Map CID Number URL instead.


<div itemscope itemtype="">

<iframe src="yourLongGoogleMapURL" width="400" height="300" 

frameborder="0" style="border:0"></iframe>

<a itemprop="hasMap" href="yourGoogleMapUrl">Get Directions</a>



When completed, make sure to test your new markup with Google’s Structured Data Testing Tool to make sure it doesn’t have any errors.


Embedded Google Map Example & Code

Google Map Embed Code:

<iframe src="!1m18!1m12!1m3!
1sen!2sus!4v1519683895604" width="600" height="450" 
frameborder="0" style="border:0" allowfullscreen></iframe>



That’s it! Now just paste the code onto your website and you’re done.

If you need help or have any questions, please say so in the comments below. If you’re in a rush or need someone to do it for you, feel free to contact us and we’ll be happy to help.

The following two tabs change content below.

Ryan Bradley

Digital Marketing Director at Inbound Boulder
Ryan Bradley is a Digital Marketing Director and WordPress Developer at Inbound Boulder. Follow him on Twitter.


  1. Excellent run-through,

    Every local online business needs to do this to help strengthen their local standings.

    • Thanks Andy. Indeed, anything we can add to our sites that will help with the user experience will not only help with local rankings, but increase conversions as well.

  2. This is a great post – thanks. I’m curious – if you enter the business address and the business name does NOT pop up like in step 3 above would you consider that to mean there is a problem with the google+ local listing? The address marker shows up but not the business name as in your example.

    • Hi Shonda. Not necessarily, it could either be from that or due to recent edits that have been made.
      See Google’s response to that question.

      If the address marker is showing up and not your name, I wouldn’t worry about it in the short term. Just continue with the steps and try adding the code to it as well. Another thing you can try is to enter your business name in the Google Maps search box instead of the address. You should see your business listing pop up then. If not, I would update/verify your local listing.

  3. Is there anyway to add a google map that has a search bar included so web visitors can search for restaurants, shopping, etc from my website?

  4. Great post! I just added the map and schema to my new site 🙂

  5. Thanks for sharing this! I will follow your steps.

  6. I used the embedded map API on my website and when I click ‘more options’ via a mobile browser, I get the popup for the Google Maps app. However, it only allows a ‘Preview’ of the route and not directions to the destination. Please advise, am I using the API incorrectly? I am just a newbie, many thanks!

  7. For the current elements needed for, the Structured Data Testing Tool now is asking for an image. Do you recommend using an img src tag or something else?

    Thanks for your thoughts and a great article.

    • The example in the post just shows the hasMap property in isolation and is definitely not a full LocalBusiness structured data example. With that being said, yes, I would add an image property as well as any other required properties mentioned in Google’s testing tool.

  8. Hello, can you please tell me if my code is right?

    Get Directions

    • Hey – Yes, that seems to be the correct link to your business. Though that’s just the link to your business listing on Google Maps, you would need the embed code as well for the map to show on your website page.

  9. I want to add a Google Map to my website but I want the map to show only my business. Is that possible?

    • Not using the traditional embed tool, you might want to try using the Google Maps API.

  10. When I click embed in Google Maps, it doesn’t give me the option to customize the size or the zoom and when I embed in on my website. I have to scroll to get it in the right place. How do I fix that, please?

  11. Hi, I use this post all the time as a guide for adding Google maps. Thanks!

  12. Thanks for breaking down how to add a Google Map to my website, loved it!

  13. Excellent post mate, this helped me in adding map on one of my site! Kudos..

  14. Hi, whenever I add an address on my website I would to display that address automatically on the Google Map. I have multiple locations for my business and don’t want to embed a map for each one, is there any way to do this using any code?

    • Hi Vimala – that’s a little advanced for this basic embed function of Google Maps, but you may be able to come up with a solution using the Google Maps API. They allow you to utilize a number of great features.

  15. I have made the map for my business website following your instructions and have generated and copied the iframe code for my map and have copied the red code for you have given on this page at the top and bottom of the iframe map code for my website. Do I also need to put the map URL into the HTML code, if so, whereabouts do I put it? Thank you for your help.

    • Yes, you will need to put your unique map URL in the “hasMap” section of the Schema code. You can find your maps URL here and/or here.

  16. I want to use google maps for a nonprofit website. Are there charges or licensing agreements required for embedding Google Maps? I’ve read some of the Terms of Agreement that Google has, but it’s going over my head. Thanks.

    • You should be fine without linking to anything extra, especially if you have your own Terms page. If you check the embed example at the end, you’ll see that Google automatically slips in a link to their Terms of Service page directly in the bottom right corner of the embedded map.

  17. How do I remove the Google Maps reviews?

    • The only way to do it in the context of this post is to play with height/width of the embedded map, usually by making it smaller. The only other way to play with the settings of a map would be utilize Google’s API.

  18. What information does Google Maps collect (the cookie) about a user when they interact with it on a site?

  19. Thanks for this. My web developer did it initially but suddenly got an error on my website saying Google had changed things. I’ve been able to add it myself with your instructions rather than our web developer charging me to fix something I think they should be fixing anyway. We’ll see if we’re allowed to keep it…

  20. When I add the code to the website, all that I see is code. How do I get the map back from the code?

    • Are you using WordPress? If so, make sure you’re pasting the code in the ‘text’ section and not the visual.

  21. Hi, thanks for these instructions – very handy! I was wondering if you could include the left-hand key/legend when embedding in the same way as it’s displayed when creating it?
    I have a list of locations that I want users to be able to see overall, then click on each one to see them highlighted on the map.
    With the default embedding, you can’t see the overall list, just the points on the map and only see what they are called when you click on them individually. Thanks.

  22. Is there a way to add a custom logo instead of the usual red marker for the location?
    Many thanks for the great post Ryan, keep it up mate.

  23. Is there a way to have an embedded map on my website that can be more interactive? By interactive, I mean that if I have a table with several data including GPS coordinates for each, could it be possible to link those data to my map and add a pin on it?
    Thank you very much in advance for your help and advice!

Submit a Comment

Your email address will not be published. Required fields are marked *

Pin It on Pinterest