initialize intercom for all users regardless of subscriber status
This commit is contained in:
parent
0171ff9f3b
commit
d8b1c0ba4d
@ -65,17 +65,17 @@ function AppContainer() {
|
|||||||
// loadCrispChat();
|
// loadCrispChat();
|
||||||
// window.$crisp.push(["set", "user:email", [user.email]]);
|
// window.$crisp.push(["set", "user:email", [user.email]]);
|
||||||
|
|
||||||
// Initialize Intercom
|
|
||||||
Intercom({
|
|
||||||
app_id: "c5eiaj9m",
|
|
||||||
user_id: user.email,
|
|
||||||
name: user.first_name,
|
|
||||||
email: user.email,
|
|
||||||
});
|
|
||||||
|
|
||||||
setSubscriberTier(user.subscriber_tier);
|
setSubscriberTier(user.subscriber_tier);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Initialize Intercom
|
||||||
|
Intercom({
|
||||||
|
app_id: "c5eiaj9m",
|
||||||
|
user_id: user.email,
|
||||||
|
name: user.first_name,
|
||||||
|
email: user.email,
|
||||||
|
});
|
||||||
|
|
||||||
isInitRequestInProgress.current = false;
|
isInitRequestInProgress.current = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user