spree_events_tracker

Spree Events Tracker is a spree extension used to track various user activities. This extension can be used to track 1) Keywords searched by User 2) Products detail page and other pages visited by User 3) Product added/removed/updated to cart 4) Checkout flow during completion of an order

Last updated on: September 04 at 09:36 AM

source code bug tracker
Opensource
5 5 41
owner:  vinsol-spree-contrib

SpreeEventsTracker

Spree Events Tracker is a spree extension used to track various user activities. This extension can be used to track 1. Keywords searched by User 2. Products detail page and other pages visited by User 3. Product added/removed/updated to cart 4. Checkout flow during completion of an order

Demo

Try Spree Events Tracker for Spree master with direct deployment on Heroku:

Deploy

Try Spree Events Tracker for Spree 3-4 with direct deployment on Heroku:

Deploy

Try Spree Events Tracker for Spree 3-1 with direct deployment on Heroku:

Deploy

Installation

  1. Add this extension to your Gemfile:

#### Spree >= 3.2

 gem 'spree_events_tracker', github: 'vinsol-spree-contrib/spree_events_tracker', branch: 'master'

#### Spree < 3.2

 gem 'spree_events_tracker', github: 'vinsol-spree-contrib/spree_events_tracker', branch: 'X-X-stable'

The branch option is important: it must match the version of Spree you're using. For example, use 3-0-stable if you're using Spree 3-0-stable or any 3.0.x version.

  1. Install the gem using Bundler: ruby bundle install

  2. Copy & run migrations ruby bundle exec rails g spree_events_tracker:install

  3. Restart your server

If your server was running, restart it so that it can find the assets properly.

Testing

#### Spree >= 3.1

For Building Dependencies: shell appraisal install

The dummy app can be regenerated by using: ```shell appraisal spree-3-1 rake test_app

 This will run rake test_app using the dependencies configured for Spree 3.1. Similarly you can use spree-3-2 and spree-master for generating dummy applications using dependencies for Spree 3.2 and latest version of Spree
```shell
appraisal spree-3-1 rspec

This will run rspec using the dependencies configured for Spree 3.1. Similarly you can use spree-3-2 and spree-master to run rspec using dependencies for Spree 3.2 and latest version of Spree

#### Spree 3.0 and Spree 2.x

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 rspec spec

Contributing

  1. Fork the repository.
  2. Clone your repository.
  3. Run bundle install.
  4. Make the required changes.
  5. Ensure all specs are passing.
  6. Submit your pull request.

Credits

vinsol.com: Ruby on Rails, iOS and Android developers

Copyright (c) 2017 vinsol.com, released under the New MIT License

compatible spree versions
tags spree versions
master >= 3.2.0, < 4.0
v2.4 ~> 2.4
v3.0.0 ~> 3.0.0
v3.1.0 ~> 3.1.0
v3.2-alpha ~> 3.2.0.alpha
v3.2.1 ~> 3.2.0
v3.2.2 ~> 3.2.0
v3.3.0 ~> 3.3.0
v3.3.1 ~> 3.3.0
authors
+ vinsol team Nimish Gupta Tanmay Sinha Nimish Mehta