Gifts

Culture

Reviews

Local Spots

How to Connect HubSpot CRM with Shopify (2026)

HubSpot CRM

HubSpot CRM

★★★★ 4.5
Crm General Crm

A popular free CRM with powerful marketing, sales, and service hubs that scale as your business grows.

Full Review
Shopify

Shopify

★★★★ 4.6
Ecommerce Ecommerce Platform

The leading e-commerce platform enabling anyone to start, grow, and manage an online store with built-in payments, shipping, and marketing…

Full Review

Why Connect Shopify and HubSpot

Shopify handles the storefront — product listings, checkout, payment processing, and order fulfillment. HubSpot handles the customer relationship — contact management, email marketing, pipeline tracking, and customer support. Connecting them gives ecommerce businesses a unified view of every customer interaction, from the first website visit through purchase history to ongoing engagement and support.

This integration is particularly valuable for Shopify merchants who sell both B2C and B2B, who need CRM capabilities beyond what Shopify provides, or who want to run sophisticated marketing automation across email, ads, and social based on purchase behavior. It is also popular with ecommerce companies that use HubSpot's Service Hub for customer support and want support agents to see full purchase history when handling tickets.

What This Integration Does

  • Customer data sync: Shopify customers automatically become HubSpot contacts with all their purchase history, order details, and customer information attached.
  • Ecommerce pipeline: Shopify orders can create deals in HubSpot, enabling revenue tracking and pipeline visibility within the CRM.
  • Abandoned cart recovery: HubSpot can detect abandoned Shopify checkouts and trigger recovery email workflows.
  • Product-based segmentation: Create HubSpot lists and segments based on products purchased, order value, purchase frequency, and other ecommerce data.
  • Revenue attribution: Track which HubSpot marketing campaigns and emails drive Shopify revenue.
  • Customer support context: HubSpot Service Hub agents can see Shopify orders, shipping status, and purchase history directly in the contact record when handling support tickets.

Native Integration vs Third-Party

HubSpot offers a native Shopify integration available through the HubSpot App Marketplace. This integration has been significantly improved over the years and now provides deep ecommerce data syncing, abandoned cart workflows, and product-based segmentation. It is free to install and works with all HubSpot plans, including the free CRM tier.

The native integration handles most common use cases well. However, there are scenarios where additional tools are needed:

  • Shopify Plus features: If you use Shopify Plus scripts, custom checkout flows, or Shopify Flow automations, the native HubSpot integration may not capture all custom data points. Zapier or Make can bridge these gaps.
  • Multi-store setups: If you run multiple Shopify stores, each needs a separate connection to HubSpot. Managing data from multiple stores in a single HubSpot portal can require additional configuration.
  • Unific or other enhanced connectors: Third-party connectors like Unific offer more granular control over data mapping, historical data import, and sync configuration than the native integration.

Step-by-Step Setup

Step 1: Install from HubSpot App Marketplace

In HubSpot, click the Marketplace icon in the top navigation and search for "Shopify." Click on the official Shopify integration by HubSpot. Click Install app. You will be prompted to connect to your Shopify store.

Step 2: Connect Your Shopify Store

Enter your Shopify store URL (e.g., yourstore.myshopify.com) and click Connect. You will be redirected to Shopify to authorize the connection. Log in to your Shopify admin and review the permissions HubSpot is requesting — these include access to customers, orders, products, checkouts, and marketing events. Click Install app to authorize.

Step 3: Configure Data Sync Settings

After connecting, HubSpot will guide you through sync configuration. In HubSpot > Settings > Integrations > Connected Apps > Shopify, configure:

  • Contact sync: Choose whether to import all Shopify customers or only customers who have opted in to marketing. For GDPR compliance, the opt-in-only option is recommended for marketing emails, though you can import all customers for CRM record-keeping.
  • Product sync: Enable product sync to bring your Shopify product catalog into HubSpot. This allows you to use product data in segmentation, reporting, and email content.
  • Deal creation: Configure whether Shopify orders should create HubSpot deals. If enabled, each order creates a deal in a designated ecommerce pipeline with the order value and product details.

Step 4: Set Up the Ecommerce Pipeline

HubSpot creates an ecommerce-specific deal pipeline for Shopify orders. Customize this pipeline by going to Settings > Objects > Deals > Pipelines. The default stages typically include: Checkout Pending, Order Placed, Order Fulfilled, and Order Completed. Adjust these stages to match your fulfillment workflow.

Step 5: Enable Abandoned Cart Tracking

To use HubSpot for abandoned cart recovery, you need the HubSpot tracking code on your Shopify store. The integration can install this automatically, or you can manually add it by going to Shopify Admin > Online Store > Preferences and pasting the HubSpot tracking code in the "Additional Scripts" section. Once tracking is active, HubSpot can detect when a known contact starts checkout but does not complete it.

Step 6: Create Ecommerce Contact Properties

The Shopify integration creates several ecommerce-specific contact properties in HubSpot automatically. These include properties like Total Revenue, Number of Orders, Last Order Date, and Products Purchased. Verify these properties exist by going to Settings > Properties and filtering by the "E-commerce" property group.

Step 7: Build Ecommerce Workflows

Navigate to Automation > Workflows in HubSpot. Create workflows using the ecommerce-specific triggers and properties. HubSpot provides pre-built ecommerce workflow templates including abandoned cart recovery, post-purchase follow-up, and re-engagement sequences.

Best Automation Workflows

  1. Abandoned cart recovery: When a Shopify checkout is abandoned, wait 1 hour and send a HubSpot email showing the abandoned items with images and a return-to-cart link. If no purchase after 24 hours, send a second email with social proof (reviews) for the abandoned products. If no purchase after 48 hours, send a final email with a time-limited incentive. Use HubSpot's conditional branching to skip the incentive email if the customer has purchased in the past (they do not need a discount).
  2. First-time buyer welcome series: When a contact's Number of Orders property changes from 0 to 1, enroll them in a welcome workflow. Send a thank-you email immediately, followed by brand story and value content on day 3, product tips or usage guides on day 7, and a cross-sell recommendation on day 14. Tag them as "Customer" in HubSpot for segment differentiation.
  3. VIP customer identification and nurture: When a contact's Total Revenue exceeds your VIP threshold (for example, $500), automatically update their lifecycle stage, assign them to a VIP customer list, and notify the account manager. Send a VIP welcome email with exclusive benefits — early access to new products, dedicated support, or loyalty rewards.
  4. Win-back campaign for lapsed buyers: When a customer's Last Order Date is more than 90 days ago and they have not opened any emails in 30 days, enroll them in a win-back workflow. Send a "we miss you" email, then a "here's what's new" product showcase, and finally a personalized discount. If they do not engage after the series, suppress them from regular campaigns to protect sender reputation.
  5. Post-purchase review and referral request: When a Shopify order is fulfilled (deal stage changes to "Fulfilled"), wait 14 days for the customer to receive and use the product. Send a review request email with a direct link to leave a review. If they leave a review (tracked via a custom property or workflow action), follow up with a referral request offering a discount code they can share.

Data Sync Details

Data Direction Sync Frequency Notes
Customer profiles Shopify to HubSpot Real-time Created as HubSpot contacts; matched by email
Orders Shopify to HubSpot Real-time Created as HubSpot deals in the ecommerce pipeline
Products Shopify to HubSpot Periodic sync Product catalog available for segmentation and emails
Abandoned checkouts Shopify to HubSpot Real-time Requires HubSpot tracking code on Shopify store
Ecommerce properties Calculated in HubSpot Updated with each order Total Revenue, Order Count, Average Order Value, etc.
Refunds Shopify to HubSpot Real-time Updates deal status and revenue properties
Fulfillment status Shopify to HubSpot Real-time Updates deal stage in ecommerce pipeline
Customer tags Limited With customer sync Shopify customer tags can map to HubSpot properties

The sync is primarily one-directional: Shopify data flows into HubSpot. HubSpot contact data (email engagement, lifecycle stage, custom properties) does not flow back to Shopify. If you need to push HubSpot data to Shopify (like tagging customers in Shopify based on HubSpot segments), you would need Zapier, Make, or a custom API integration.

Common Issues and Troubleshooting

Historical orders not importing

The native integration imports historical Shopify data, but the depth of historical import varies. If orders from before the integration was installed are missing, check the sync settings — some configurations only import recent history. For a full historical import, you may need to re-run the sync or use the HubSpot Imports feature to upload historical order data via CSV.

Abandoned cart emails not triggering

HubSpot's abandoned cart recovery requires (1) the HubSpot tracking code on your Shopify store, (2) the visitor must be an identified contact (they have previously submitted a HubSpot form or their email is known from a past visit), and (3) the workflow must be set to Active. If anonymous visitors abandon carts, HubSpot cannot email them. Ensure the tracking code is installed and verify it is loading by checking the browser console on your Shopify store.

Duplicate contacts

If a Shopify customer's email matches an existing HubSpot contact, the integration updates the existing contact. If emails do not match (for example, a customer used a different email at checkout than the one in HubSpot), a duplicate will be created. Use HubSpot's built-in duplicate management tool (Contacts > Actions > Manage Duplicates) to identify and merge duplicates.

Product data not appearing in emails

If you want to use Shopify product data (images, prices) in HubSpot email templates, ensure product sync is enabled and the products have synced successfully. Go to Settings > Integrations > Shopify and check the product sync status. In the email editor, use HubSpot's ecommerce email modules to dynamically insert product data.

Alternatives

  • Klaviyo: The leading ecommerce email platform with the deepest Shopify integration available. Better than HubSpot for pure ecommerce email marketing, with more advanced product recommendations, predictive analytics, and ecommerce-specific features. However, it lacks HubSpot's CRM, sales pipeline, and customer service capabilities.
  • Shopify Email: Built into Shopify, free for the first 10,000 emails monthly. Adequate for basic campaigns but lacks HubSpot's CRM, automation depth, and multi-channel marketing capabilities.
  • Unific: A dedicated HubSpot-Shopify connector that offers more advanced sync options, including custom field mapping, historical data backfill, and multi-store support. Useful when the native integration does not meet complex requirements.
  • ActiveCampaign: Offers a strong Shopify integration with advanced automation. A good alternative if you need powerful email automation without HubSpot's full CRM suite.
  • Drip: Ecommerce-focused email marketing with a solid Shopify integration. Good for stores that want ecommerce-specific features without a full CRM platform.

Compare HubSpot CRM vs Shopify side by side »