How to add google Map

A Google map can be shown on your shop's Contacts page (https://yourdomain.smarton.app/shop/contact). The shop needs the map's embed address, which you copy from Google Maps.

1. Copy the embed address from Google Maps

  1. Open Google Maps and find your business or address.
  2. Click Share, then the Embed a map tab.
  3. Click Copy HTML.
  4. Paste it into any text editor and copy only the address between the quotation marks after src=. It starts with https://www.google.com/maps/embed?pb=. Don't copy the quotation marks.

It looks like this:

https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2305.993854887665!2d25.279296716351823!3d54.69213578028309!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x46dd954d8a2e677d%3A0x35ec75dc0c4735cf!2sUAB%20Smarton%20systems!5e0!3m2!1sen!2slt!4v1671026414797!5m2!1sen!2slt

An ordinary Google Maps link (from the address bar or a share link) and the whole HTML code don't work: only the embed address does.

2. Paste it into the shop options

  1. Open Sales → Customers → Shop options.
  2. In the googleMapsLink row (1), paste the address into the Value field and press Enter.

The googleMapsLink row

The result

The map is shown across the Contacts page, under the contact form.

The map on the Contacts page

A Bing map is added the same way, in the bingMapsLink row.

A map on a page built in Shop pages

Pages you build in Customers → Shop pages have their own Map element, which needs no link. It shows the address you type in its Address setting (1), or your shop's address (shopAddress in Shop options) when that is empty. Height sets its size; with Advanced settings ticked you can also set the zoom. See Shop page builder.

The Map element in the page builder

Video

The video was recorded with an earlier version of SmartOn, so some screens look different now. The steps above are the current ones.