> ## Documentation Index
> Fetch the complete documentation index at: https://storekit.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Linking to Your Menu from Ads and Social

> Build storekit menu links for Google Ads, Shopping, Instagram and email: link to a store menu, a category or a search, prefill the basket, and keep UTM tracking.

Every ad, social post or email can send customers to a specific place on your storekit ordering page. These are the links you can build, from the whole menu down to a prefilled basket.

All examples use `order.storekit.com/my-restaurant`. Replace `my-restaurant` with your store slug, and use your own domain instead if you have [connected one](https://storekit.com/docs/guides/marketing/custom-domains.md).

| Link | Opens | Example |
| - | - | - |
| Menu | The store's full menu | `https://order.storekit.com/my-restaurant/menu` |
| Category | One category of the menu | `https://order.storekit.com/my-restaurant/menu/category/12345` |
| Search | The menu filtered by a search term (not reliable for ads, see [Search Link](#search-link)) | `https://order.storekit.com/my-restaurant/menu?search=margherita` |
| Basket prefill | The menu with products already in the basket | `https://order.storekit.com/my-restaurant/basket/PIZZA01:1` |

> [!NOTE]
>
> There is no link that opens a single product's details. You can't link straight to one product's pop-up, so for a product ad (for example in Google Shopping), use a category link or a basket prefill link instead.

## Menu Link

```
https://order.storekit.com/{store-slug}/menu
```

Opens the store's menu. `https://order.storekit.com/{store-slug}` on its own goes to the same place.

## Category Link

```
https://order.storekit.com/{store-slug}/menu/category/{categoryId}
```

Opens the menu showing only that category. Use it to point an ad for "Pizzas" or "Lunch deals" at the right section.

To find the `categoryId`, go to **Menus** → **Edit** on the menu, click the settings icon next to the category name, and copy the **Category ID** shown at the bottom of the edit panel. See [Category ID](https://storekit.com/docs/guides/menu/categories.md#category-id).

> [!NOTE]
>
> A category ID belongs to one menu. If the category isn't on the menu the customer is shown (for example a different store's menu, or a menu you have since replaced), the link opens the full menu instead.

## Search Link

```
https://order.storekit.com/{store-slug}/menu?search={term}
```

Opens the menu with `{term}` already typed into the menu search, showing the matching products. Search matches product names, category names and product descriptions. Encode spaces as `%20`, for example `?search=garlic%20bread`.

> [!WARNING]
>
> Don't use search links as an ad destination yet. The search term is only applied if the menu has finished loading when the page opens; on a fresh visit where the menu is still loading, the customer sees the full menu with an empty search box. Use a category link for ads instead.

Menu search only appears on menus with more than 20 products. On a smaller menu the search term is ignored and the full menu opens.

## Basket Prefill Link

```
https://order.storekit.com/{store-slug}/basket/{PLU}:{quantity}
```

Adds products to the customer's basket and opens the menu with the basket filled. It uses each product's **PLU**, not its Product ID, and it does not open the product's details. See [Basket Prefill via URL](https://storekit.com/docs/developers/basket-prefill.md) for the full format, including modifiers and what happens when a product is unavailable.

## Tracking Your Links

Add UTM parameters or ad click IDs to any of the links above, for example:

```
https://order.storekit.com/my-restaurant/menu/category/12345?utm_source=google&utm_medium=cpc&utm_campaign=pizza-week
```

storekit captures them when the customer lands and attaches them to the order. Click IDs that ad platforms add to their links (such as `gclid` from Google Ads) are captured the same way. See [Attribution Data](https://storekit.com/docs/guides/guest-data/overview.md#attribution-data) for the parameters storekit records.

When a link already has a query string (such as `?search=`), join the UTM parameters with `&` instead of a second `?`.

## Related Guides

> [card] [Basket Prefill via URL](https://storekit.com/docs/developers/basket-prefill.md)
>
> Build links that add products to the basket

> [card] [Categories](https://storekit.com/docs/guides/menu/categories.md)
>
> Find a category's ID and organise your menu

> [card] [Custom Domains](https://storekit.com/docs/guides/marketing/custom-domains.md)
>
> Use your own domain in your links

> [card] [Promotional Banners](https://storekit.com/docs/guides/marketing/promotional-banners.md)
>
> Link from banners on your own menu page


## Related topics

- [Basket Prefill via URL](https://storekit.com/docs/developers/basket-prefill.md)
- [3. Build Your Menu](https://storekit.com/docs/getting-started/launch/build-your-menu.md)
- [Menu Linking & Price Sync](https://storekit.com/docs/guides/integrations/pos/comtrex/menu-sync.md)
- [Visual & Digital Menu](https://storekit.com/docs/guides/menu/visual-menu.md)
- [POS Menu Sync](https://storekit.com/docs/guides/menu/pos-menu-sync.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.