# A site with a consent tool

> Make the tag wait for consent before it sends what a visitor types.

To open the calendar at once, Signalbox looks the visitor's company up while they are still typing. So the email and website fields leave the page before the visitor presses submit.

If your site asks for consent before that may happen, tell the tag to wait.

## 1. Make the tag wait

Add `data-consent="wait"` to the tag:

```html
<script async src="https://api.trysignalbox.com/signalbox.js" data-key="your-site-key" data-consent="wait"></script>
```

Nothing a visitor types is now sent before they submit.

## 2. Tell it when the visitor has agreed

When your consent tool records a yes, call:

```js
window.Signalbox && window.Signalbox.setConsent(true);
```

What the visitor has typed so far is sent then, and the look-up starts. If they later withdraw, call `setConsent(false)`.

## What still happens without consent

The submission itself. When the visitor presses submit, HubSpot stores the form and Signalbox is told, as your form's own privacy wording covers. Without the early look-up the calendar takes a second or two longer to open.

## Turning the early look-up off for everyone

**Settings**, **Privacy**, "Look the visitor up before they press submit". Off means no site of the workspace sends anything before submit, whatever the tag says.
