Widgets

Add a WhatsApp button to your site: ideasoft and ikas

How to add a WhatsApp button to your site: number format, prefilled message, an order button on product pages, cart visibility and ideasoft and ikas setup.

RoigoPublished: 15 min read

In short

  • A WhatsApp button is a button that sits in the corner of your site and, on click, opens a chat with your store's number and a prefilled message in the visitor's WhatsApp; behind it, a link in the wa.me format does the work.
  • The ready-made template in Roigo sits in the bottom-right corner, can't be closed and shows on every page. You write the number with the country code (905xxxxxxxxx); the number in the template is a placeholder and you must replace it with your own before publishing.
  • With “All pages” targeting, the corner button also shows on the cart and checkout pages; to keep it to product pages, you narrow the targeting. For a “order on WhatsApp” button on a product page, you can make it an inline widget placed next to Add to cart.
  • You add the install code once, on ideasoft under Custom script codes and on ikas under Extensions. The chat happens in WhatsApp; Widget Studio doesn't see the message, it only counts how many times the button was clicked.
In this guide
  1. How does a WhatsApp button work?
  2. What does the ready-made WhatsApp button template include?
  3. How do you write the WhatsApp number?
  4. How do you write the prefilled message?
  5. How do you set up a WhatsApp order button on a product page?
  6. How does it look on phone and desktop?
  7. Does it show on the cart and checkout pages?
  8. What happens outside business hours?
  9. Does a WhatsApp button affect SEO and page experience?
  10. Pre-publish checklist
  11. How do you measure the result?
  12. Step-by-step setup on ideasoft and ikas
  13. Frequently asked questions
  14. Sources

A visitor on a product page wonders “Will this fit me?”, “When does it ship?” or “Do you have wholesale prices?”. Instead of filling in a form or waiting for an email reply, they'd like to ask in the app they already use every day, with one tap. A WhatsApp button opens that shortcut: the visitor taps, the message is already there and they send it.

This guide covers how to add a WhatsApp button to your site on ideasoft and ikas, how to write the number and the prefilled message, how the button looks on which pages and devices and how to set up a WhatsApp order button on product pages.

How does a WhatsApp button work?

The button works through a special link format: https://wa.me/905xxxxxxxxx?text=Hello. The parts of the address are:

PartWhat it does
wa.me/WhatsApp's chat starting address. On click, the WhatsApp app opens on a phone, and WhatsApp Web or the desktop app on a computer.
905xxxxxxxxxYour store's number: the country code (90 for Turkey) followed by the ten-digit number without a leading 0. No +, spaces, dashes or brackets.
?text=…The prefilled message. It arrives typed in the visitor's message box, and they can edit it before sending.

Roigo builds this link for you: you type the number and the message in the studio, and it strips any non-digit characters from the number, encodes the message for the link and places the button so it opens in a new tab. You don't write the link by hand. The button shows the WhatsApp icon.

What does the ready-made WhatsApp button template include?

SettingDefaultWhere to change it
Type and positionA button in the corner, bottom right, 20 px from the edgeDesign tab: Corner (four corners) and Distance from edge
AppearanceA green button with white text, the WhatsApp icon and the label “Chat with us”Select the button to edit its Button label and style settings
BehaviorCan't be closed, re-created on every page, appears with a small pop-in motionBehavior tab
TargetingAll pages, all devices (desktop and mobile)Targeting tab
Number and messageA placeholder number and the message “Hi, I'd like some information about a product.”In the button's settings, On click → WhatsApp

Live preview: try it

The ready-made WhatsApp button template. The link doesn't open in this preview; on your site the button opens WhatsApp in a new tab. The number in the template is a placeholder.Start with this template

How do you write the WhatsApp number?

The most common mistake is writing the number the way it appears in a phone book. The link wants digits only: it starts with the country code and the leading 0 is dropped.

How it's writtenResult
0532 000 00 00Wrong: no country code and a leading 0. The link opens the wrong number.
+90 532 000 00 00Works: the studio strips the + and spaces, leaving 905320000000.
905320000000The cleanest form: country code 90 followed by the ten-digit number.

The digits above are an example; write your own number. The number must be registered on WhatsApp: it can be a personal account or WhatsApp Business. A separate line for the store, messages shared with your teammates and your personal number kept off the storefront make for an easier setup.

How do you write the prefilled message?

The prefilled message can be up to 500 characters, but it should be short: let the visitor start the conversation and write the rest themselves. The message is fixed; the name or address of the product the visitor is looking at isn't added automatically. If you need product details, you can leave a blank such as “Product name: ” in the message, or build a separate widget for product pages (see below).

Weak

Hello

Strong

Hi, I have a question about this product:

With a one-word message, the visitor doesn't know what to write and often doesn't send it. The strong message gives the topic and leaves the sentence for the visitor to finish.

Weak

I want to place an order

Strong

Hi, I'd like to place an order from your site. Product and size:

A message that leads to an order should ask for what you'd need in your first reply anyway (product, size, quantity), so the first exchange moves the order forward instead of just asking questions.

Weak

Write to us

Strong

Got a question? Message us

This is a button label, not a message. The weak one doesn't say what to ask; the strong one says what the button is for. You change the label in the Button label field after selecting the button; the shorter the button, the less room it takes in the corner.

How do you set up a WhatsApp order button on a product page?

A “WhatsApp order button” is really the same button; the difference is its position and message. There are two routes:

  1. A corner button, on product pages only. Use the same template, choose Product pages on the Targeting tab and write the message for a product question (“Hi, I have a question about this product: ”). The button sits in the corner on product pages and doesn't show on the home page or the cart.
  2. Next to the Add to cart button. On the Design tab, change the type to Inline and set Position on page to By Add to cart. The engine finds the “Add to cart” button on the product page by itself (ideasoft, Shopify and ikas), so there is no code for you to add. Write the label as something like “Order on WhatsApp”.

The second route sits closest to where the visitor decides to buy; but be careful: if the WhatsApp button is more prominent than “Add to cart”, it moves visitors off the site into a chat, which doesn't help if you want orders taken on your site. Keep the button understated, like a secondary option. After publishing, check how the placement sits in your theme, on desktop and on a phone, with your own eyes.

How does it look on phone and desktop?

AspectPhoneComputer
ButtonThe same corner button shows; widgets are mobile-friendly.The same corner button shows.
On clickwa.me opens in a new tab and the WhatsApp app opens the chat with the message.wa.me opens in a new tab and WhatsApp Web or the desktop app opens the chat. If the visitor isn't signed in to WhatsApp, they're asked to sign in first.

How WhatsApp opens on a phone and a computer depends on WhatsApp and can vary with the visitor's device; try the button on both yourself. If you want separate behavior per device, you can build two widgets by setting Device on the Targeting tab to Desktop or Mobile; for example, a small button only for phone visitors and a larger “Chat with us” button for computer visitors.

The corner button doesn't collide with other fixed elements: if there's another widget in the same corner (such as a free shipping bar), the engine stacks corner widgets so they don't overlap; if your site pins a strip to the bottom of the screen (such as an add-to-cart bar on a product page or a cookie banner), the button sits above it. If your theme already has its own WhatsApp add-on, switch one off so two buttons don't show at once.

Does it show on the cart and checkout pages?

The cart and checkout steps are the most sensitive part of a sale, so by default popups and corner cards don't appear there; only widgets targeted there and corner buttons do. Since the WhatsApp button is a corner button, it behaves like this depending on the targeting:

TargetingOn cart and checkout pages
All pagesShows.
Home page, Product pages, CategoryDoesn't show: it only appears on the page type you chose.
Cart / checkoutShows only here.
Custom URLShows on pages whose address contains the part you wrote; if you include the cart address, it shows there too.

Cart and checkout pages are recognized by an address part: sepet, sepetim, cart, basket, checkout, odeme and siparis-tamamla. Only a whole part matches; a product address such as “piknik-sepeti” doesn't count as a cart.

Which to choose is your call, and both have a case: a support route can stay visible for a visitor stuck at checkout, but the same button can also pull a visitor out of payment into a chat. If you're unsure, start with Product pages and compare afterwards. The measuring section below is for that.

What happens outside business hours?

The WhatsApp button in Roigo has no business hours or online status feature: it looks the same at all hours, and a visitor can send a message at any time. When you need to answer is entirely a WhatsApp matter. You can manage expectations in two places:

  • On the button and your site: state your reply hours clearly in the button label or on your store's contact page (for example “We reply on weekdays between 09:00 and 18:00”). Update the text when your hours change.
  • In WhatsApp: the WhatsApp Business app has greeting and automatic reply message settings; to answer out-of-hours messages automatically, check the app's own settings and documentation. That feature belongs to WhatsApp, not to Widget Studio.

Leaving the button visible when you can't answer has a cost: a visitor waiting for a reply ends up disappointed. If you can't get back to messages within a working day, Pause the button for a while; you don't need to delete the widget.

Does a WhatsApp button affect SEO and page experience?

Google says promotional popups that cover content frustrate visitors and can lead to poor search performance, and recommends elements that take up only a small part of the screen instead (Google). A small button sitting in a corner doesn't cover the page content and is closer to that guidance. Still, watch two things: don't place the button over content or your site's own buttons, and don't pile several widgets into the same corner.

A button won't create a search ranking; its job is on the sales and support side. For welcoming visitors who come from search, SEO Studio and the content of your product pages matter far more.

Pre-publish checklist

How do you measure the result?

The widget list shows each widget's views and clicks for the last 30 days, and tapping the WhatsApp button counts as a click. But Widget Studio can't know whether a click turned into a message or the message into an order, because the chat happens in WhatsApp. So put two separate numbers side by side:

  • In the widget list: the number of clicks and views on the button.
  • On your side: the number of new WhatsApp conversations and how many ended in an order. Noting “came from WhatsApp” when you take an order makes this easier.

Test and measure: keep the button on product pages only for one week and on all pages the next, and compare the conversations and orders you get in each. Treat seasonal effects such as sale days separately (see the conversion rate guide). There's no good or bad number of clicks in general; compare against your own store's earlier state.

Step-by-step setup on ideasoft and ikas

In Roigo, you build a WhatsApp button without code in a few minutes:

  1. In Widget Studio, open Templates, pick the WhatsApp button template under the Start a conversation goal and click Continue.
  2. Click the button; On click comes set to WhatsApp. Enter your own number in Number (with country code), your message in Prefilled message, and edit the Button label.
  3. On the Design tab, choose the corner and the distance from the edge; for an order button on product pages, set the type to Inline and the position to By Add to cart.
  4. On the Targeting tab, choose the pages and the device (see the table above for the cart and checkout rule).
  5. Add the install code to your site once. On ideasoft: paste it under Ayarlar → Genel Ayarlar → Özel Script Kodları (Settings → General settings → Custom script codes) in the admin and save. On ikas: add a new code (script) under Eklentiler (Extensions) in the panel, paste and save. Open your site once; you're done when the panel shows Verified.
  6. Publish, then try the button from your phone. You won't need to add the code again for future widgets.

Lite includes 3 live widgets and 25,000 views a month, and the WhatsApp button can be one of them. Pro includes 10 live widgets and Business 30; on the free trial you build and preview the widget, publishing starts with a plan. When the monthly views run out, widgets stop showing on your site until the end of the month; the rest of your site isn't affected. Setup details are in the ideasoft widgets guide and the ikas widgets guide, all templates on the Widget Studio page and plans on the pricing page.

Frequently asked questions

How do you add a WhatsApp button to a website?

In Widget Studio you pick the WhatsApp button template, enter your number with the country code (905xxxxxxxxx) and your prefilled message, add the install code to your site once and publish. Roigo builds the wa.me link behind it for you; you don't have to write code.

How do you add a WhatsApp button to ideasoft?

In your ideasoft admin you paste Widget Studio's install code once under Ayarlar → Genel Ayarlar → Özel Script Kodları. Then you build and publish the WhatsApp button in Widget Studio; it appears in the corner of your ideasoft site. If your theme has its own WhatsApp button, switch one off so you don't get two.

How do you add a WhatsApp button to ikas?

In your ikas panel you add a new code (script) under Eklentiler (Extensions) and paste Widget Studio's install code; then you build and publish the WhatsApp button in Widget Studio. Because it works through the install code, no separate theme edit is needed on your ikas site.

How do you write the WhatsApp number?

With the country code and digits only: for Turkey, a number that starts with 90 and has no leading 0 (905xxxxxxxxx). The studio strips the + sign and spaces, but if you add a leading 0 the number resolves wrongly. After publishing, try it from your own phone and check the message reaches the right number.

Does the WhatsApp button show on the cart and checkout pages?

If you leave targeting on All pages, it does show, because corner buttons are also displayed on cart and checkout pages. If you choose only product pages, category or the home page, it appears only there and not on the cart and checkout. If you want it on the cart only, choose Cart / checkout.

Does Roigo see my WhatsApp messages?

No. When a visitor taps the button, the chat starts directly in WhatsApp, between your number and the visitor. Roigo only counts how many times the button was clicked; it doesn't see the message, the visitor's number or the rest of the chat.

Can I set up a WhatsApp button on the free trial?

On the trial you build and preview the button; publishing on your site starts with Lite (3 live widgets, 25,000 views a month). No coding is needed; you add the install code to your site once.

Sources

The official documents the information in this guide is based on.

  1. developers.google.com/search/docs/appearance/avoid-intrusive-interstitials

Set up your WhatsApp button today

Pick the template, write your number and message and set the targeting. The preview you see in the studio is the very button that runs on your site.

Get started

No card required · 3 live widgets on Lite

Related guides

All guides