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

Ryan Bradley is an avid digital marketer and WordPress developer at Inbound Boulder. Follow him on Twitter.
Website pagespeed test

9 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!

Submit a Comment

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

Pin It on Pinterest