Integration guides
Integration guides
The same three steps in your stack: mount the widget once, sign identify() on the server, reset on logout. Each guide is the whole thing, not an excerpt.
Next.js
The React component in the root layout, a route handler that signs identify(), reset on logout.
Ruby on Rails
A helper that signs identify(), the tag in the layout, reset on sign-out.
Laravel
A Blade component that signs identify() with a helper, the tag in the layout, reset on logout.
Django
A context processor that signs identify(), the tag in the base template, reset on logout.
Plain HTML and any backend
The two script lines, and what any backend needs to produce for identify().