FreeWidget

WhatsApp widget documentation

WhatsApp opens a click-to-chat link for the agents you list. Choose the mode first, then add the agents and the message.

Overview

The Xtra WhatsApp widget is a free Elementor widget that connects your visitors to a WhatsApp chat. It works in three modes: a floating chat box that lists several team members, a floating button that opens one chat directly, and an inline button you can place anywhere in the page.

In chat box mode you list your agents with a name, a role, an optional avatar and a WhatsApp number each. Every agent can have their own prefilled message and their own working hours, and the chat box shows each of them as Online or Offline based on the time in your site's timezone.

Messages can include tokens such as the page title, the page address, the site name and the agent name, so you know what the visitor was looking at. Add a greeting bubble, choose the corner of the screen, delay the launcher or show it only after scrolling, and style every part from the Style tab.

You will find the widget in the Elementor panel under the Xtra widgets, or search for “WhatsApp”. It is part of the free Xtra Addons for Elementor plugin — see the WhatsApp widget page for live demos.

Quick start

  1. Drag the WhatsApp widget into a top-level container and choose the Display Mode under Content → Mode: Inline button, Floating button or Floating chat box (multiple agents).
  2. Under Content → Agents, edit the list. For each agent set the Name, Role / Department, an optional Avatar, the WhatsApp Number and, if needed, a Default Message (this agent).
  3. Set the Availability of each agent to Always online, Working hours (site timezone) or Always offline. For working hours choose the Working Days, Opens at and Closes at.
  4. If you enter local numbers that start with 0, fill in the Default Country Code in the same section.
  5. Under Content → Message & Link, write the Prefilled Message, optionally switch on Append UTM to {page_url}, and choose the Link Format and Open in New Tab.
  6. Under Content → Button, set the Label, Icon and Accessible Label. In floating button and inline modes, use Content → Mode → Button Opens Agent # to choose which agent the button opens.
  7. For a chat box, set the Title, Subtitle, Intro Message and Footer Note under Content → Chat Box. Under Content → Greeting Bubble, set the bubble Text and Show After (seconds).
  8. Under Content → Floating Position & Behavior, set the Position, offsets, Show On, delay or scroll trigger, then style each part under the Style tab.

Options reference

All 134 options of the WhatsApp widget, as they appear in the Elementor panel. Many options are responsive and can be set separately for desktop, tablet and mobile.

Content tab 47 options

Mode

OptionTypeValues and notes
Display Mode Select Inline buttonFloating buttonFloating chat box (multiple agents) Floating modes are pinned to the screen on the live site. In the editor they are shown inline so you can select and style them.
Button Opens Agent # Number The inline and floating buttons chat with this row of the agents list.

Agents

OptionTypeValues and notes
Agents Repeater list
Default Country Code Text Optional. Used for numbers that start with 0, e.g. 44 turns 07700 900123 into 447700900123. Leave empty to require the international format (+country code).

Message & Link

OptionTypeValues and notes
Prefilled Message Text area Tokens: {page_title} {page_url} {site_name} {agent_name}. Leave empty to open a blank chat.
Keep Query String in {page_url} On / off Off by default: ?utm_… and other parameters are removed from the shared address.
Append UTM to {page_url} On / off Adds utm_source / utm_medium / utm_campaign to the page address inside the message (existing UTM values are kept).
utm_source Text
utm_medium Text
utm_campaign Text
Link Format Select wa.me (short link)api.whatsapp.com/send
Open in New Tab On / off

Button

OptionTypeValues and notes
Label Text
Show Label on Floating Launcher On / off Off shows a round icon-only launcher. The inline button always shows its label.
Icon Icon Clear the icon to use the built-in WhatsApp logo.
Icon Position Select Before labelAfter label
Accessible Label Text Read by screen readers when the label is hidden.
Show Online Dot on Button On / off
Alignmentresponsive Choice LeftCenterRight
Full Widthresponsive On / off

Chat Box

OptionTypeValues and notes
Title Text
Subtitle Text
Intro Message Text area
Footer Note Text
Close Button Label Text
Open Animation Select Fade and riseGrow from launcherFade only
Animation Speed (ms) Slider
Close on Outside Click On / off
Show Online / Offline Status On / off
Online Text Text
Offline Text Text {time} becomes the next opening time in the site timezone, e.g. 09:00 or Mon 09:00. Offline agents stay clickable.
Show Chat Box Open in Editor On / off Only affects the editor preview.

Greeting Bubble

OptionTypeValues and notes
Show Greeting Bubble On / off
Text Text
Show After (seconds) Number Counted from the moment the launcher appears.
Auto-hide After (seconds) Number 0 keeps it visible until the visitor dismisses it.
Remember Dismissal (this visit) On / off Stored in sessionStorage only; nothing is sent anywhere.
Dismiss Button Label Text

Floating Position & Behavior

OptionTypeValues and notes
Position Select Bottom rightBottom leftMiddle rightMiddle left
Horizontal Offsetresponsive Slider
Bottom Offsetresponsive Slider
Z-Index Number Raise it if a sticky header or cookie bar overlaps the launcher.
Show On Multi-select DesktopTabletMobile Uses your Elementor breakpoints. The editor always shows the widget.
Show After (seconds) Number Delay before the launcher appears.
Show After Scrolling On / off
Scroll Depth (%) Slider
Pulse Ring Animation On / off Disabled automatically for visitors who prefer reduced motion.

Style tab 87 options

Button / Launcher

OptionTypeValues and notes
Min Sizeresponsive Slider
Text Color Color
Backgroundresponsive Background Classic color or image, gradient, video and slideshow backgrounds with position, size and effects.
Border Type Select DefaultNoneSolidDoubleDottedDashedGroove
Border Widthresponsive Dimensions
Border Color Color
Box Shadow Box shadow
Transition (ms) Slider
Paddingresponsive Dimensions
Border Radiusresponsive Dimensions
Lift on Hover On / off

Icon

OptionTypeValues and notes
Sizeresponsive Slider
Spacing to Labelresponsive Slider
Color Color

Label

OptionTypeValues and notes
Typographyresponsive Typography Font family, size, weight, transform, style, decoration, line height, letter spacing and word spacing.

Pulse Ring

OptionTypeValues and notes
Color Color
Spread Slider

Greeting Bubble

OptionTypeValues and notes
Typographyresponsive Typography Font family, size, weight, transform, style, decoration, line height, letter spacing and word spacing.
Text Color Color
Backgroundresponsive Background Classic color or image, gradient, video and slideshow backgrounds with position, size and effects.
Border Type Select DefaultNoneSolidDoubleDottedDashedGroove
Border Widthresponsive Dimensions
Border Color Color
Box Shadow Box shadow
Max Widthresponsive Slider
Paddingresponsive Dimensions
Border Radiusresponsive Dimensions
Dismiss Button Color Color

Chat Box

OptionTypeValues and notes
Max Heightresponsive Slider
Gap to Launcherresponsive Slider
Backgroundresponsive Background Classic color or image, gradient, video and slideshow backgrounds with position, size and effects.
Border Type Select DefaultNoneSolidDoubleDottedDashedGroove
Border Widthresponsive Dimensions
Border Color Color
Border Radiusresponsive Dimensions
Box Shadow Box shadow

Chat Header

OptionTypeValues and notes
Backgroundresponsive Background Classic color or image, gradient, video and slideshow backgrounds with position, size and effects.
Paddingresponsive Dimensions
Typographyresponsive Typography Font family, size, weight, transform, style, decoration, line height, letter spacing and word spacing.
Text Color Color
Border Type Select DefaultNoneSolidDoubleDottedDashedGroove
Border Widthresponsive Dimensions
Border Color Color
Box Shadow Box shadow
Transition (ms) Slider

Chat Body

OptionTypeValues and notes
Backgroundresponsive Background Classic color or image, gradient, video and slideshow backgrounds with position, size and effects.
Paddingresponsive Dimensions
Gap Between Agentsresponsive Slider
Typographyresponsive Typography Font family, size, weight, transform, style, decoration, line height, letter spacing and word spacing.
Text Color Color
Border Type Select DefaultNoneSolidDoubleDottedDashedGroove
Border Widthresponsive Dimensions
Border Color Color
Box Shadow Box shadow
Border Radiusresponsive Dimensions

Agent Rows

OptionTypeValues and notes
Text Color Color
Backgroundresponsive Background Classic color or image, gradient, video and slideshow backgrounds with position, size and effects.
Border Type Select DefaultNoneSolidDoubleDottedDashedGroove
Border Widthresponsive Dimensions
Border Color Color
Box Shadow Box shadow
Transition (ms) Slider
Paddingresponsive Dimensions
Border Radiusresponsive Dimensions
Typographyresponsive Typography Font family, size, weight, transform, style, decoration, line height, letter spacing and word spacing.
Hover Color Color
Arrow Color Color

Avatar

OptionTypeValues and notes
Typographyresponsive Typography Font family, size, weight, transform, style, decoration, line height, letter spacing and word spacing.
Border Radiusresponsive Dimensions
Border Type Select DefaultNoneSolidDoubleDottedDashedGroove
Border Widthresponsive Dimensions
Border Color Color
Box Shadow Box shadow
Position Select OutlineInset
Text Color Color
Background (overrides the colour rotation) Color

Online / Offline Status

OptionTypeValues and notes
Typographyresponsive Typography Font family, size, weight, transform, style, decoration, line height, letter spacing and word spacing.
Dot Sizeresponsive Slider
Online Dot Color Color
Offline Dot Color Color
Dot Ring Color Color
Online Text Color Color
Offline Text Color Color
Offline Agent Opacity Slider Dims offline agents. They remain clickable.

Chat Footer

OptionTypeValues and notes
Typographyresponsive Typography Font family, size, weight, transform, style, decoration, line height, letter spacing and word spacing.
Backgroundresponsive Background Classic color or image, gradient, video and slideshow backgrounds with position, size and effects.
Paddingresponsive Dimensions

Tips

  • Floating modes are pinned to the screen on the live site but shown inline in the editor, so you can select and style them. Preview the page to see the real position.
  • Put the widget in a top-level container without an entrance animation. A transformed parent changes how fixed elements are positioned, and the launcher would then follow that parent instead of the screen.
  • Set the Subtitle, Online Text and Offline Text to match your language. In Offline Text, {time} is replaced by the agent's next opening time.
  • Working hours use the timezone from Settings → General in WordPress, so check it matches the time where your team works.
  • Use Show After (seconds) or Show After Scrolling so the launcher does not compete with your first screen.

Frequently asked questions

Is the Xtra WhatsApp widget free?

Yes. The WhatsApp widget is included in the free Xtra Addons for Elementor plugin. No Elementor Pro is required.

How do I add a floating WhatsApp button in Elementor?

Add the WhatsApp widget, set Display Mode to Floating button, enter the number in the first agent and choose the Position. On the live site the button stays pinned to the screen and opens a chat with your prefilled message.

Can I add several people to one WhatsApp chat box?

Yes. Use the Floating chat box mode and add one item per person in the Agents list. Each person has their own number, avatar, message and working hours.

What number format does the widget need?

Use the international format with the country code, such as +1 202 555 0143. Spaces, dashes and brackets are fine. A number starting with 0 works when you fill in the Default Country Code.

Can the widget show who is online?

Yes. Set an agent's Availability to Working hours and choose the days and times. The chat box shows Online or Offline using the timezone of your WordPress site, and updates every minute.

Can I track WhatsApp clicks in Google Tag Manager?

Yes. On every click the widget pushes an xtra_whatsapp_click event to the dataLayer, when one exists, with the agent, mode and page address. It also fires the same event on the page for your own scripts.

See the WhatsApp widget in action

Live demos, features and use cases are on the widget page.

Open widget page