Facebook Pixel and Spree integration
Facebook Pixel is an analytics tool that allows you to measure the effectiveness of your advertising by understanding the actions people take on your website.
The integration of Facebook Pixel with your Spree Commerce store can be done quickly and easily following the guidelines mentioned below.
The benefits of using Facebook Pixel for your eCommerce business
Reach the right people
Find new customers, or people who have visited a specific page or taken a desired action on your website. Plus, create Lookalike Audiences to reach more people who are similar to your best customers. Learn more.
Drive more sales
Set up automatic bidding to target people who are more likely to take an action you care about, like making a purchase. See how to optimize your ad sets for conversions.
Measure the results of your ads
Understand how successful your ad is by seeing what happened as a direct result. You can view information like your conversions and sales. Find out what data you can see from your Facebook pixel page.
How to integrate Facebook Pixel with Spree
The easiest way to integrate Facebook Pixel 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 Segment.com you can plug-in also a lot of additional vendors and services like:
- Mixpanel
- Kissmetrics
- Google Tag Manager
- Facebook Pixel
- Google Adwords remarketing
- and hundreds others
No additional development required.
Installation
- Add this extension to your Gemfile with this line:
gem 'spree_analytics_trackers', github: 'spree-contrib/spree_analytics_trackers'
- Install the gem using Bundler:
bundle install
- Copy & run migrations
bundle exec rails g spree_analytics_trackers:install
- 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
Examples of Facebook Pixel and Spree integration
Urban Ladder is an omnichannel furniture and decor retailer based out of Bangalore, India. The company uses Spree for its eCommerce platform and Facebook Pixel for Facebook ads conversion tracking.
Read more: Urban Ladder’s success story
Yuve is an NYC based brand of premium vegan foods and nutritional supplements. Made with hand-selected natural ingredients, Yuve products promote health and longevity through complete wholesome nutrition and encourage a life of happiness. The company uses Spree for their online store and Facebook Pixel for Facebook ads conversion tracking.
Read more: Yuve’s success story