Black Friday Sale: up to 80% off every Pro plan

Ends Dec 15 at 6:59 pm EST. See pricing

Variables in other layouts

FAQ

Written for Chat Help 3.8.2 and Chat Help Pro 3.8.2

Free Works in Chat Help Free and Pro.

Use dynamic variables in non-form layouts to fill the pre-filled message with the page, date or time.

Dynamic variables in non-form layouts: the list #

WhatsApp Type: WhatsApp group: WhatsApp number: Dynamic variables in non-form layouts: Open the Global Chat

Pre-filled messages accept {siteTitle}, {siteURL}, {currentTitle}, {currentURL}, {date}, {time} and {ip}. For example: Hi! I have a question about {currentTitle}. Conditions such as {LOGGEDIN_START}…{LOGGEDIN_END} show text only in some cases.

Full list: message variables.

What each variable sends #

  • {siteTitle}, {siteURL}: your site’s name and address.
  • {currentTitle}, {currentURL}: the page the visitor is on.
  • {date}, {time}: when the message is sent.
  • {ip}: the visitor’s IP address. Only use it if your privacy policy covers it.
  • {agentMessage}: what the visitor typed, in the Pre-Chat Message layout.

Example #

Hi! I have a question about {currentTitle}.
{LOGGEDIN_START}I’m a registered customer.{LOGGEDIN_END}

Dynamic variables in non-form layouts: still have a question? Ask in the Chat Help forum on WordPress.org (opens in a new tab), or open a support ticket with Pro.

Was this article helpful?

Turn visitors into WhatsApp conversations

Start free from WordPress.org. Upgrade to Pro for team chat with several agents, the Advance button, dark mode, unlimited form fields, visibility rules and webhooks.

Chat Help Demo
ThemeAtelier
Typically replies within 1 minute.