/spree_mixpanel

Primary LanguageRubyBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

SpreeMixpanel

Mixpanel is the most advanced analytics platform for mobile & web. Instead of measuring pageviews, it helps you analyze the actions people take in your application. An action can be anything - someone uploading a picture, playing a video, or sharing a post, for example.

Installation

Add spree_mixpanel to your Gemfile:

gem 'spree_mixpanel'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g spree_mixpanel:install

Testing

Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.

bundle
bundle exec rake test_app
bundle exec rspec spec

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_mixpanel/factories'

Copyright (c) 2014 [name of extension creator], released under the New BSD License