Add Custom Fields
You can associate custom fields with both users and companies, via identify. Then in Canny you can segment by this data to dig even deeper into your user feedback data.
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: {
    alias: viewer.alias, // optional
    avatarURL: viewer.avatarURL, // optional
    companies: viewer.companies.map((company) => ({
      created: new Date(company.created).toISOString(), // optional
      customFields: {
        companyType: 'b2b',
        employees: 100,
        industry: 'technology',
      },
      id: company.id,
      monthlySpend: company.monthlySpend, // optional, the MRR for the company in dollars. This will be rounded to two decimal places.
      name: company.name,
    })),
    created: new Date(viewer.created).toISOString(), // optional
    customFields: {
      title: 'Product Manager',
    },
    email: viewer.email,
    id: viewer.id,
    name: viewer.name,
  },
});