No release in over 3 years
There's a lot of open issues
Supports Google Analytics
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 1.0
>= 4.1.0, < 5.0
>= 4.1.0, < 5.0
 Project Readme

Spree Analytics Trackers

Build Status

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 Pixels
  • Google Adwords remarketing
  • and hundreds others

No additional development required.

Installation

  1. Add this extension to your Gemfile with this line:
gem 'spree_analytics_trackers', '~> 2.0'
  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.

Testing

First bundle your dependencies, then run rake. rake will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using rake test_app.

bundle
bundle exec rake

When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:

require 'spree_analytics_trackers/factories'

License

Spree Analytics Trackers is copyright © 2017-2020 Spark Solutions Sp. z o.o.. It is free software, and may be redistributed under the terms specified in the LICENCE file.

About Spark Solutions

Spark Solutions

Spree Analytics Trackers is maintained by Spark Solutions Sp. z o.o..

We are passionate about open source software. We are available for hire.