Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

145
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda