Spree

Gem Version

Before you start

Here are some things to know before you begin this process.

You must have a Rejoiner account. If you are curious about Rejoiner, book a call with us. You will need to your Implementation Details when you set up an integration. 

Installation

  1. Add this extension to your Gemfile with this line:
  2. gem 'spree_rejoiner', '~> 1.0.1'
    	
  3. Install the gem using Bundler:
  4. bundle install
    	
  5. Copy & run migrations
  6. bundle exec rails g spree_rejoiner:install
    	
  7. Restart your server.
  8. If your server was running, restart it so that it can find the assets properly.

Configuration

  1. You will need to configure your Site ID in Admin under Configuration > Rejoiner Settings.
  2. You can find your Site ID by heading over your Rejoiner account and then going to Settings > Domain. You should see this in your Implementation Details.

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.

Next steps

Have a question?

Contact us at integrations@rejoiner.com

Still need help? Contact Us Contact Us