Spree Wrapper to integrate Intercom.
Last updated on: October 31 at 12:26 PM
source code bug trackerTry Spree Intercom for Spree master with direct deployment on Heroku:
Try Spree Intercom for Spree 3-4 with direct deployment on Heroku:
It is a spree wrapper for Intercom, using which you can directly install and use Intercom on your Spree store, create and update customers on Intercom, chat with customers, and track his movements on your store, without any hassle.
We currently support Rails 5 and Spree > 3.1
Add this extension to your Gemfile with this line:
ruby
gem 'spree_intercom', github: 'vinsol-spree-contrib/spree-intercom'
Install the gem using Bundler:
ruby
bundle install
Copy & run migrations
ruby
bundle exec rails g spree_intercom:install
Restart your server
If your server was running, restart it so that it can find the assets properly.
To get your application id, you can have a look here
You can read more about access tokens here
Please ensure this step is performed before running the rake task.
bundle exec rake intercom:process_users
Rails.application.routes.default_url_options = { host: "mydomain.com", protocol: 'https' }
Please visit your Intercom admin panel to customise it as per your wish.
As soon as a user creates an account, or user updates his information [ name, phone ] is instantaneously uploaded on Intercom.
You can engage with customers through the Intercom message widget.
As soon as the customer logs out of his account, his previous conversation is swiped off, to maintain customer's privacy.
Currently, we are tracking the following events - * Customer creates his account. * Customer updates his account. * Customer logs into his account. * Customer logs out from his account. * Customer adds item in his cart. * Customer removes item from his cart. * Customer updates his cart. * Customer views a product. * Customer searches a product. * Customer applies a filter. * Checkout stages - address, delivery, payment, confirm. * Customer places an order. * Customer's order is shipped. * Customer returns an order. * Customer applies promotion. * Customer removes promotion.
First bundle your dependencies, then run rake
. rake
will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using rake test_app
.
bundle
bundle exec rake
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_intercom/factories'
If you'd like to contribute, please take a look at the instructions for installing dependencies and crafting a good pull request.
Copyright (c) 2018 Vinsol, released under the New BSD License
tags | spree versions |
---|---|
master | >= 3.1.0, < 4.0 |