Code Monkey home page Code Monkey logo

spree_gdpr's Introduction

spree_gdpr

This extension is a work in progress, feel free to contribute and open PR's

spree_gdpr extends the spree_analytics_tracker extention by adding email subscription support via Segment.com, allowing (track.identify) functionality while remaining GDPR compliant.

Using the spree_gdpr extention you can plug-in services like:

  • Saasquatch affiliate marketing
  • MailChimp email marketing subsriptions

Installation

  1. Add the following extensions to your Gemfile with this line:
gem 'spree_analytics_trackers', github: 'spree-contrib/spree_analytics_trackers' # < Spree 4.1
gem 'spree_analytics_trackers', '~> 2.0' # Spree 4.1 and up

gem 'spree_gdpr', github: 'matthewkennedy/spree_gdpr'
  1. Install the gem using Bundler:
bundle install
  1. Copy & run migrations
bundle exec rails g spree_analytics_trackers:install
bundle exec rails g spree_gdpr:install
  1. Restart your server

If your server was running, restart it so that it can find the assets properly.

Design Goals

Better support Segment.com customer marketing email subscription and affiliate tracking services.

Frontend (Customer Facing)

  1. Allow customers to manage their privacy and marketing consent via the customer accounts page
  2. Allow customers to consent to marketing emails at checkout
  3. Allow customers to subscribe to emails directly via a form.
  4. Give customers the option to consent to cookie usage for marketing on popup

spree_gdpr's People

Contributors

matthewkennedy avatar ronzalo avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.