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.
- 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'
- Install the gem using bundler.
- Copy & run migrations using installer.
bundle exec rails g spree_marketing:install
This installer will also run installer for spree_events_tracker.
After installer runs, it will create a
config/spree_marketing.yml.examplewhich is to be converted into
config/spree_marketing.ymlwith correct user credentials. Also run command
so that cron tasks can be scheduled.
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 will generate to dummy app if it does not exist.
And then run specs using
bundle 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:
Copyright (c) 2016 vinsol.com, released under the New MIT License