Skip to main content

Overview

Reelevant offers three complementary approaches for website personalisation. Choose one or combine them depending on your requirements:

Reelevant Client Side Script

A JavaScript tracking script that loads in the browser, fetches personalised content, and injects it into your page. Ideal for event tracking, consent-dependent content, overlays, and no-code integrations via the browser extension.

Reelevant Server Side SDK

A Node.js / Edge SDK that fetches personalised content during server render. Content arrives in the initial HTML — zero layout shift, full SEO visibility, instant display.

Reelevant as API (JSON)

A headless personalisation API that returns structured JSON. You control the rendering — use your own components, design system, or native mobile UI with personalised data from Reelevant.

When to use which

Client-Side ScriptServer-Side SDKAPI (JSON)
How it worksJavaScript loads after page render, fetches content, injects into DOMContent fetched during server render, included in HTML responseYour app calls the runner and receives structured JSON data
Layout shift (CLS)Content appears after load — visible shiftZero — content is in the initial HTMLYou control rendering — no CLS if data is fetched server-side
SEONot indexed (injected after page load)Fully indexed by search enginesDepends on your rendering strategy
Time to contentDepends on client network + runner latencyIncluded in first paintDepends on when you call the API
Best forEvent tracking, consent, dynamic overlays, SPAs, no-code setupHero banners, product recommendations, landing pages, SEO-critical zonesCustom UI components, mobile apps, headless architectures, design systems
Setup effortPaste a script tag or use the browser extensionInstall an npm package and add server-side codeCreate a JSON Template, call a single endpoint
All three approaches work together. Server-rendered zones are marked with data-rlvt-ssr="true" — the client script automatically skips them. JSON API calls can be made from either client or server depending on your architecture.

Content types

The Reelevant runner can return three content formats. Your workflow’s output node determines which format is used:
TypeDescriptionUse case
HTMLResponsive HTML partialBanners, product cards, rich content blocks
JSONStructured data objectHeadless personalisation — build your own UI with personalised data
ImageBinary image (PNG, etc.)Static visual banners, email-style images on web

Identity management

All three approaches share the same identity cookies:
CookiePurpose
rlvt_clientIdKnown user identity (set by your application or the client tracker)
rlvt_tmpIdAnonymous visitor ID (set automatically by the script or SDK middleware)
Priority: rlvt_clientId > rlvt_tmpId. If neither exists, the script or SDK middleware generates a new rlvt_tmpId automatically.