How to Add a Google Map to Your Business Website

and 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, Schema.org 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 schema.org 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 Schema.org (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 schema.org 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.

 

<div itemscope itemtype="http://schema.org/LocalBusiness">

<iframe src="yourLongGoogleMapURL" width="400" height="300" frameborder="0" style="border:0"></iframe>

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

</div>

 

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.

 

Conclusion

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.

21 Comments

  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 Schema.org 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 schema.org/LocalBusiness, 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.

Submit a Comment

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

Pin It on Pinterest