{"id":11204,"date":"2024-08-20T13:35:47","date_gmt":"2024-08-20T13:35:47","guid":{"rendered":"https:\/\/spreecommerce.org\/?post_type=cpt_integrations&#038;p=11204"},"modified":"2024-08-21T18:02:30","modified_gmt":"2024-08-21T18:02:30","slug":"facebook-pixel-integration-with-spree","status":"publish","type":"cpt_integrations","link":"https:\/\/spreecommerce.org\/integrations\/facebook-pixel-integration-with-spree\/","title":{"rendered":"Facebook Pixel and Spree integration"},"content":{"rendered":"\n<p><a href=\"https:\/\/www.facebook.com\/business\/help\/952192354843755\">Facebook Pixel<\/a>&nbsp;is an analytics tool that allows you to measure the effectiveness of your advertising by understanding the actions people take on your website.<\/p>\n\n\n\n<p>The integration of Facebook Pixel with your Spree Commerce store can be done quickly and easily following the guidelines mentioned below.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The benefits of using Facebook Pixel for your eCommerce business<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Reach the right people<\/h3>\n\n\n\n<p>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.&nbsp;<a href=\"https:\/\/www.facebook.com\/business\/help\/666509013483225?helpref=faq_content\">Learn more.<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Drive more sales<\/h3>\n\n\n\n<p>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&nbsp;<a href=\"https:\/\/www.facebook.com\/business\/help\/1082085278508457?helpref=faq_content\">optimize your ad sets for conversions<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Measure the results of your ads<\/h3>\n\n\n\n<p>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\u00a0<a href=\"https:\/\/www.facebook.com\/business\/help\/898185560232180?helpref=faq_content\">data you can see from your Facebook pixel page.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to integrate Facebook Pixel with Spree<\/h2>\n\n\n\n<p>The easiest way to integrate Facebook Pixel with Spree is using&nbsp;<a href=\"https:\/\/github.com\/spree-contrib\/spree_analytics_trackers\">Spree Analytics Trackers<\/a>.<\/p>\n\n\n\n<p>This extensions adds support for&nbsp;<a href=\"https:\/\/developers.google.com\/analytics\/devguides\/collection\/analyticsjs\/enhanced-ecommerce\">Google Analytics Enhanced Ecommerce<\/a>&nbsp;and&nbsp;<a href=\"https:\/\/segment.com\/docs\/spec\/ecommerce\/v2\/\">Segment Ecommerce<\/a>&nbsp;tracking to&nbsp;<a href=\"https:\/\/spreecommerce.org\/\">Spree Commerce<\/a>&nbsp;stores.<\/p>\n\n\n\n<p>Via Segment.com you can plug-in also a lot of additional vendors and services like:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/spreecommerce.org\/integrations\/mixpanel-integration-with-spree\/\">Mixpanel<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/spreecommerce.org\/integrations\/kissmetrics-integration-with-spree\/\">Kissmetrics<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/spreecommerce.org\/integrations\/google-tag-manager-integration-with-spree\/\">Google Tag Manager<\/a><\/li>\n\n\n\n<li><strong>Facebook Pixel<\/strong><\/li>\n\n\n\n<li>Google Adwords remarketing<\/li>\n\n\n\n<li><a href=\"https:\/\/segment.com\/catalog#integrations\/all\">and hundreds others<\/a><\/li>\n<\/ul>\n\n\n\n<p>No additional development required.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installation<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Add this extension to your Gemfile with this line:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">gem 'spree_analytics_trackers', github: 'spree-contrib\/spree_analytics_trackers'\n<\/pre>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>Install the gem using Bundler:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">bundle install<\/pre>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Copy &amp; run migrations<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">bundle exec rails g spree_analytics_trackers:install<\/pre>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li>Restart your server<\/li>\n<\/ol>\n\n\n\n<p>If your server was running, restart it so that it can find the assets properly.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Adding specialized analytics to your online store has never been so simple! Just install `<a href=\"https:\/\/github.com\/spree-contrib\/spree_analytics_trackers\">spree_analytics_trackers<\/a>`, configure Segment and connect hundreds of various analytic solutions. \u2013 Piotr Leniec, Senior Fullstack Developer,&nbsp;<a href=\"https:\/\/sparksolutions.co\/\">Spark Solutions<\/a><\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Examples of Facebook Pixel and Spree integration<\/h2>\n\n\n\n<p><a href=\"https:\/\/www.urbanladder.com\/\">Urban Ladder<\/a>&nbsp;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.<\/p>\n\n\n\n<p>Read more:&nbsp;<a href=\"https:\/\/spreecommerce.org\/stories\/urban-ladder-chose-spree-to-introduce-world-class-tech-innovations-that-massively-simplify-furniture-shopping\/\">Urban Ladder\u2019s success story<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"1590\" height=\"958\" src=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2019\/01\/example-of-Facebook-Pixel-and-Spree-Commerce-Integration-1.jpg\" alt=\"example of Facebook Pixel and Spree Commerce Integration 1\" class=\"wp-image-2377\" srcset=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2019\/01\/example-of-Facebook-Pixel-and-Spree-Commerce-Integration-1.jpg 1590w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2019\/01\/example-of-Facebook-Pixel-and-Spree-Commerce-Integration-1-300x181.jpg 300w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2019\/01\/example-of-Facebook-Pixel-and-Spree-Commerce-Integration-1-768x463.jpg 768w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2019\/01\/example-of-Facebook-Pixel-and-Spree-Commerce-Integration-1-1024x617.jpg 1024w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2019\/01\/example-of-Facebook-Pixel-and-Spree-Commerce-Integration-1-600x362.jpg 600w\" sizes=\"(max-width: 1590px) 100vw, 1590px\" \/><\/figure>\n\n\n\n<p><a href=\"https:\/\/www.getyuve.com\/\">Yuve<\/a>&nbsp;is an NYC based brand of premium vegan foods and nutritional supplements.&nbsp;Made with hand-selected natural ingredients,&nbsp;Yuve&nbsp;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.<\/p>\n\n\n\n<p>Read more:&nbsp;<a href=\"https:\/\/spreecommerce.org\/stories\/yuve-chooses-spree-commerce-to-help-busy-people-maintain-a-complete-diet-without-compromising-on-time\/\">Yuve\u2019s success story<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"1587\" height=\"948\" src=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2019\/01\/aaa.jpg\" alt=\"example of Facebook Pixel and Spree Commerce Integration 1\" class=\"wp-image-2378\" srcset=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2019\/01\/aaa.jpg 1587w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2019\/01\/aaa-300x179.jpg 300w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2019\/01\/aaa-768x459.jpg 768w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2019\/01\/aaa-1024x612.jpg 1024w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2019\/01\/aaa-600x358.jpg 600w\" sizes=\"(max-width: 1587px) 100vw, 1587px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Facebook Pixel&nbsp;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 [&hellip;]<\/p>\n","protected":false},"featured_media":0,"template":"","meta":{"_acf_changed":true,"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":""},"cpt_integrations_category":[983,985],"class_list":["post-11204","cpt_integrations","type-cpt_integrations","status-publish","hentry","cpt_integrations_category-analytics","cpt_integrations_category-marketing-tools"],"acf":[],"_links":{"self":[{"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/cpt_integrations\/11204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/cpt_integrations"}],"about":[{"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/types\/cpt_integrations"}],"wp:attachment":[{"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/media?parent=11204"}],"wp:term":[{"taxonomy":"cpt_integrations_category","embeddable":true,"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/cpt_integrations_category?post=11204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}