mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
Intercom tweaks
This commit is contained in:
parent
68179dd55e
commit
a7501d1e91
1 changed files with 4 additions and 1 deletions
|
@ -46,7 +46,10 @@ SimpleRouter = FilteredRouter.extend({
|
|||
window.intercomSettings = {
|
||||
app_id: intercomId,
|
||||
email: currentUserEmail,
|
||||
created_at: Meteor.user().createdAt
|
||||
created_at: moment(Meteor.user().createdAt).unix(),
|
||||
custom_data: {
|
||||
'profile link': 'http://'+document.domain+'/users/'+Meteor.user()._id
|
||||
}
|
||||
};
|
||||
IntercomInit();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue