Skip to main content
All CollectionsWM Store
How to deep link specific pages in WM Store
How to deep link specific pages in WM Store
Omeed Navabi avatar
Written by Omeed Navabi
Updated over a year ago

By default, your WM Store is designed to load your menu's "Home" page to each customer that visits your webpage.

In some cases — particularly when you want to run an ad campaign or a marketing email — you may wish to send customers to a particular menu item or a filtered menu (a filter applied to only show flower products on your menu).

WM Store allows you to accomplish deep linking to the following:

  • Single menu items

  • Filtered menus

  • Social media

  • Specific dispensaries with multiple locations

  • One or more dispensaries with multiple locations


Deep linking to a single menu item

You can direct a customer to a specific menu item's URL using a URL Path. A URL Path is the simplest way to deep link.


Let's walk through the steps below:

  1. Locate the menu item you want to deep link:

    1. Navigate to your WM Store URL.

    2. Click or tap on the desired menu item.

EXAMPLE: The menu item's URL should resemble https://your-domain.wm.store/menu/some-menu-slug


Take note of the menu item's URL Path.

NOTE: In the example above, the menu item's URL Path is /menu/some-menu-slug


2. Construct the menu item's deep link:

  • Append the store_path query parameter with the menu item's URL Path value.

EXAMPLE: store_path=/menu/some-menu-slug


3. Append your base URL with the URL Path deep link.

EXAMPLE: The final URL for the deep link should resemble https://yoursite.com/menu?store_path=/menu/some-menu-slug


Deep linking to a filtered menu

You can route customers directly to a filtered view of your menu using query parameters.

Follow the steps below:

  1. Determine the set of filters you want to deep link:

  • Navigate to your WM Store URL.

  • Apply the desired filters.

For example, the link below is a WM Store menu with a filter only to show items priced between $25 and $50.

EXAMPLE: https://your-domain.wm.store?filter[priceMin]=0&filter[priceMax]=25

Take note of the query string (all the text after the question mark).


2. Construct the menu's deep link:

  • Use the store_query query parameter and append it to the webpage hosting your WM Store embed URL.

EXAMPLE: The final URL for the deep link should resemble https://yoursite.com/menu?store_query=filter%5BpriceMin%5D%3D0%26filter%5BpriceMax%5D%3D25


The store_query expects an HTML-encoded string. If you fail to encode the desired filter query string, it results in unexpected behavior. Use this URL Encoder tool to encode filter query parameters easily.


Deep linking from social media

Deep linking to individual items in your WM Store is a powerful way to build engagement through various channels; however, sharing these deep links on social media can result in a poor user experience and a lack of engagement due to missing images or product descriptions.

To ensure the best experience across social media platforms when deep linking to a menu item, use the Social Preview functionality from WM Store.


Let's walk through the steps below:

  1. Navigate to the single menu item you want to share on social media:

  • Navigate to your WM Store URL.

  • Click or tap on the desired menu item.

EXAMPLE: The menu item's URL should resemble https://your-domain.wm.store/menu/some-menu-slug


2. Append the query parameter social_preview=true to the menu item's URL.

EXAMPLE: The final URL for the deep link should resemble https://your-domain.wm.store/menu/some-menu-slug?social_preview=true

NOTE: Remember to add a question mark before the query parameter.


In this scenario,, when customers and social media users click or tap the Social Preview link, they are redirected to https://yoursite.com/menu?store_path=/menu/some-menu-slug

Using the Social Preview URL ensures that it will contain a rich product description and photo of your menu item when the link is shared on any social media platform.


Deep linking to a specific dispensary with multi-location

If your WM Store has multiple retail locations, you can direct people to your target page — the one containing the WM Store embed — with a specific preselected retail location.

You can do this using the store_query Query Parameter. Location IDs are included in your onboarding documentation.


Follow the steps below:

  1. Determine which retail location you want to link to and note its unique Location ID.

  2. Construct the location's deep link:

    1. Use the store_query query parameter and append it to the webpage hosting your WM Store embed URL.

EXAMPLE: The final URL for the deep link should resemble https://yoursite.com/menu?store_query=locationId%3D8542


The store_query expects an HTML-encoded string. If you fail to encode the desired filter query string, it results in unexpected behavior. Use this URL Encoder tool to encode filter query parameters easily.


Deep linking to one or more dispensaries with multi-location

Deep linking works with multiple locations! Simply include the Location ID as a Query Parameter to deep-link to multiple locations.

Below are examples of deep links for a business with an 8542 Location ID.

Deep link to a specific menu item and location


Deep link to a menu or filtered menu for a specific location, with a filter to only show items priced between $25 and $50:


Deep link for social media sharing (Social Preview URL) to a specific retail location:

Did this answer your question?