Research library / Installation & diagnostics

Intercom logout: prevent the previous user's chat history remaining visible

Call the documented Intercom shutdown method when the application session ends. Shared devices also need the vendor's additional Intercom-cookie cleanup where applicable before a new session.

Find your next diagnostic step

Editorial review: 2026-11-26 · Intercom web installation and shutdown · PIP research, not a live vendor performance test.

Decision path

Work through the problem

Sign in ACreate a synthetic conversation.
Log outInvoke shutdown through real logout and expiry paths.
Sign in BVerify previous conversation is not visible or merged.
Shared deviceReview vendor-prefixed cookies under documented guidance.

Practical example

A common situation

A support portal runs on a shared reception computer. User A logs out, User B signs in. The critical test is whether B can see A's previous conversation, not whether the widget still opens. Fail the release if synthetic sessions mix.

PIP illustration: Account A; Session shutdown; Account B. Implementation concept; follow documented steps and verification checks.

Implementation concept; follow documented steps and verification checks.

Implementation guide

Where to go and what to check

Start here: Application logout and expiry handlers; Intercom JavaScript API shutdown or the NPM equivalent.

  1. Use two fictional accounts in an authorised isolated workspace. Create a synthetic conversation and record the intended first user's visibility.
  2. Invoke Intercom('shutdown') or the SDK equivalent on manual logout and automatic expiry. For shared devices, follow the documented additional cleanup of remaining intercom-prefixed cookies on your own domain.
  3. Only then start a fresh anonymous or signed-in session. Check both the browser and synthetic contact histories to detect inadvertent merging.

What a passing test looks like

Previous user's history absent after logout

Second account sees only its own conversation; no contact-history merge

Manual logout, expiry and shared-device cleanup verified

Interactive troubleshooting

What are you seeing?

Recommended next check

Inspect whether shutdown runs on every logout path; isolate the test workspace.

See all diagnostic paths
History remains
Inspect whether shutdown runs on every logout path; isolate the test workspace.
Auto-expiry differs
Wire both paths to approved cleanup.
Anonymous visitor still needs chat
Boot a new anonymous session only after old session shutdown and privacy checks.

This is a diagnostic guide, not a test of your website. Verify actual configuration before changing it.

Verification checklist

Before you call this complete

0 of 3 confirmed

Checklist state is local to this page and is not submitted or stored.

PIP illustration: Account A session; Shut down session; Account B session. Test that identity and prior conversation state do not leak.

Test that identity and prior conversation state do not leak.

Practical questions

Frequently asked questions

Should automatic logout call shutdown?

Yes, cover both manual and automatic application logout.

Does shutdown remove every cookie?

Not necessarily. Intercom documents additional shared-device cleanup of its prefixed cookies on your domain.

Products discussed

Intercom Fin

Marks identify the products discussed; no affiliation or endorsement is implied. Official asset sources are linked where a logo is shown.

Evidence and limitations

Primary sources

Vendor documentation and browser guidance informed the steps. Scenarios are illustrative; we have not accessed your installation. Preserve your site’s security and consent requirements.

PIP Intelligence

Find a resource

Choose a resource below.