{"repo":"mike-north/ember-intercom-io","free":true,"listed":false,"github":"https://github.com/mike-north/ember-intercom-io","clone":"git clone https://github.com/mike-north/ember-intercom-io.git","description":"Deep intercom.io integration for Ember.js apps","language":"JavaScript","stars":53,"topics":["intercom","ember-apps","addon","chat"],"license":"MIT","category":"chat-messaging","readme_excerpt":"ember-intercom-io Intercom.io integration for Ember.js apps. Setup Install this addon with ember-cli ember install ember-intercom-io Add the {{intercom-io}} component to one of your templates The chat widget will appear whenever this component has been rendered, and should disappear whenever it's destroyed. Configuration In your config/environment.js file, you must provide your appId Users vs Leads In the intercom.io world, a lead is a visitor to your site or app, without an email or name associated with them. A user has a name and email, and is a good construct for tracking the history of all interactions w/ a single person. You can make ember-intercom-io aware of a \"user\" context (shifting into \"users\" mode instead of \"leads\" mode) by adding an object to the intercom service (i.e., your user authentication service). When the application updates the intercom.user object, changes will be sent to Intercom and reflected in your Intercom dashboard. app/services/authentication.js Custom Properties To send custom properties on to intercom, add them to the intercom.user object. All property names will be underscored prior to being sent. undefined values will be removed (however, null is kept). becomes API The intercom service exposes several public API methods that match Intercom.com's existing Javascript API. For full details on the client API, read the Intercom docs. Properties Name Type --- --- autoUpdate Boolean hideDefaultLauncher Boolean isOpen Boolean isBooted Boolean unread","default_branch":null,"files":null,"tree":[],"storefront":"/r/mike-north","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mike-north/ember-intercom-io/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}