Add Company Info

Learn how to sync company data and add monthly spend to better understand and manage your users.

Written By Markus Palm

Last updated 6 months ago

👨‍💻 You'll need to write custom code for the setup process. If you're uncomfortable with this, share this guide with a technical team member who can assist.

Syncing your customers’ data to feedback is one of the most impactful things you can do for feedback management. It lets you view authors' and companies' data (like revenue, plan, employee count, etc.) next to their posts.

Here’s an example of how to add company data to an identify call:

Example
Featurebase( "identify", { organization: "yourorg", // required email: "customer@example.com", // required name: "Your Customer", // required id: "1234567", // required profilePicture: "https://example.com/images/yourcustomer.png", // optional companies: [ { id: "987654321", // required name: "Business Inc. 23", // required monthlySpend: 500, // optional, but highly recommended createdAt: "2023-05-19T15:35:49.915Z", // optional customFields: { location: "Canada", language: "French", }, // optional }, ], }, (err) => { // Callback function. Called when identify completed. if (err) { // console.error(err); } else { // console.log("Data sent successfully!"); } } );

We recommend adding monthly spend for each company to sort ideas based on total spend. This helps you find posts that are requested most by your actual paying users - the ones that actually matter.

If your app allows a user to oversee several companies, you can simply add each company to the companies array.