Skip to content

Analyze cookie consent banner interactions

Last updated: September 3, 2025

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

When a contact visits your website and interacts with a cookie consent banner, the interaction is logged in HubSpot as analytics activity on a contact record. You can use interaction data to segment contacts into segments or analyze consent banner interactions in reports.

To view a single contact's interaction with a cookie consent banner:

  1. In your HubSpot account, navigate to CRM > Contacts.
  2. Click the name of the contact.
  3. Navigate to the Activities tab.
  4. Filter activities to include Analytics activity.
  5. Cookie tracking events will be displayed on the timeline.

analytics-activity-cookie-tracking-event

Please note: notify consent banner view interactions are only included in segments if you are using the new consent banner editor. Click interactions are not included.

To create a segment of contacts who've had a certain interaction with the cookie consent banner:

  1. In your HubSpot account, navigate to CRM > Segments.
  2. Create a segment.
  3. Select Contact properties as the filter category.
  4. Select Privacy Consent.
  5. Select to include contacts that completed or did not complete a privacy consent event. For example, select Contact has completed with value > Approved to include contacts that accepted cookies. 
  6. Select the event:
    • Approved: cookies were accepted. If you have the display cookies by category toggle turned on for your consent banner, the contact's approval only applies to analytics cookies. If you do not have the display cookies by category toggle turned on, the contact's approval applies to all cookies.
    • Declined: cookies were declined. if you have the display cookies by category toggle turned on for your consent banner, the contact's decline only applies to analytics cookies. If you do not have the display cookies by category toggle turned on, the decline applies to all cookies.
    • Revoked: cookies were removed. Learn more about the Remove cookies API.
  7. Save and process the segment.

Create a custom cookie consent banner report (Professional and Enterprise only) 

Please note: notify consent banner interactions are only included in reports if you are using the new consent banner editor.

With the custom report builder, you can create a custom report to analyze cookie banner clicks and views:

  1. In your HubSpot account, navigate to Reporting > Reports.
  2. In the upper right, click Create report.
  3. Select Custom report.
  4. Click Choose my own data sources.
  5. To use cookie banner interactions as the primary data source, click the Primary data source dropdown menu, then select Cookie banner

    cookie-banner-data-source-custom-report
  6. In the upper right, click Next.
  7. In the left sidebar, select whether you want to report on cookie banner clicks or views by selecting either Cookie banner clicks or Cookie banner views

    cookie-banner-report-filter0
  8. Continue building your report.
Was this article helpful?
This form is used for documentation feedback only. Learn how to get help with HubSpot.