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

Installation

  1. Add this extension to your Gemfile with this line:

    gem 'spree_events_tracker'
    
  2. Install the gem using Bundler:

    bundle install
    
  3. Copy & run migrations

    bundle exec rails g spree_events_tracker:install
    
  4. 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 rspec spec

Credits

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

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