Skip to main content

WordPress Guest Chat: Let Visitors Message Without an Account

· 5 min read
Creator of Better Messages

The biggest conversion gap on most WordPress sites is the moment a visitor wants to ask a question and the site asks them to register first. For directory listings, marketplace product pages, customer support pages, and public community spaces — the right answer is often "let them chat without signing up." Better Messages supports guest chat: visitors enter a display name (and optionally an email), then participate in chat rooms or start threads with listing owners / vendors / support, exactly as a registered user would.

How guest chat works#

When guest chat is enabled site-wide, an unregistered visitor who opens a guest-enabled chat surface gets a small form:

  1. Display name (required)
  2. Email (optional, depends on your setting)

After they enter the form, they get a persistent guest identity stored in the plugin's bm_guests table. The guest can:

  • Send and receive messages
  • Upload files (if you allow it)
  • See conversation history
  • Get notified about replies (via email, if they provided an address)

The guest identity persists across page reloads and across sessions on the same browser. If they later register as a real WordPress user, the thread history is preserved.

Where guest chat shows up#

Per-surface control:

  • Chat rooms — open per chat room. A public room can allow guests; a members-only room next to it stays gated.
  • Direct messages to listing owners / vendors / support — guests can start a thread from a Dokan / WCFM / WC Vendors / MultiVendorX product page, a HivePress / Directorist / GeoDirectory / Classified Listing / Motors listing page, or a WooCommerce product / cart / checkout / order page.
  • Mini widgets — the floating bubble / bottom bar widget can be visible to guests, with guest chat enabled.

Common use cases#

SiteGuest chat use case
Marketplace (Dokan, WCFM, MultiVendorX, WC Vendors)Pre-purchase questions to vendors without registration
WooCommerce storePre-sales chat on product, cart, checkout pages for guest checkout
Directory site (HivePress, Directorist, GeoDirectory)Inquire about a listing without signing up
Classified site (Classified Listing, Motors)Contact the seller before deciding to register
Public chat room (live-event lobby, support room)Drop-in conversation without forcing accounts
Public communityRead-only access for guests + ability to chime in occasionally

Per-chat-room control#

Each chat room has its own guest access setting, in addition to the global guest-chat toggle. The typical pattern:

  • Global setting on — guest chat is available where you opt in.
  • Per-room "Allow guests" on for public rooms (live-event lobbies, support, FAQ rooms).
  • Per-room "Allow guests" off for members-only rooms (Pro tier, course cohorts, paid lounges).

How to enable#

  1. WP Admin → Better Messages → Settings → General → Guest Chat — turn on globally.
  2. WP Admin → Better Messages → Settings → General → Redirect Non-Logged Users — optional. When on, non-logged-in users on standard messaging pages are sent to the login screen. Leave off for guest-friendly sites.
  3. For specific chat rooms: WP Admin → Better Messages → Chat Rooms → edit a room → enable guest access in the room's allowed-participants settings.
  4. For integrations: the integration-specific Live Chat / Send Message buttons respect the global guest-chat toggle — no per-integration setup needed.

Free vs WebSocket version#

Guest chat works on both versions. Differences:

FeatureFree versionWebSocket version
Guest registration formyesyes
Per-chat-room guest accessyesyes
Guest threads to listing owners / vendors / supportyesyes
File uploads from guests (if allowed)yesyes
Real-time delivery for guestspollinginstant
Guest mini-chat popup fallback on logged-in-only pagesyes
Web push notifications for guestsyes
info

On WooCommerce sites with the messages page set to Show in WooCommerce My Account (a logged-in-only page), the WebSocket version automatically falls back to a popup mini chat for guests, so guests can chat without being redirected to wp-login. The free version requires either putting the messages page on a public WordPress page or disabling guest chat for those sites.

Frequently asked questions#

What data is collected from guests?#

  • Display name (required)
  • Email address (optional, depends on your setting)
  • IP address (stored for identification and abuse prevention)

The data is stored only in your site's database. No third-party tracking. See GDPR-compliant WordPress messaging for the full privacy footprint.

Can guests upload files?#

Yes if you allow it. Per-role permissions in Settings → Permissions include a synthetic "Guests" role; toggle file uploads on or off there.

Will guests receive email notifications about replies?#

Yes if they provided an email at registration and the thread sends an email notification on new messages.

Can a guest become a registered user without losing their thread history?#

Yes — the integration links the guest record to the new WordPress user on registration, preserving history.

Are AI chat bots aware of guests?#

Yes — AI bots can interact with guests the same as logged-in users. The bot's {if_guest} conditional in the system prompt or welcome message renders different content for guest visitors.

Can I require guests to verify their email before chatting?#

Not by default. A custom hook can intercept the guest registration to add email verification — talk to support for the template.

See also#

Install Better Messages from WordPress.org →