Integrating into meteor


Ok, so I’ve integrated it and it’s working fine at a basic level but I have 2 related problems…

Firstly, where do I put this code

IntercomSettings.userInfo = function(user, info) {
// add properties to the info object, for instance:
if ( { =;
   info['Name'] = + ' ' +;

in order to get the info of users logged into say, Google? Can I do the same with FB, LinkedIn etc?

Secondly, how do I get the info of users logged into my app sent to intercom? (I’m getting the userId , location, last page visited)

Many thanks in advance.