Managing consent declarations
Consent declarations allow you to obtain, track, and verify customer consent for terms, data processing, marketing, and other agreements. Essential for GDPR compliance and transparent customer relationships.
TL;DR
Go to Account → Consent declarations. Create a declaration with a name, checkbox label, and optional document URL. Link it to campaigns. Embed in forms using <hh-consent.checkbox declaration="slug" />. Add required attribute to make it mandatory. Check consent status with <hh-consent.exists declaration="slug" identifier="%lead_email%" />.
Get started in 4 steps
Create a consent declaration
Go to Account → Consent declarations → New Declaration. Enter a name (internal), a description/checkbox label (the text shown to customers — supports HTML), and optionally a document URL linking to your full terms. The slug is auto-generated and used in placeholders.
Link to campaigns
Click the edit icon in the "Linked to campaigns" column. Check the campaigns where this declaration applies. When linked, you can use simplified placeholders without specifying the identifier — the campaign's default identifier is used automatically (typically lead email).
Embed consent checkbox in forms
Add the consent checkbox to a campaign form or booking form:
To make consent required before form submission:
Check and use consent status
Verify if a customer has consented (returns true/false — usable in @if conditionals):
Generate a URL where customers can manage or withdraw their consent: <hh-consent.url declaration="slug" identifier="%lead_email%" />
Common searches
consent declaration • GDPR consent • consent checkbox • hh-consent • marketing consent • opt-in • terms and conditions • consent tracking
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article