identify() runs. If identify() never runs, HelpAlive drops that activity, as Identify users describes. But if someone signed in earlier in that browser and your logout code didn’t call reset(), HelpAlive may send it as that person.
HelpAlive doesn’t read Do Not Track or Global Privacy Control signals.
Prerequisites
- A cookie banner or consent tool that tells your code when a user accepts or declines.
Make HelpAlive wait for consent
1
Hold back the tag
Leave the HelpAlive tag out of your page’s HTML. Add it from your code only after the user accepts, with the same attributes as in Install the script.
2
Keep identify() and reset() as they are
Keep the four queue lines from Install the script, and your
identify() and reset() calls. Calls made before the tag loads wait in the page and run after it loads.Example: add the tag when the user accepts
Call this from your banner’s “accepted” callback. This code adds the same tag as Install the script, but never adds it twice:YOUR_PROJECT_KEY with your key from Settings → Setup & API Key. If your Content Security Policy uses a nonce, set it on the tag too, as Content Security Policy describes.
Without the tag, no part of HelpAlive runs, so the agent doesn’t appear for a user who declines. To keep the agent away from some users, leave them out of Who gets it on Controls. To stop recording one user’s usage events, use Stop tracking on Settings → Privacy Management.
If a user withdraws consent
When your banner reports that a user withdrew consent, run this on the page:How HelpAlive behaves before and after consent
- Before the user accepts: the tag isn’t on the page, so HelpAlive sends nothing and shows nothing. Your four queue lines hold any
identify()orreset()calls in the page. - After the user accepts: the tag loads and runs the waiting calls. Then the chat button appears for users in Who gets it.
- If the user declines: the tag doesn’t load, so the agent doesn’t appear for that user in that browser. This lasts until your banner reports a change.
Check it works
- Open your app in a private window with the browser’s developer tools open on Network. Filter on
helpalive. - Sign in and decline in your banner. No HelpAlive request appears.
- Accept in your banner. The script loads, and the chat button appears for users in Who gets it.
Next
Data we collect
What HelpAlive records, and what it doesn’t.
Privacy Management
Stop tracking or delete a user’s data.
JavaScript reference
Every call your code can make.

