Add Company Data
Is your product made for other businesses? Then you likely have multiple user accounts associated with each company.
You can send company data to Canny when you identify users. This way, we'll also track your companies and surface this data throughout Canny.
To find your appID, log in above. You'll see your appID pre‑filled in the code snippet.
Canny('identify', {
appID: 'YOUR_APP_ID',
user: {
avatarURL: viewer.avatarURL, // optional
companies: viewer.companies.map((company) => ({
created: new Date(company.created).toISOString(), // optional
id: company.id,
monthlySpend: company.monthlySpend, // optional
name: company.name,
})),
created: new Date(viewer.created).toISOString(), // optional
email: viewer.email,
id: viewer.id,
name: viewer.name,
},
});