1. Home
  2. /
  3. Docs
  4. /
  5. WhatsApp Chat Help Pro
  6. /
  7. Shortcode

Shortcode

1) Select Button Style: Choose from different button styles to match the website design.

2) Shortcode Generation: 

  • A dynamically generated shortcode is provided.
  • Users can copy and paste the shortcode into Pages, Posts, or Widgets.
  • The shortcode can be customized by modifying its parameters.

Integrate WebHooks for Shortcode Buttons

  1. Click on shortcode menu from the top menu.
  2. Enter the Webhook URL
    Provide the webhook URL from the platform you wish to integrate with, such as Zapier, Pipedream, or Make.com.
  3. Add Dynamic Values
    Customize your webhook payload by including any of the dynamic variables below based on your requirements.

Available Dynamic Variables

  • {title} – The title of the page where the user clicked the floating button.
  • {number} – The WhatsApp number linked to the button (configured in the plugin settings). Useful for Multi-Agent setups.
  • {site_url} – The website’s base URL.
  • {current_url} – The exact page URL where the user clicked the WhatsApp floating chat.
  • {date} – The date and time when the user clicked the button.
  • {ip} – The user’s IP address.

Advanced Variables

  • Retrieve Values from URL Parameters
    Enclose the parameter name in single square brackets [ ] to extract values from the URL. If the parameter is missing, a blank value is returned.
    Example: [gclid][utm_source]
  • Retrieve Values from Cookies
    Enclose the cookie name in double square brackets [[ ]] to fetch values stored in the user’s browser cookies. If the specified cookie is not found, a blank value is returned.
    Example: [[ _ga ]]
Example of WebHook value
Example of WebHook value

How can we help?

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top