Skip to content
This repository was archived by the owner on Dec 11, 2019. It is now read-only.

initialize intercom with segment anonymous_id #31

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
fix tests
  • Loading branch information
RahavLussato authored Apr 30, 2018
commit e3394d6fcbc6d4cd94a723712c6d5f93b96af7cf
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Intercom.prototype.page = function(page) {

var method = this.booted === true ? 'update' : 'boot';

var traits = {}
var traits = {};
if (method === 'boot') {
if (window.analytics
&& window.analytics.user()) {
Expand Down