Remove the consent banner cookies for a visitor, such as for GDPR deletion requests.Documentation Index
Fetch the complete documentation index at: https://developers.hubspot.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Usage
Use Cases
- GDPR Compliance: Handle âright to be forgottenâ requests.
- Privacy Settings: Allow users to revoke their consent.
- Data Deletion: Remove tracking consent as part of account deletion.
- Privacy Reset: Clear consent status for testing or troubleshooting.
Notes
- This function removes the consent banner cookies from the visitorâs browser.
- The visitor will see the consent banner again on their next visit.
- This does not delete historical data from HubSpot - it only affects future tracking.
- Use this in conjunction with other data deletion processes for complete GDPR compliance.