Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

132
Views
How switch a visitor to a user in intercom when logged in Next.js?

I have a website with pages for users and visitors. I Show intercom to visitors using the installation script from intercom documentation installation script for visitors

Intercom for visitor is showed during signup pages, then when a visitor is registered is redirected to user pages and i switch to the script for users using 'shutdown' to show intercom for users.

window.intercom.shutdown()

Then i restart intercom with 'boot'

window.intercomSettings = {
  app_id: APP_ID,
  api_base: 'https://api-iam.intercom.io',
}
window.Intercom('boot', {
  email,
  name,
  stack: 'b2b',
  user_id: `b2b-${id}`,
})

Intercom chat for visitors disapear but user chat don't show. Which is the best way to switch from visitor to user?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!