GuideWhatsApp link generator

WhatsApp button for your website: build it, place it, track it

Make your WhatsApp link in the free generator below, tap Copy website button code, then follow the steps to place and track the button.

Start from a ready message:

Test the link

The same link as a QR code, for menus, flyers and shop windows.

Run it again on the full WhatsApp link generator Every option is there, and what you typed carries over.

How do I add a WhatsApp button to my website?

Create a wa.me link with your number in international format and a first message, then add it to your site as a link styled as a button. The generator below gives you the HTML. Place the button next to your phone number and on every page where people decide, keep the tap area at least 24 by 24 pixels, and track clicks in Google Analytics as outbound clicks.

How to add the button

  1. Build the link

    Choose the country code and type your business number in the generator above, then pick a ready message, such as Website enquiry, or the one for your industry.

  2. Copy the button code

    Tap Copy website button code. You get a plain HTML link: <a href="https://wa.me/..." target="_blank" rel="noopener">Chat on WhatsApp</a>.

  3. Paste it into your site

    In a site builder, add an HTML or embed block and paste the code. In a theme, place it in the header, contact section or footer template. On a custom site, add it to the shared layout.

  4. Style it as a button

    Give the link padding, a clear label and a visible focus outline. Keep the tap area at least 24 by 24 CSS pixels, the WCAG 2.2 level AA minimum, and larger on phones where you can.

  5. Place it where people decide

    Put it beside the phone number in the header and on service, product and contact pages. On phones, a bar fixed to the bottom of the screen with Call and WhatsApp side by side sits under the thumb.

  6. Write one message per page

    Make a different first message for each key page, such as "Hello, I am asking about AC servicing", so your team knows what the visitor was reading.

  7. Track the clicks

    With enhanced measurement on in Google Analytics 4, a click on the wa.me link is recorded as an outbound click: the click event, with link_domain and link_url. Use it as your count of chat leads by page.

  8. Test on a phone

    Open the page on an iPhone and an Android phone, tap the button, and check that the chat opens with the right number and message.

All of them open the same chat. The difference is weight and control.

Plain link or button in the page
The fastest and simplest: no script, nothing to slow the page, and it works on any site. The right choice for most small business sites.
Floating button
A small button fixed in a corner, always in reach. Build it with a few lines of CSS on the same link, and keep it clear of cookie banners and the page's own buttons.
Third party chat widget
Adds a pop up, greeting text and sometimes several agents, but loads extra scripts on every page. Measure the cost with the website speed test before and after.
Business Platform inbox or assistant
For high volume, a shared inbox or an AI assistant answers and routes the chats. The button stays the same; what happens after the click changes.

Floating button code you can copy

Wrap the copied link in a class and add a few lines of CSS; no script is needed.

Replace the number and message with your own link from the generator, then paste these three lines.

HTML: <a class="wa-float" href="https://wa.me/971501234567?text=Hello" target="_blank" rel="noopener" aria-label="Chat with us on WhatsApp">Chat on WhatsApp</a>

CSS: .wa-float{position:fixed;right:16px;bottom:16px;z-index:50;padding:12px 18px;border-radius:999px;background:#25D366;color:#0B1F12;font-weight:600;text-decoration:none}

Focus: .wa-float:focus-visible{outline:3px solid #0B1F12;outline-offset:2px}

On Arabic pages, swap right:16px for left:16px so the button mirrors the layout. If the page already has a fixed bar at the bottom, raise bottom so the two never overlap.

WhatsApp button checklist

  • The number is in international format and the link opens the right chat
  • The button sits next to the phone number, not instead of it
  • The tap area is at least 24 by 24 CSS pixels, with space around it
  • The label says what happens: "Chat on WhatsApp", and the Arabic label on Arabic pages
  • A floating button never covers the cookie banner, the menu or the checkout button
  • Each key page carries its own first message
  • Clicks show in Google Analytics as outbound clicks to wa.me
  • Someone answers within the hours you state, and an away message covers the rest
  • Any WhatsApp logo is the official one, unaltered, and not the most prominent thing on the page

Who adds a WhatsApp button

  • Home service businesses

    Cleaning, maintenance and moving firms put the button on every service page, with the service named in the first message.

  • Clinics

    Patients ask about appointments and directions; a button on each doctor and treatment page opens a chat with the right desk.

  • Online stores

    A product page button with "Is this in stock?" catches buyers who would otherwise leave with an unanswered question.

  • Property brokers

    Each listing page carries the agent's number and the listing reference in the first message.

  • Restaurants

    A table booking button beside the menu turns readers into bookings; the restaurant website checklist covers the rest of the page.

  • Web developers

    Developers add the plain link in minutes, with no plugin, and keep the page as fast as it was.

Worked example: one site, three messages

A home services site

Suppose a home services business has pages for AC servicing, pest control and deep cleaning. It makes three links in the generator, each with its own first message, such as "Hello, I would like a quote for AC servicing", and pastes each one on its page. The team sees the service in the first line of every chat, and Google Analytics shows the outbound clicks to wa.me page by page, so the owner knows which page brings conversations.

A slow widget replaced

Suppose a shop runs a chat widget that loads several scripts on every page. Running the website speed test before and after swapping it for the plain floating button shows what the widget cost. If the score improves and chats keep arriving, the plain button stays.

Do and do not

  • Do keep the phone number

    Some visitors would rather call. Show both, side by side.

  • Do not open WhatsApp on its own

    Opening a chat without a tap surprises visitors. Let them choose when to start.

  • Do respect the brand rules

    WhatsApp's brand guidelines say not to change the logo's colours or alter it, not to make WhatsApp the most prominent feature of your materials, and not to suggest WhatsApp endorses you.

  • Do answer quickly

    Set an away message with your expected response time in the WhatsApp Business app, so a late evening chat still gets a reply.

  • Do ask before marketing

    A chat a customer starts is not permission to send offers later. Ask first and keep a record of the yes.

What changes in 2027 for website chat

Sources

  1. WhatsApp Help Center: How to use click to chat
  2. W3C: Understanding Success Criterion 2.5.8, Target Size (Minimum)
  3. Analytics Help: Enhanced measurement events
  4. Meta Brand Resource Center: WhatsApp brand assets and guidelines

Questions people ask

How do I add a WhatsApp button to my website for free?

Make your wa.me link in the generator, tap Copy website button code and paste the HTML into your page. No plugin, account or script is needed.

Do I need WhatsApp Business for a website button?

No. The wa.me link works with the standard WhatsApp app and with WhatsApp Business. Business adds a profile, quick replies and away messages, which help when chats arrive out of hours.

Will a WhatsApp button slow down my website?

A plain link needs no script, so it adds next to nothing. Third party chat widgets load extra code; run the website speed test before and after adding one.

How do I track WhatsApp button clicks in Google Analytics?

Turn on enhanced measurement in GA4. Clicks on the wa.me link are recorded as outbound clicks, the click event with link_domain and link_url, so you can report them by page.

Where should the WhatsApp button go on my site?

Next to your phone number in the header, on every service, product and contact page, and as a bar or floating button on phones where the thumb reaches it.

Can the button open a different message on each page?

Yes. Make one link per page with its own first message in the generator, so your team sees what the visitor was reading.

Can I use the WhatsApp logo on my button?

Yes, within WhatsApp's brand rules: use the official logo, do not change its colours or alter it, and do not imply that WhatsApp endorses or sponsors you.

How big should a WhatsApp button be?

At least 24 by 24 CSS pixels to meet WCAG 2.2 level AA, and larger on phones, with space around it so people do not tap the wrong thing.

Should the button open in a new tab?

The copied code uses target="_blank" with rel="noopener", so your page stays open behind the chat. That suits most sites.

When you want a team on it

If the button is the easy part and the site behind it needs work, our team designs and builds fast bilingual websites where every page leads to a chat or a call.

Growth GPS by AdEngage UAE

Send Smart Tools to your team

Re-scan after every change and watch your position move. Install it once and it opens like an app.

WhatsAppEmail

iPhone: tap Share, then Add to Home Screen. Android: tap Install when your browser offers it. Desktop: press Ctrl+D, or Cmd+D on a Mac, to bookmark.