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
- 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'
- Install the gem using Bundler:
bundle install
- Copy & run migrations
bundle exec rails g spree_analytics_trackers:install
bundle exec rails g spree_gdpr:install
- Restart your server
If your server was running, restart it so that it can find the assets properly.
Better support Segment.com customer marketing email subscription and affiliate tracking services.
- Allow customers to manage their privacy and marketing consent via the customer accounts page
- Allow customers to consent to marketing emails at checkout
- Allow customers to subscribe to emails directly via a form.
- Give customers the option to consent to cookie usage for marketing on popup