Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • e-learning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Inteligencia artificial
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Sectores
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Asesoría contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Cervecería
    • Regalos corporativos
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Oficios
    • Servicios de mantenimiento
    • Hardware y soporte técnico
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de vallas publicitarias
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Explorar todos los sectores
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Servicios para partners
    • Registrar tu asesoría contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Sobre este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Sobre este foro
Ayuda

Live Chat embed on external site: no way to identify logged-in visitors?

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Esta pregunta ha sido marcada
chatlivechat
2 Respuestas
833 Vistas
Avatar
Alex Kovalchuk
Version: Odoo 19, self-hosted.

I'm embedding the Live Chat widget on an external SaaS (not built with Odoo Website). Users are already logged in on our side — we know their name, email, and res.partner.id. I want operators in Discuss to see who they're chatting with, instead of a column of anonymous "Visitor / Visitor / Visitor".

Every other livechat tool (Intercom, Crisp, HelpCrunch, Tawk, Drift) has had identify({user_id, name, email}) since around 2015. In Odoo I can't find anything equivalent.

What I tried:
- ?username= on the loader URL only prefills the prechat form, never reaches mail.guest.name
- ?partner_id= is silently ignored
- mutating window.odoo.__session_info__ has no effect

In the source I found _process_extra_channel_params() and getSessionExtraParams() that look like override points, but they're empty and undocumented.

So: is there any official way to pass visitor identity to the embedded widget? If not, what does Odoo recommend for SaaS sites with already-authenticated users? This feels like a FAQ but I can't find an answer.

Thanks.
0
Avatar
Descartar
Avatar
Zehntech Technologies Inc.
Mejor respuesta

Hello Alex,

At the moment, Odoo does not provide an official documented identify() API for externally embedded Live Chat widgets similar to Intercom or Crisp.

By default, the external widget mainly works with anonymous mail.guest sessions, and parameters like partner_id or username are not automatically mapped to the Discuss operator view.

That said, your findings are correct methods like _process_extra_channel_params() and getSessionExtraParams() are typical extension points used for custom implementations. In self-hosted deployments, the usual approach is to extend the widget/backend flow to pass authenticated SaaS user data and link it to a res.partner or customized guest session.

So in short:

  • No official out-of-the-box identity sync for external SaaS embeds
  • Achievable through customization/extensions
  • Common approach is custom session mapping between your SaaS auth layer and Odoo Live Chat

Hope this works for you! If you need any help implementing this or want a more optimized approach, feel free to reach out for further discussion.

Regards,

Zehntech Technologies Inc.

santosh.sekwadia@zehntech.com

0
Avatar
Descartar
Avatar
Shipready HQ
Mejor respuesta

There's no official identify() API in Odoo Live Chat for external embedding. It simply wasn't designed for that use case. The most reliable workaround is calling Odoo via JSON-RPC from your backend to resolve the mail.guest record tied to your res.partner.id, then setting the dgid cookie before the widget loads. Alternatively, if you're open to a small custom module, _process_extra_channel_params is a real  override point you can use to inject partner identity server-side when the channel is created. 

0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
Livechat ne fonctionne pas sur un site shopify
chat livechat shopify
Avatar
Avatar
1
dic 25
2658
LIvechat message is not appearing in the chat when the operator is offline
chat livechat channel
Avatar
0
ago 24
3150
How does Live Chat work with the Helpdesk App?
chat helpdesk livechat
Avatar
Avatar
1
ene 23
4002
How to activate chat (im) in v8 (trunk) Resuelto
chat livechat im
Avatar
Avatar
Avatar
Avatar
Avatar
10
dic 22
27320
Modify the front end of livechat box odoo 10 Resuelto
chat livechat odoo10
Avatar
Avatar
1
dic 22
5799
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk Slovenščina Español (América Latina) Español Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo es un conjunto de aplicaciones empresariales de código abierto que cubre todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now