HubSpot develops cloud-based, inbound marketing software that allows businesses to transform the way that they market online.

Its service portfolio includes social media publishing and monitoring, blogging, SEO, website content management, email marketing, marketing automation, and reporting and analytics. Hubspots’s sales application enables sales and service teams to have effective conversations with leads and prospects.

The integration of Hubspot with your Spree Commerce store can be done quickly and easily following the guidelines mentioned below.

The benefits of using Hubspot for your eCommerce business


Free HubSpot CRM

Everything you need to organize, track, and nurture your relationships with leads and customers. It’s 100% free. 


Marketing Hub

Grow traffic and convert more visitors with tools like landing pages, automation, analytics, and so much more.


Sales Hub

Time-saving tools that help you get deeper insights into your prospects, automate the tasks you hate, and close more deals faster.

How to integrate Hubspot with Spree


The easiest way to integrate Hubspot with Spree is using Spree Analytics Trackers.

This extensions adds support for Google Analytics Enhanced Ecommerce and Segment Ecommerce tracking to Spree Commerce stores.


Via you can plug-in also a lot of additional vendors and services like:

No additional development required.



  1. Add this extension to your Gemfile with this line:
gem 'spree_analytics_trackers', github: 'spree-contrib/spree_analytics_trackers'
  1. Install the gem using Bundler:
bundle install
  1. Copy & run migrations
bundle exec rails g spree_analytics_trackers:install
  1. Restart your server

If your server was running, restart it so that it can find the assets properly.


Adding specialized analytics to your online store has never been so simple! Just install `spree_analytics_trackers`, configure Segment and connect hundreds of various analytic solutions. – Piotr Leniec, Senior Fullstack Developer, Spark Solutions


Example of Hubspot and Spree integration


FCP Euro is the leading online catalog store for OE, OEM, and Genuine replacement parts for European cars. The company uses Spree for their eCommerce platform and UPS and USPS for delivery.

Read more: FCP Euro Success Story


example of Hubspot and Spree Commerce Integration

Contact us

Learn more about Spree or start a new project!