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+MumbaiReplace 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
- Open your business in Google Maps on a computer.
- Click Share → Embed a map.
- Pick a size and click “Copy HTML”.
- 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.
More guides
- How to make your business website load faster on mobile
- How to get more Google reviews for your business (the right way)
- How much does a website cost for a small business in India? (2026)
- How to add your business to Google Maps (Google Business Profile, step by step)
- How to set up WhatsApp Business for your shop (a practical guide)
Written by Viraj Domadia, a full-stack developer in Bengaluru who builds websites, booking systems and automation for small businesses.