spree_marketing

Spree extension that allow a lot of reports synced with Mailchimp to help you in creating different subscribers list on Mailchimp. This extension provides reports like "Most Selling Products", "Abandoned Carts", "Most searched keywords", etc. to give better insights.

Last updated on: March 18 at 01:54 PM

source code bug tracker
Opensource
7 7 18
owner:  vinsol-spree-contrib

Spree Marketing

Introduction

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.

Demo

Try Spree Marketing for Spree master with direct deployment on Heroku:

Deploy

Try Spree Marketing for Spree 3-6 with direct deployment on Heroku:

Deploy

Installation

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

#### Spree >= 3.2

 gem 'spree_marketing', github: 'vinsol-spree-contrib/spree_marketing'
gem 'spree_events_tracker', github: 'vinsol-spree-contrib/spree_events_tracker'

#### Spree 3.0 and Spree 3.1

 gem 'spree_marketing', github: 'vinsol-spree-contrib/spree_marketing', branch: 'X-X-stable'
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.
 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 ruby wheneverize 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

Testing

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
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'

Credits

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

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

compatible spree versions
tags spree versions
master >= 3.1.0, < 4.0
v3.0.0 ~> 3.0.7
v3.1.0 ~> 3.1.0
authors
Vinay Mittal