Option to restrict cookies to the current subdomain | Community
Skip to main content
Submitted

Option to restrict cookies to the current subdomain

Related products:MessengerSecurity & ComplianceIntegrations, API & Custom ActionsThird-party Apps & Plugins
  • Nov 23, 2026 11:09 AM UTC
  • 0 replies
  • 8 views

We load the Messenger only on app.example.com, but the cookies intercom-id-*, intercom-session-* and intercom-device-id-* are written with Domain=example.com. The browser therefore sends them with every request to that and all other subdomains, including our public website www.example.com, where Intercom is not used and visitors may have rejected all non-essential cookies. Sadly, that is a problem for cookie consent compliance.

We could not find a setting for this in the Messenger settings or the JavaScript API.

Request: a setting, either in the workspace Messenger settings or as a launch attribute (for example cookie_domain: "app.example.com" or host_only_cookies: true), that makes the Messenger write its cookies host-only or to a domain we specify, instead of the top-level domain.