{"id":11189,"date":"2024-08-20T13:31:07","date_gmt":"2024-08-20T13:31:07","guid":{"rendered":"https:\/\/spreecommerce.org\/?post_type=cpt_integrations&#038;p=11189"},"modified":"2024-08-21T13:15:00","modified_gmt":"2024-08-21T13:15:00","slug":"rollbar-integration-with-spree","status":"publish","type":"cpt_integrations","link":"https:\/\/spreecommerce.org\/integrations\/rollbar-integration-with-spree\/","title":{"rendered":"Rollbar and Spree integration"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2019\/01\/rollbar.png\" alt=\"Rollbar and Spree Commerce Integration\"\/><\/figure>\n\n\n\n<p><a href=\"https:\/\/rollbar.com\/\">Rollbar<\/a>&nbsp;is an error monitoring and debugging tool. It detects errors that happen in web applications and helps developers track and fix them. Features include alerts, a dashboard, a suite of analysis tools, and an API. Officially supported languages include Ruby, Python, PHP, and Node.js on the server-side, and Javascript, iOS, and Android on the client side.<\/p>\n\n\n\n<p>The integration of Rollbar 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 Rollbar for your eCommerce business<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Detects bugs in real-time with live error feed and provides stack trace data for each error, including request parameters, local variable values, environment, and affected users.<\/li>\n\n\n\n<li>Sorts error trends based on location, browser, host information, OS, or IP addresses.<\/li>\n\n\n\n<li>Automates customized alerts and integrates with incident management tools.<\/li>\n\n\n\n<li>Creates custom notifications that trigger when custom events or condition filters occur.<\/li>\n\n\n\n<li>Integrates with third-party trackers so users can manually create new issues, link current issues to Rollbar issues, and automate issue tracking based on custom rules.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How to integrate Rollbar with Spree<\/h2>\n\n\n\n<p>The easiest way to integrate Rollbar 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><strong>Rollbar<\/strong><\/li>\n\n\n\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><a href=\"https:\/\/spreecommerce.org\/integrations\/facebook-pixel-integration-with-spree\/\">Facebook Pixels<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/spreecommerce.org\/integrations\/google-adwords-remarketing-integration-with-spree\/\">Google Adwords remarketing<\/a><\/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\">Example of Rollbar and Spree integration<\/h2>\n\n\n\n<p><a href=\"https:\/\/greetabl.com\/\">Greetabl<\/a>&nbsp;is&nbsp;an online one-stop-shop for creatively-curated gifts and greetings that are personalized with Instagram photos, packaged and sent in just a few clicks. The company uses Spree for its eCommerce platform and Rollbar for automatic error reporting.<\/p>\n\n\n\n<p>Read more:&nbsp;<a href=\"https:\/\/spreecommerce.org\/stories\/greetabl-com-business-streamlined-by-a-custom-spree-commerce-implementation-fulfillment-integration\/\">Greetabl\u2019s Success Story<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" width=\"1719\" height=\"989\" src=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2019\/01\/example-of-Rollbar-and-Spree-Commerce-Integration.jpg\" alt=\"example of Rollbar and Spree Commerce Integration\" class=\"wp-image-2402\" srcset=\"https:\/\/spreecommerce.org\/wp-content\/uploads\/2019\/01\/example-of-Rollbar-and-Spree-Commerce-Integration.jpg 1719w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2019\/01\/example-of-Rollbar-and-Spree-Commerce-Integration-300x173.jpg 300w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2019\/01\/example-of-Rollbar-and-Spree-Commerce-Integration-768x442.jpg 768w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2019\/01\/example-of-Rollbar-and-Spree-Commerce-Integration-1024x589.jpg 1024w, https:\/\/spreecommerce.org\/wp-content\/uploads\/2019\/01\/example-of-Rollbar-and-Spree-Commerce-Integration-600x345.jpg 600w\" sizes=\"(max-width: 1719px) 100vw, 1719px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Rollbar&nbsp;is an error monitoring and debugging tool. It detects errors that happen in web applications and helps developers track and fix them. Features include alerts, a dashboard, a suite of analysis tools, and an API. Officially supported languages include Ruby, Python, PHP, and Node.js on the server-side, and Javascript, iOS, and Android on the client [&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],"class_list":["post-11189","cpt_integrations","type-cpt_integrations","status-publish","hentry","cpt_integrations_category-analytics"],"acf":[],"_links":{"self":[{"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/cpt_integrations\/11189","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=11189"}],"wp:term":[{"taxonomy":"cpt_integrations_category","embeddable":true,"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/cpt_integrations_category?post=11189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}