Guide · 5 min read · Updated 27 November 2026

How to add Google Maps and a “Get directions” button to your website

For a shop, clinic, salon or restaurant, “how do I get there?” is the last question before someone visits. Answer it on your website in one tap. You don’t need an API key or a developer for either of the methods below.

First: make sure your Google listing is right

Both methods point to your Google Maps listing, so check it first: search your business name on Google Maps and confirm the pin, address, hours and phone are correct. If you haven’t claimed it, do that at business.google.com.

Option 1: a “Get directions” button (best on phones)

On a phone, a button that opens Google Maps navigation beats a small embedded map. Use Google’s official directions link:

https://www.google.com/maps/dir/?api=1&destination=Sugar+%26+Co+Andheri+West+Mumbai

Replace the destination with your business name and area exactly as it appears on Google Maps. Or open your listing in Google Maps, tap Share, copy the short link (maps.app.goo.gl/…) and use that as the button link.

Tip: Label the button “Get directions” and put it next to your address, near your phone and WhatsApp buttons.

Option 2: embed a map

  1. Open your business in Google Maps on a computer.
  2. Click Share → Embed a map.
  3. Pick a size and click “Copy HTML”.
  4. Paste it into your page (WordPress: Custom HTML block; Wix: Embed → Embed a site/Custom code; Shopify: a Custom Liquid section).

Add loading="lazy" inside the copied <iframe …> tag so the map doesn’t slow down the rest of your page.

Help Google connect the dots

  • Write your address on the site as text (not just in an image), exactly as on your Google listing.
  • Use the same business name and phone number everywhere: website, Google, Instagram, Justdial.
  • Ask your developer to add LocalBusiness schema with your address and hours.

Check your site

The free website check looks for a Maps link or embedded map, tap-to-call, WhatsApp, and whether Google can read your business details.

Written by Viraj Domadia, a full-stack developer in Bengaluru who builds websites, booking systems and automation for small businesses.