adamsoffer/react-hubspot

Add support for GDPR

Opened this issue · 0 comments

Will be awesome to add support for GDPR

"legalConsentOptions": {
"consent": { // Include this object when GDPR options are enabled
"consentToProcess": true,
"text": "I agree to allow Example Company to store and process my personal data.",
"communications": [
{
"value": true,
"subscriptionTypeId": 999,
"text": "I agree to receive marketing communications from Example Company."
}
]
}