Integrations

Use HubSpot's integration with Shopify

Last updated: April 26, 2019

The HubSpot and Shopify integration is designed to bridge the gap between your ecommerce activities and marketing efforts.

Please note: if you have the HubSpot-Salesforce integration enabled, you cannot currently use the Shopify integration.

 

Connect your Shopify store(s) to HubSpot

You can connect one or more of your Shopify stores to HubSpot. Each connected Shopify store will have an ecommerce settings page, with its own set of embedded ecommerce workflows (Marketing Hub and Sales Hub Professional or Enterprise accounts only).

  • In your HubSpot account, click your account name in the top right corner, then click Integrations.
  • In the upper right, click Connect an app.
  • Use the search bar to search for the Shopify integration. Hover over it and click View integration.
  • In the dialog box, enter your Store's Shopify URL and click Connect to Shopify.
  • In the pop-up window, enter your Shopify credentials and click Log in.
You'll return to HubSpot and see a dialog box indicating your Shopify store has been connected to HubSpot. Once you integrate HubSpot and Shopify, the connector will automatically add your HubSpot tracking code to all of your Shopify store pages. Check the progress of the import or modify your sync settings by clicking Go to ecommerce settings.

Once your first store is connected, you can connect additional Shopify stores from the Shopify integration page. In the upper right, click the dropdown menu and select + Connect another store. To switch between stores, use the dropdown menu in the upper right.

The contact, deal, and product property Source store can be used to identify any connected Shopify stores that have synced with the object, and allows you to report, filter, and view data from individual stores, or all your connected stores at once.

 

Analyze your Shopify data in HubSpot

After the initial import of your Shopify data is complete, you'll be able to see your Shopify Products, Customers, and Orders in HubSpot.

  • Products: the following properties sync between Shopify and HubSpot products:
    • Title
    • Body_HTML
    • Created at
    • Handle
    • Images
    • Product type
    • Published at
    • Published scope
    • Tags
    • Vendor
    • Price
  • Contacts: Shopify customers sync with HubSpot contacts, and are deduplicated by email address.

    If a contact does not exist with the same email address in HubSpot, a new contact will be created as long as the Shopify customer was created with an email address. If a HubSpot contact already exists with the same email address, Shopify will update the contact as long as a value exists for the property in Shopify (i.e., the property is not blank).

    The following properties sync between Shopify customers and HubSpot contacts:
    • Accepts marketing
    • Created at
    • First name
    • Last name
    • Email
    • Phone
    • Note
    • Orders count
    • Tags
    • Tax exempt (checkbox)
    • Verified email (checkbox)
    • Street address
    • City
    • Country
    • State/Province
    • Zip code
  • Orders: Shopify orders sync with HubSpot deals in the Ecommerce pipeline, which is automatically created when the Shopify integration is set up. Each order is associated with a product(s) and customer when synced from Shopify, and the corresponding deal in HubSpot will be associated with a product(s) and contact. The following properties sync between Shopify orders and HubSpot deals:
    • Abandoned checkout URL
    • Buyer accepts marketing
    • Customer ID
    • Cancel reason
    • Cart token
    • Cancelled at
    • Created at
    • Currency
    • Financial status
    • Fulfillment status
    • Landing site
    • Name
    • Note
    • Order number
    • Processing method
    • Referring site
    • Source name
    • Subtotal price
    • Taxes included
    • Token
    • Total discounts
    • Total line items price
    • Total price
    • Total tax
    • Total weight

Please note: a Shopify order with an associated customer that was not created with an email address will sync over to HubSpot as a deal without an associated contact.

After your Shopify store(s) is connected to HubSpot, an Ecommerce Dashboard will be added to your account. Navigate to your HubSpot dashboards by clicking the sprocket icon sprocket in the top left corner of your account. In the top left, click Marketing Dashboard, then select Ecommerce Dashboard.

The Ecommerce Dashboard includes 7 default reports:

  • Order snapshot
  • New sales processed summary
  • Average order value by source
  • Lifetime order value by source
  • Net new customers vs. last month
  • Sales processed this month vs. goal
  • Abandoned cart recovery

To customize the attributes of a default Ecommerce Dashboard report:

  • Hover over an existing report and click the Actions dropdown menu, then select Edit.
  • Customize your report by editing the Filters, Measures, Visualization, and Data as needed.
  • After you've made your changes, click Update on dashboard. This report in your dashboard will be updated to reflect your changes.

Please note: default dashboard reports are updated over time by HubSpot. After a default report has been customized on your dashboard, it won't be updated to show the changes to the default report. You can add the latest version of any default report to your dashboard by clicking Add report and browsing the Ecommerce reports in the left sidebar menu.

 

Segment contacts based on their products (Marketing Hub Basic, Professional, or Enterprise only)

Use line item properties to segment your HubSpot contacts by the name of their product, along with the deal stage in the Ecommerce pipeline that corresponds with their order status. For example, you can create lists to segment contacts who are in the midst of purchasing or have purchased a specific product, to target them in workflows to nurture them or upsell to them.

  • In your HubSpot account, navigate to Contacts > Lists.
  • In the upper right, click New list.
  • In the left panel, select Line item properties and search for and select the Name property.
  • Select is equal to any of or contains any of, then enter the product name in the field and click Create option.
  • Click Done.
  • You can further segment contacts by the order status associated with the product. Click and below the first filter, then click the dropdown menu and search for and select Deal stage. Select is any of, then click the field and select a deal stage.
  • Click Done.
  • In the top left, click Name list and enter a name, and choose if the list is Active or Static.
  • To create the list, click Save.

 

Automate ecommerce campaigns (Marketing Hub Professional or Enterprise and Sales Hub Professional or Enterprise)

With the Shopify integration, you can create workflows to follow up with contacts who are engaging with your ecommerce campaigns.

  • In your HubSpot account, click your account name in the top right corner, then click Integrations.
  • Click Shopify.
  • Click Create workflow below one of the three ecommerce workflow types:
    1. New customer (deal-based workflow): triggered when a contact makes their first purchase, this workflow welcomes new customers with a series of emails. This requires a Sales Hub Professional or Enterprise subscription and a Marketing Hub Professional or Enterprise subscription.
    2. Abandon cart (deal-based workflow): triggered when a contact navigates away from a full cart, this workflow reminds your contacts to place an order. This requires a Sales Hub Professional or Enterprise subscription and a Marketing Hub Professional or Enterprise subscription.
    3. Re-engagement (contact-based workflow): triggered when a contact has not made a purchase in a set number of days, this workflow sends your contacts a series of re-engagement emails. This requires a Marketing Hub Professional or Enterprise subscription.

  • In the right panel, the Recommended section displays actions which are recommended for that workflow. You can view more actions by clicking See more. Select an action to add it to your workflow.
  • Set up your action, then click Save.
  • To add another action to the workflow, click the plus + icon.
  • When you're done, click Click here to review and turn on.

  • You'll be redirected to the workflow in the workflows tool. In the upper right, click Review.
  • Review the workflow settings, then click Turn on.

Please note:

  • You cannot modify enrollment triggers in the default ecommerce workflows. To use an ecommerce workflow with different triggers, clone the workflow.
  • The default ecommerce workflow emails use ecommerce email templates. These templates include custom, deal-specific modules, and can be modified in the design manager. At this time, deal personalization is limited to email templates that are created or selected for the Abandoned Cart Recovery ecommerce workflow. 
  • If you have a Marketing Hub Professional or Enterprise account without a Sales Hub Professional or Enterprise subscription, you will keep access to any New customer or Abandon cart workflows activated prior to January 22, 2019.

Frequently asked questions

Will contacts synced over from Shopify be tracked in HubSpot?

Contacts that are created in HubSpot as part of the initial import from Shopify when the integration is first set up will have an Original source drill-down 1 value of API and an Original source drill-down 2 value of integrations-sync. These contacts will not be cookied, and have to convert on a HubSpot form or click through a HubSpot marketing email sent from your portal to a page that has your HubSpot tracking code before they can be tracked in HubSpot.

Contacts that are synced over and created in HubSpot after the Shopify integration is set up will have Original source drill-down 1 and Original source drill-down 2 values based on their original source type as determined by Shopify. These contacts will be cookied and will be tracked in HubSpot as soon as they sync over from Shopify.

Do I need to add the HubSpot tracking code to my Shopify store pages?

No. Once you integrate HubSpot and Shopify, the connector will automatically add your HubSpot tracking code to all of your Shopify store pages.

What happens if I delete my Shopify product/customer/order?

When you delete deals and products in Shopify, the corresponding deals and products in HubSpot will be deleted. When you delete customer records in Shopify, the corresponding contacts will not be deleted in HubSpot.

What happens if I delete my HubSpot contact records that were created via Shopify?

When contacts in HubSpot that were created via Shopify are deleted, the corresponding customer records will not be deleted in Shopify. However, these contacts will not be re-created if their records are updated in Shopify.

How does HubSpot determine when an order has been abandoned at checkout?

An order will have a deal stage of Checkout Abandoned in HubSpot if the Shopify order is created and not completed within 24 hours. After 24 hours pass, the order will move from Checkout Pending to Checkout Abandoned.

Can I use HubSpot to send Shopify invoice emails?

At this time, it's not possible to use HubSpot to send Shopify invoice emails or other transactional emails for completed Shopify purchases. The Shopify integration is designed to conduct marketing activities for ecommerce in HubSpot and keep transactional activities in Shopify.

Can I use third-party Shopify integrations with the HubSpot-Shopify integration?

Yes. However, if the third-party integrator creates deal records for orders, having both integrations can create duplicate deal records. The deal records created by the HubSpot-Shopify integration can be identified by the deal property EComm Synced.