Skip to content

Add data privacy and consent information to your HubSpot form or pop-up form

Last updated: April 3, 2025

Available with any of the following subscriptions, except where noted:

All products and plans

 

To help visitors understand what they're opting into when submitting a form, you can add notice and consent information. This also allows you to capture a visitor's consent to the processing of their personal information as well as their consent to receive communication from your HubSpot account.

Before you get started

Please note the following:

  • While HubSpot provides these features, your legal team is the best resource to give you compliance advice for your specific situation.
  • By default, there will be an option in your forms and pop-up forms called Data privacy options. This will display even if data privacy settings are not turned on in your HubSpot account.
  • When a contact fills out a form with notice and consent information:
    • The Legal basis for processing contact's data property will be set to Freely given consent from contact.
    • The Legal basis to communicate will appear in the subscriptions section of the contact record. 
  • If you'd like to edit the default notice and consent text for both forms and pop-up forms, you can do so in the Privacy and consent settings. The default text set for your notice and consent options will apply to all subscription types. If you change the default text:
    • The new default text will be added to any new form or pop-up form you create. 
    • Existing forms will not be automatically updated with this new default text. To update an existing form, delete the current Data privacy options field from the form and re-add it to include the updated wording.

You can add and configure notice and consent options in individual forms and pop-up forms. 

To add the notice and consent option to your form:

  • In your HubSpot account, navigate to Marketing > Forms.
  • Hover over the form name and click Edit, ocreate a new form
  • If you're using the updated form editor
    • In the top left, click the + add icon.
    • In the left panel, click Other
    • Click and drag the Data Privacy field type onto the form preview on the right to include it on your form.
    • In the left panel, under Data privacy options, configure your consent and subscription settings, and choose whether to include a privacy policy statement. 
    • In the top right, click Review and update to publish your form updates.
  • If you're using a legacy form:
    • In the left panel, click to expand Other form elements.
    • Under Data privacy options, click the dropdown menu and select your notice and consent option.
    • If you'd like to make any changes to the notice and consent text for this form, in the form preview on the right, hover over the Data privacy options field and click the edit pencil icon
    • In the top right, click Update to publish your form updates.

To add the notice and consent option to your pop-up form:

  • In your HubSpot account, navigate to Marketing > Forms.
  • Hover over the form name and click Edit.
  • In the Callout tab, under What should the button link to?, select Form step
  • Click Next.
  • In the left panel, click the Data privacy dropdown menu and select your notice and consent option.
  • If you'd like to make any changes to the notice and consent text for this form, in the Data privacy section, click the edit pencil icon.

Please note: on 17th July,the pop-up forms tool was sunset. All Starter, Professional, and Enterprise users can no longer create or clone pop-up forms. Users can still edit, delete, and unpublish existing pop-up forms. It is recommended to use the new CTAs toolto create sticky banner, pop-up box, or slide-in CTAs instead.

If you select the Consent checkbox for communications; form submit as consent to process or Consent checkboxes for communications and processing option, you can add additional subscription type checkboxes to allow visitors to consent to communication from multiple subscription types on a single form:

From both the notice and consent options in legacy forms and pop-up forms:

  • In your HubSpot account, navigate to Marketing > Forms.
  • Hover over the form name and click Edit.
  • Select the option to edit your notice and consent information: 
    • In a legacy form, hover over the data privacy and consent option and click the edit pencil icon to edit your data privacy and consent options. 
    • In a pop-up form, click the edit pencil icon next to the data privacy and consent option selected. 
  • In the Data privacy consent section, click Add another checkbox.
  • In the Consent to communicate checkbox section, click the Subscription type dropdown menu and select a subscription type.
  • In the Checkbox Label section, you can make any edits as needed.
  • In the upper right, click Publish

 

 

If you want to style the notice and consent text without impacting the rest of the form styling, you can use the CSS selector listed below as a starting point:

.legal-consent-container .hs-richtext

Depending on the consent options your team has chosen, the selector may need to be modified

When building your form, you can select from the following notice and consent options below: 

  • Legitimate interest
  • With this option, you can collect consent to communicate through an affirmative opt-in using a checkbox that specifies the communication/subscription type.
  • You can add more than one checkbox to allow visitors to consent to communication for more than one subscription type.
  • With this option, consent to process personal data is collected implicitly when the contact clicks the submit button.
  • If a contact submitting the form doesn’t select the consent to communicate checkbox, the form submission will still be processed. However, the contact won't be subscribed to any communications.
  • It is not possible to pre-select the consent to communicate checkbox, but if you're using a legacy form, you can make it required. It's not possible to make this checkbox required if using the updated form editor
  • If the contact previously subscribed in the past and subsequently doesn’t select the consent to communicate checkbox, this is not equivalent to the contact withdrawing their consent. 


If you're using a legacy form, this is referred to as Consent checkboxes for communications and processing.

  • With this option, you can collect consent to communicate through an affirmative opt-in using a checkbox that specifies the communication/subscription type.
  • You can add more than one checkbox to allow visitors to consent to communication for more than one subscription type.
  • With this option, consent to process personal data is collected explicitly.:
    • The contact needs to select the consent to process data checkbox in order to give their consent. You cannot process a visitor's data and accept the form submission if they have not given explicit consent for you to do so.
    • Without selecting this checkbox, visitors will not be able to submit your form. If you still want to offer the visitor access to your content without processing their data, you can do so by adding the consent to process footer with a hyperlink to your content.
  • If a contact submitting the form doesn’t select the consent to communicate checkbox, the form submission is still processed, and the contact won't be subscribed to any communications.
  • It is not possible to pre-select the consent to communicate checkbox, but if you're using a legacy form, you can make it required. It's not possible to make this checkbox required if using the updated form editor
  • If the contact has already subscribed in the past and subsequently doesn’t select the consent to communicate checkbox, this is not equivalent to the contact withdrawing their consent

Legitimate interest

  • If your legal basis of processing is legitimate interest instead of consent, this option to your form will display a notice letting visitors know that you need their information to contact them about your products and services and that they may unsubscribe from these communications at any time.
  • With this option, the contact is not required to give their consent to you, and will just see a notice.

Was this article helpful?
This form is used for documentation feedback only. Learn how to get help with HubSpot.