HappierleadsDocs
Embed Happierleads screens

How it works

Who talks to whom, the three flows (setup, sign-up, log-in) and what happens without you.

Four parties take part: your user's browser, your server (it holds both keys), Happierleads (the API, and the screens served on your domain) and the embedded screen. Your users only ever talk to your app; your server is the only one that talks to our API.

Three flows, each on its own page with the diagram and the API calls in order:

What happens without you

You don't need to call us for these:

  • Monthly renewal: on refreshOnDate the leads refill to the plan's number and the date moves on a month.
  • Trial end: the leads go to 0 and tracking stops, unless your webhook switched them to paid.
  • view: "auto": opens the install screen until the pixel works, then their leads.
  • Session length: a screen stays open as long as your Embed settings say (1 week by default), then sends session-ended to your page.

On this page