Identity & Sessions

Catalogue personalisation

Kelp catalogue personalisation (beta) - reorder browse and search per shopper. Same products and filters. Merchandising still wins.

Most shoppers never touch the search box - they browse. Kelp catalogue personalisation (beta) reorders a category or search list around what that shopper has already looked at and bought.

  • Same page, same products, same filters - only the order changes.
  • Merchandising still wins.
  • First visits and Google get the standard order.

Opt in on the request with userId, sessionId, and personalize. There is no separate personalisation dashboard in these docs.

FieldNotes
userIdStable per-visitor id (same value as identity.identify).
sessionIdSession signal (identity.getSessionId()).
personalizetrue to opt in, false to keep the shared order.

Omit all three, or set personalize: false, for first visit, SEO, admin preview, or a control arm.

const res = await kelp.browse('products', {
  filters: [{ field: 'collections', op: '=', values: ['sandals'] }],
  userId: identity.getUserId() ?? identity.getAnonymousId(),
  sessionId: identity.getSessionId(),
  personalize: true,
});

Search accepts the same three fields. useSearch / useBrowse forward them too.

Personalized responses are visitor-specific. Do not serve them from a shared CDN cache. Key the cache per visitor, or skip personalisation on the SSR pass.

Merchandising still wins - personalisation cannot move a pin or un-hide a product. Thread queryId into click events as usual. See Attribution.