The following code has been adapted from this Intercom article.

Automatically identify logged-in members


window.intercomSettings = {
app_id: "APP_ID",
name: member["name"],
email: member["email"],


Here's the link to the JavaScript code, where Intercom pre-populates your workspace ID (this appears as your App_ID in the code) for you.

  1. Paste the code right before the closing body tag on every page of your website.
  2. We've edited the code to pre-populate the member's name & email address.
  3. IMPORTANT: If you copy the code snippet above, make sure to manually change your workspace ID (this is called your APP_ID in the code).
Did this answer your question?