📝 2024 BizOps Pathways Report is out now! Download today →
Login
Join
Knowledge Hub
Events
Members
Blog
Jobs
Contact
Login
Account
Go to dashboard
Update Profile
Manage Membership
Logout
Profile
Account
Public Profile
Update Profile
Logout
Apply Now
Pro Access Only
Upgrade to get most out of CoS Platform
$65/month or $739/year
Slack and Circle Private Channels
Private Job Board & Advisor Directory
CoS Pods
CoS Knowledge Hub
Advisor Connections & Mentorship
Monthly
Upgrade to Pro
Yearly
Upgrade to Pro
Knowledge Hub
No items found.
Book review: “Who — The A method for hiring”
Source Link ↗
Creator:
MAA1
Submitter:
Date
Jun 18, 2021
Tags:
No items found.
Read this content here ↗
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) } } }); });