Install your WhatsApp widget
Every widget has its own one-line code. Copy it from Dashboard → Websites & widgets → Edit → Install. It looks like this:
<script src="https://rabta92.enterprise92.com/widget.js" data-widget-id="YOUR_WIDGET_ID" async></script>Publish the widget first, then add the code to your site. Open your site in a browser and your dashboard will show "Installed — last seen just now" within a minute.
Custom HTML website
- Open each page's HTML (or your shared footer/template file).
- Paste the code just before
</body>. - Save and upload the file.
WordPress / WooCommerce
- Easiest: install a free header/footer plugin such as "WPCode" → Code Snippets → Header & Footer.
- Paste the code into the Footer box and save.
- If you use a caching plugin (WP Rocket, LiteSpeed Cache, etc.), clear the cache.
If your caching plugin "delays" or "combines" JavaScript, exclude widget.js from it so the button appears right away.
Shopify
- Go to Online Store → Themes → … → Edit code.
- Open
layout/theme.liquid. - Paste the code just above
</body>and click Save.
Shopify checkout pages don't allow custom scripts on most plans, so the widget appears on your store pages but not inside checkout.
Wix
- Open Settings → Custom Code (under Advanced).
- Click + Add Custom Code, paste the code, choose All pages and place it in Body – end.
- Publish your site.
Wix requires a premium plan with a connected domain to add custom code.
Webflow
- Open Site settings → Custom code.
- Paste the code in Footer code, save and publish.
Webflow only runs custom code on a paid site plan, and only on the published site, not inside the Designer.
Squarespace
- Go to Settings → Advanced → Code Injection.
- Paste the code in Footer and save.
Code injection needs a Business plan or higher.
Troubleshooting
- The button doesn't appear. Check the widget is Published (not Draft or Disabled), and that the domain in your dashboard matches the site you're testing.
shop.example.comandexample.comare different domains; add each one as a website. - It works on www but not without it, or the other way round. Both are allowed automatically.
- Testing locally or on a staging URL. The widget only loads on the registered domain. Add your staging domain as a separate website to test there.
- Your site uses a Content Security Policy. Allow
https://rabta92.enterprise92.cominscript-srcandconnect-src. - Visitors with ad-blockers. Some strict blockers hide chat widgets. That's the visitor's choice and not something a website can override.
- Browser console. Open DevTools → Console and look for a
[Rabta92]message, which explains why the widget didn't load.
How the WhatsApp link works
The button opens https://wa.me/<your number>?text=<your message>. On phones this opens the WhatsApp app. On computers it opens WhatsApp Desktop or WhatsApp Web. The visitor sees your pre-filled message and decides whether to send it.