Wait for consent before recording

By default recording starts straight away. If you need consent first, start in pending and tell Heatlytics what the visitor chose.

  1. Start in pending

    Nothing is recorded or stored until you call optIn.

    heatlytics.init({ key, host, consent: 'pending' })
  2. When the visitor accepts

    Recording starts.

    heatlytics.optIn()
  3. When the visitor declines

    Recording stops, and session data and identity are cleared. The choice is remembered.

    heatlytics.optOut()
  4. To skip one page

    Recording stops for this page load only, until optIn is called.

    heatlytics.abort()

Stuck on a step?

Ask us. A demo is a conversation with the people building Heatlytics.

Request a demo