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 in Canny.
Several parts of Canny will then include company data. This is useful context when deciding which features your team should build.
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,
  },
});