Add Company Data to Productlogz
Track feedback at the company level to gain deeper insights and prioritise the right features.
How to Send Company Data
ProductLogz('classify', {
accountKey: <replace-with-your-account-id> // **required**,
// NOTE: the 'viewer' is just used as a reference here,
// kindly replace it with your user's state.
user: {
alias: user.alias,
avatarURL: user.avatarURL,
createdAt: new Date(user.created).toISOString(),
email: user.email,
id: user.id,
name: user.name,
companies: user.companies.map((company) => (
{
id: company.id,
name: company.name,
monthlyRevenue: company.revenue,
createdAt: new Date(company.created).toISOString(),
}
))
},
});
Last updated