SpreeRejoiner
Adds JavaScript snippets to your Spree storefront which support Rejoiner marketing automation.
Installation
- Add this extension to your Gemfile with this line:
gem 'spree_rejoiner', '~> 1.0.1'
- Install the gem using Bundler:
bundle install
- Copy & run migrations
bundle exec rails g spree_rejoiner:install
- Restart your server
If your server was running, restart it so that it can find the assets properly.
Configuration
You will need to configure your Site ID in Admin under Configuration > Rejoiner Settings.
Optionally, you may configure a Domain which is used to store the Rejoiner Session ID cookie. This is only needed if you wish to share the Session ID between multiple subdomains. Otherwise, this extension will default to using document.location.hostname
.