A green shield icon with a checkmark inside sits to the left of the words “WP Smart Consent” in light gray text on a white background. The overall design appears clean and modern, suggesting trust and security.
Nahnu Plugins A product by Nahnu Plugins
WooCommerce
Ecommerce
+
HubSpot
Cloud ESP

WooCommerce + HubSpot

WP Smart Consent adds a GDPR-compliant opt-in checkbox to WooCommerce. When a customer ticks it and places an order, their details are automatically forwarded to HubSpot in real time.

The complete consent journey

How WooCommerce and HubSpot connect through WP Smart Consent

WP Smart Consent adds a GDPR-compliant opt-in checkbox to the checkout. It is unchecked by default, so the customer must actively tick it to subscribe. When they do and places an order, WP Smart Consent immediately captures the consent with a timestamp and stores it in your WordPress database, giving you a complete audit trail without any third-party dependency. In the same request, it calls the HubSpot API and creates or updates a contact with their name, email address, and any custom fields you have mapped in the WP Smart Consent dashboard. Your automations in HubSpot fire instantly, just as if the subscriber had come through a native HubSpot form. No cron delays. No code.

WooCommerce & HubSpot

WooCommerce

WooCommerce

The leading WordPress ecommerce plugin.

Ecommerce

The world's most popular WordPress ecommerce plugin, powering millions of online stores.

WooCommerce powers millions of online stores worldwide. WP Smart Consent integrates with both the classic shortcode checkout and the modern block-based checkout, displaying a GDPR-compliant marketing opt-in checkbox at exactly the right moment, just before the order is placed. Works with all payment gateways and HPOS.

Visit WooCommerce
HubSpot

HubSpot

The full-stack CRM for marketing, sales, and service.

Cloud ESP

The world's leading inbound CRM platform connecting marketing, sales, and service.

HubSpot is the world's leading inbound CRM platform. WP Smart Consent creates or updates HubSpot contacts with consent data, list membership, and checkout properties on every opt-in.

Visit HubSpot

Everything the integration does

  • GDPR opt-in checkbox added to WooCommerce, no code required
  • Real-time subscriber sync to HubSpot on every opt-in
  • Consent timestamp stored locally in WordPress for your audit trail
  • Name, email, and custom field mapping configured from the WP Smart Consent dashboard
  • Unchecked by default . The customer must actively tick to subscribe
  • Works with WooCommerce block checkout and classic shortcode checkout
  • Works on CDN-cached pages . Geo-aware JS corrects the checkbox state for cached pages
  • One-click enable in WP Smart Consent settings . No code or webhooks to configure
  • Consent log viewable in the WP Smart Consent dashboard with per-entry details
  • Graceful fallback if HubSpot API is unreachable

Built for privacy regulations

  • Checkbox is unchecked by default . Explicit opt-in, never pre-ticked
  • Only contacts who tick the box are ever forwarded to HubSpot
  • Consent timestamp recorded at the moment of checkout and stored on your server
  • Consent data lives in your WordPress database . No third-party consent storage
  • No tracking scripts, cookies, or external requests added to your storefront
  • Works alongside any cookie consent or GDPR compliance plugin
  • Marketing consent is recorded separately from order or transaction data
  • Designed to meet GDPR, PECR, CAN-SPAM, CASL, and similar opt-in regulations

Common questions

Do I need to edit my WooCommerce template?

No. WP Smart Consent hooks directly into WooCommerce's action system and injects the checkbox automatically. There is nothing to edit in your theme, checkout template, or form layout.

Does the customer have to opt in?

Yes. The checkbox is unchecked by default, so the customer must actively tick it to subscribe. This is intentional: explicit, unambiguous consent is required by GDPR. Only customers who tick the box are forwarded to HubSpot. Customers who leave it unticked are never added to your list.

What data is sent to HubSpot?

By default: first name, last name, and email address. You can map additional custom fields from the WP Smart Consent dashboard to any field your source plugin captures , such as order value, product name, or any custom form field.

How does consent get recorded?

Consent is logged locally in your WordPress database with the subscriber's email, the source plugin name, and a timestamp, giving you a complete audit trail without any third-party dependency.

Do I need a HubSpot account?

Yes. You'll need an active HubSpot account and an API key (or equivalent credential) to enter in the WP Smart Consent settings. The plugin handles all API communication from there.

What happens if I switch CRMs later?

Your consent records stay safe in WordPress. You can change the destination CRM in WP Smart Consent settings at any time. New opt-ins go to the new CRM; historical records remain in your database.

WooCommerce
+
HubSpot

Start collecting GDPR consent from WooCommerce today

Install WP Smart Consent, activate the HubSpot integration, and opted-in subscribers flow from WooCommerce to HubSpot in under 5 minutes.

Get WP Smart Consent Browse all integrations

This website uses cookies to enhance your browsing experience and ensure the site functions properly. By continuing to use this site, you acknowledge and accept our use of cookies.

Accept All Accept Required Only