# Search and Discovery

Viewers find video inside your own experience in three ways: search in the SDK, feeds ranked for the page and the viewer, and placements that follow the words on the page.

![Diagram: setting up Onsite on Search and Discovery in 5 steps: Set categories and topics, Give each group its context, Place contextual feeds, Turn on interest capture, Read the Relevance dashboard.](https://cdn.sanity.io/images/lnrtvsvr/development/775da9145ee4bf6077031824c6c6e405a914c740-320x180.svg)

## Product use cases in this environment

| Use case | Product | How it shows up here |
| --- | --- | --- |
| Search in the SDK | Onsite | Members search your posts, communities, groups, and people from a search screen in the full-screen experience. |
| Keywords Player | Onsite | A player appears where the page's text matches your keywords, entities, or products. |
| Contextual feeds | Onsite | Each placement picks videos from the page, user, and location context it is given. |
| Discovery surfaces | Onsite | Users find videos in community and group feeds, network-wide discovery surfaces, and embedded placements. |
| Ranking for every viewer | Supervised Intelligence | Maya ranks each feed for the page and the viewer. |
| Audience segments | Supervised Intelligence | Cohorts from onsite, offsite, and offline signals shape ranking under consent. |
| Interest-based recommendations | Control | Interest capture builds profiles that personalize feeds and community suggestions. |
| Categories and topics | Control | Categories and topics organize your content and give ranking a structure to work on. |
| Titles, captions, and topic tags | Studio | Every clip gets a title, a caption line, and topic tags in your brand voice. |
| Where each feed matched | Supervised Intelligence | The Relevance dashboard shows how well each feed matched its viewer, placement by placement. |

## Limitations

- Search in the SDK has nothing to configure. It appears when the UI module is in your app.
- Search ships on Android and iOS.
- The Web SDK's embeds and placements don't include a search box.

## Set it up

1. **Set categories and topics.** Give your content a structure to rank and search on. Read: [How Do I Set Up Brand Categories and Topics?](https://begenuin.com/developers/browse-by-products/control/how-do-i-set-up-brand-categories-and-topics).
2. **Give each group its context.** Groups are the topic feeds that Maya matches to placements. Read: [Communities and groups: structure your social experience for relevance](https://begenuin.com/developers/browse-by-products/control/brand-communities-and-groups-structure-content-for-relevance).
3. **Place contextual feeds.** Put placements on the pages a viewer moves through. Read: [Onsite: contextual placements across homepage, category, and product pages](https://begenuin.com/developers/browse-by-products/onsite/onsite-contextual-placements-across-homepage-category-and-product-pages).
4. **Turn on interest capture.** Let members tell you what they care about. Read: [Interest-based recommendations](https://begenuin.com/developers/browse-by-products/control/how-can-i-utilize-interest-data-for-personalized-recommendations).
5. **Read the Relevance dashboard.** See where feeds matched their viewers. Read: [Reading the Relevance dashboard](https://begenuin.com/developers/browse-by-products/control/reading-the-relevance-dashboard).

## Example

- **Business:** a fitness publisher with a website and iOS and Android apps.
- **Page:** the Running and Cycling hubs on the site, and the apps' full-screen experience.
- **Setup:** Under **Manage** > **Category**, the categories Running and Cycling, with topics such as Trail Running and keywords such as "trail shoes" and "elevation". A placement under **Grow** > **On Site** > **Placement** draws from Running through **Tie to Categories**, with **Custom Context** ticked on **Implementation Guide**. Under **Settings** > **Guided Onboarding Controls**, **Enable Interest selection popup** asks new members for their interests after 3 swipes.
- **What viewers see:** on the Running hub, a feed ranked toward the page's words. In the apps, members search posts, communities, groups, and people.
- **What you measure:** what members search for, in the `keyword_searched` and `search_source` columns of the BigQuery export, the placement's analytics, and the Relevance dashboard, which shows how well the Running feed matched its viewers.

## Best practices

- Write video descriptions that say what's in the video. A contextual feed matches page context against the description first, then the generated description and the transcript.
- Pass `page_context` in your viewers' words, not internal ids. The match to page context counts for 80% of a contextual feed's ranking, and recency for 20%.
- Keep categories broad and topics specific, so a placement tied to a topic draws a focused set of videos.
- Ask for interests after a few swipes (the popup takes 1 to 5), so new members watch something before they're asked.
- Review `keyword_searched` each month, and add the terms that come up most to your video descriptions.

## Developer resources

- [Search in the Genuin SDK](https://begenuin.com/developers/developer-resources/overview/developer/genuin-sdk/creation-and-editing-tools/search/what-are-the-advanced-search-capabilities-using-the-genuin-sdk)
- [Deliver contextual feeds with page, user, and location context](https://begenuin.com/developers/developer-resources/sdk/contextual-embeds-how-they-work-and-how-to-configure-them)
- [Receive engagement events in your own analytics](https://begenuin.com/developers/developer-resources/sdk/receive-engagement-events-in-your-own-analytics)

## Related

- [Map placements to the journey](https://begenuin.com/developers/browse-by-products/onsite/how-can-contextual-feed-placements-transform-the-consumer-journey-across-your-website-or-app)
