← all membersTest Naman Parashar
Engineering at Sylva
Delhi
Bio
yourself to the community
BizOps Started at:
Current Industry
Company Size
51-200
Experience
Date Joined
Referred By
Gives
some offer for members here?
Asks
This is What are you hoping to learn or gain from th?
Other members
Lanell Smith
Senior Associate, Special Projects (Ops Dept.) and Special Asst. to the CEO at Chiefs for Change
Memphis (Remote)
Gus Clarke
Strategy & Operations AUNZ at Spotify
Sydney
Grant Elliot
Head of Product Pricing and Analytics at FullStory
Atlanta
Stephen Levin
Head of Business Operations at Zapier
Charlottesville, VA
Aditya Singh
Business Operations Associate at Plymouth
San Francisco, California
All Members →
Outseta.on('accessToken.set', function(member) {
Outseta.getUser().then(function (result)
{
console.log(result);
if(result['Account']['HasLoggedIn']){
console.log('user is logged in');
try{
let firstName = result['Account']['PrimaryContact']['FirstName'];
let lastName = result['Account']['PrimaryContact']['LastName'];
let email = result['Account']['PrimaryContact']['Email'];
let airtableID = result['Account']['airtableID'];
let hubspotID = result['Account']['hubspotID'];
let accountUID = result['Account']['Uid'];
const userProperties = {
'First name': firstName,
'Last name': lastName,
'Email': email,
'Airtable ID': airtableID,
'Hubspot ID': hubspotID,
'Account ID': accountUID
};
heap.identify(email);
heap.addUserProperties(userProperties);
console.log('completed heap identification');
}
catch(e) {
console.log(e)
}
}
});
});