Spree Marketing


Marketing is one of the most important aspect of any Ecommerce business.

This extension gives you a lot of lists synced with Mailchimp to help you in creating different subscribers list on Mailchimp.

This extension provides user lists for "Most Selling Products", "Abandoned Carts", "Most searched keywords", etc. to give better insights.


  1. Add this extension to your Gemfile by this line.
   gem 'spree_marketing', github: 'vinsol-spree-contrib/spree_marketing'
Specify branch corresponding to the spree version you are using like `3-0-stable` for spree `3.0.x`
Also this gem has dependency on spree_events_tracker. So make sure spree_events_tracker gem is added in your `Gemfile` like
   gem 'spree_events_tracker', github: 'vinsol-spree-contrib/spree_events_tracker'
  1. Install the gem using bundler.
   bundle install
  1. Copy & run migrations using installer.
   bundle exec rails g spree_marketing:install

This installer will also run installer for spree_events_tracker.

  1. After installer runs, it will create a config/spree_marketing.yml.example which is to be converted into config/spree_marketing.yml with correct user credentials. Also run command

    so that cron tasks can be scheduled.

  2. Restart your server if your server was running so that it can now find assets properly.

Here is an article with screenshots


First bundle your dependencies, then run rake test_app. rake test_app will generate to dummy app if it does not exist.
And then run specs using rspec spec/

 bundle exec rake test_app
 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_marketing/factories'


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

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


No comments yet

Please login to add comment.