A Directions menu item sends visitors to Google Maps with the store already set as the destination. Because the URL uses a token, 1 menu item in the template works for every store. The same token approach works in campaign URLs.

Before you begin

  • Each store has a complete address. See Add or update a store's address.
  • You know which template the item belongs in: the default, or a template for particular stores.

Steps

  1. In the left navigation, select Platform Admin.
  2. Under Enabled Features, select Mobile Store Sites, then select the template.
  3. Select Add Menu Item.
  4. Name the item, for example Directions, and choose an icon.
  5. For the URL, enter a Google Maps directions link with a store token as the destination, for example https://www.google.com/maps/dir/?api=1&destination=${StoreName}.

    The platform replaces the token with the store's own value when the site loads, so the destination is different for every store.

  6. Select Open in New Tab, so Google Maps opens in the visitor's maps app or browser rather than inside the site.
  7. Under the states, tick Show in Away from Store State. Untick the states in which directions are not useful.
  8. Select Save, then Save Changes.
The same directions URL, with the same token, can be used as a campaign's Campaign Landing Page URL on the Campaign Brief tab, which also offers + Add Token.

Verify it worked

Scan the store's QR code on a phone. The Directions item appears in the menu, and selecting it opens Google Maps with that store as the destination.

Next step

Create a mobile site template for a concierge kiosk