Personalized Menus

Navigating through a deep menu can slow your user down when it comes to finding exactly what they're looking for. That's why many successful eCommerce sites use a personalized menu to show the user the most relevant categories for them and even rerank the subcategories to appeal to their top interets.

Example for Personalized Menus

Introduction

When you have a diverse, rich catalog of products or content, it can be helpful to offer a navigation menu that's tailored to each and every user's interests. This improves the experience by helping users quickly find exactly what they need.

With Miso, you can generate a Personalized Menus using the User to Categories API. These menus can be at any depth; for example, you might choose to keep the same top-level categories for every user, and then personalize the ranking of the first few subcategories within each section. Or, you could rerank the top-level categories only. By giving you a list of the most relevant categories for each user at any depth in your catalog hierarchy, Miso makes all this possible and more.

Personalized Menus are similar to the Categories You May Like recipe, but take it further by letting you build a complete hierarchy of suggested categories. If you'd also like to generate a personalized page that the user will be taken to when they click on a recommended category, check out the Category Pages recipe .

Before You Start

API Call / JSON Response

To fetch your Categories You May Like recommendations, POST to the User to Categories API with the following minimum parameters:

  • user_id or anonymous_id: The user or anonymous visitor to personalize the recommendations for

The API will return a list of top-level categories that the user is likely to be interested in.

Fetching subcategories

To fetch personalized subcategories underneath each top-level category, use the root_category parameter. When one ore more root_category is specified, Miso will only recommend categories that are direct children of each root category.

Don't forget: there are many parameters you can use to optimize and filter the results that Miso returns, such as fq , boost_fq , and diversification .
Read more in the deep dive

Example API Call

POST /v1/recommendation/user_to_categories?api_key=<API_KEY> HTTP/1.1
{
    "user_id": "user-123",
    "rows": 3,
    "root_category": ["Office"]
}

Example JSON Response

{
    "message": "success",
    "data": {
        "took": 85,
        "miso_id": "7cd6059c-dd54-11eb-8050-a62d401473b5",
        "categories": [
            {
                "category": [
                    "School Supplies"
                ]
            },
            {
                "category": [
                    "Desk Storage"
                ],
            }
        ]
    }
}

Before You Launch

Using this API recipe as a starting point, test API calls to your engine in development
If you haven't already, build pipelines to stream your real-time data updates to Miso via API. Your Miso solutions engineer is here to help with the integration.
Start using this API recipe to power the UX on your site in staging. If you need UX recommendations, ask your Miso solutions engineer about Bento .
Run an A/B test with Miso on simulated website traffic. If desired, your Miso solutions engineer can perform this test and provide a report.
If this is your first time launching with Miso, ask your Miso solutions engineer to unlock your production environment.
Replicate your Data and Engine API calls on production and set up the same engine in your production environment in Dojo.
Review your data and engine performance in Dojo.
Turn on this recipe for a percentage of your users and scale up to a full rollout. Notify your Miso solutions engineer who will monitor the launch metrics.

API Reference

💻

Need more info on the API? Check out our dedicated API page with all the info you could ever want.

Read API Reference
Icon/Activity Icon/Add Icon/API Icon/Arrow/Down Icon/Arrow/Left Icon/Arrow/Right Icon/Arrow/TopRight Icon/Arrow/Up Icon/Bento Icon/Billing Icon/Bin Icon/Book Icon/Bookmark/Default Icon/Bookmark/Filled Icon/Calendar Icon/Caret/Down Icon/Caret/Up Icon/Chavron/DownIcon/Chavron/LeftIcon/Chavron/RightIcon/Chavron/UpIcon/Checknox/CheckedIcon/Checknox/Unchecked Icon/Checklist Icon/Chip Icon/Clipboard / Copied Icon/Clipboard/Default Icon/Clock/Stopwatch Icon/CMD Icon/Data/Catalog Icon/Data/Engine Icon/Data/Group Icon/Data/Interact Icon/Data/Users Icon/Dive Icon/Docs/Key Icon/Dojo Icon/Email Icon/Env/Development Icon/Env/Playground Icon/Env/Prod Icon/Folder Icon/Fullscreen/Collapse Icon/Fullscreen/Expand Icon/Guides/Multiple Icon/Guides/Single Icon/Hashtag Icon/Heart/Outline Icon/Heart/Solid Icon / Cart z Icon / Click Icon / Clock Icon / Data Icon / Doc Icon / EmptyCart z Icon/Social/Facebook Icon / Genome Incognito Icon / Money Icon/Social/ProductHunt Icon / Search Icon/Social/Twitter Icon / User Icon/Info/Error Icon/Info/Info Icon/Info/Question Icon/Info/Warning Icon/Interact/Download Icon/Interact/Edit Icon/Interact/External v2 Icon/Interact/External Icon/Interact/Filter Icon/Interact/Logout Icon/Interact/Options Icon/Interact/Re-order Icon/Interact/Reload Icon/Interact/Remove Icon/Interact/Replace Icon/Interact/Search Icon/Interact/Shuffle Icon/Interact/Undo Icon/Interact/Upload Icon/Interact/Video Icon/Invoice Icon/Loading Icon/Loading Icon/Lock/Locked Icon/Lock/Unlocked Icon/Lock Icon/Mapping Menu Icon/Notification Icon/Overview Icon/Person/Team Icon/Person/User Icon/Plan/Enterprise Icon/Plan/Growth Icon/Plan/Startup Icon/Plan/Trial Icon/Recipe Icon/Rocket Icon/Settings/App Icon/Settings/User Icon/Settings Icon/Shrine Icon/Sidebar/Close Icon/Sidebar/Open Icon/Slideout Icon/Sort/Ascending Icon/Sort/Default Icon/Sort/Descending Icon/Star/Filled Icon/Star/Outlined Stopwatch Icon/Support Icon/Tag Icon/Interact/Thumb/Dislike Icon/Interact/Thumb/Like Icon/Tick Icon/Trend/New Icon/Trend/Trending Icon/Tutorial Icon/Lock/Unlocked Icon/View/Grid Icon/View/List Icon/Watchlist/Add