{"id":11210,"date":"2024-08-20T13:38:19","date_gmt":"2024-08-20T13:38:19","guid":{"rendered":"https:\/\/spreecommerce.org\/?post_type=cpt_integrations&#038;p=11210"},"modified":"2024-08-21T13:08:06","modified_gmt":"2024-08-21T13:08:06","slug":"mixpanel-integration-with-spree","status":"publish","type":"cpt_integrations","link":"https:\/\/spreecommerce.org\/integrations\/mixpanel-integration-with-spree\/","title":{"rendered":"Mixpanel and Spree integration"},"content":{"rendered":"\n<p><a href=\"https:\/\/mixpanel.com\/\">Mixpanel<\/a>&nbsp;is an advanced analytics platform for mobile &amp; web. It helps businesses grow by helping them understand how their users behave and use their products by tracking actions people take rather than page views.<\/p>\n\n\n\n<p>The integration of Mixpanel 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 Mixpanel for your eCommerce business<\/h2>\n\n\n\n<p>User analytics helps you learn how users engage with your products, experiences, and campaigns so you can make them better.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Understand every user\u2019s journey<\/h3>\n\n\n\n<p>Analyze each interaction across the full customer journey using internal and external data. Improve engagement and lifetime value by nudging users based on actions they\u2019ve taken.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Drive loyalty with digital products<\/h3>\n\n\n\n<p>Learn which features increase conversion, engagement, and retention. Then test ways to improve and adapt based on what worked and didn\u2019t.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Make data-driven decisions&nbsp;at all levels<\/h3>\n\n\n\n<p>Enable the whole team\u2014from executive to individual contributor\u2014to impact KPIs and measure them in real time. Now everyone can use data to be more strategic.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to integrate Mixpanel with Spree<\/h2>\n\n\n\n<p>The easiest way to integrate Mixpanel 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>Mixpanel<\/strong><\/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>Facebook Pixels<\/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","protected":false},"excerpt":{"rendered":"<p>Mixpanel&nbsp;is an advanced analytics platform for mobile &amp; web. It helps businesses grow by helping them understand how their users behave and use their products by tracking actions people take rather than page views. The integration of Mixpanel with your Spree Commerce store can be done quickly and easily following the guidelines mentioned below. The [&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-11210","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\/11210","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=11210"}],"wp:term":[{"taxonomy":"cpt_integrations_category","embeddable":true,"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/cpt_integrations_category?post=11210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}