How to automatically push user company information
Learn how to set and read a visitor company from your website with the Crisp JavaScript SDK.
If your website has authenticated users, you can pass company information to Crisp automatically. This helps your team understand where a visitor works and keeps company context available in the conversation.
Set the visitor company
Use the Crisp JavaScript SDK after the Crisp chatbox snippet is available on the page.
// Replace this company data with your own values.
$crisp.push(["set", "user:company", [
"Crisp", {
url: "https://crisp.chat/",
description: "Give your customer experience a human touch.",
employment: ["CTO", "Software Engineer"],
geolocation: ["FR", "Nantes"]
}
]]);
The company object is optional. Only the company name is required.
$crisp.push(["set", "user:company", ["Crisp"]]);
Read the visitor company
You can read the company currently stored in the visitor session with $crisp.get.
var visitorCompany = $crisp.get("user:company");
Go further
The same SDK can also set the visitor email, phone number, nickname, avatar, custom data, segments, and events.
$crisp interface? Read How do I use the $crisp chatbox SDK?.Updated on: 03/05/2026
Thank you!