Universal GTM Container
Deploy WhatsApp Everywhere via Google Tag Manager
Roll out WAButton across single-page apps, legacy CMSs, or enterprise intranets through your existing GTM container.
2 min setup Target: GTM Workspace -> Tags -> Custom HTML
Step-by-step installation for Google Tag Manager
Follow these steps to add your WAButton installation code to your Google Tag Manager website.
- 1
Create New Tag in GTM
In your Google Tag Manager workspace, click Tags -> New. Name it "WAButton - WhatsApp Widget".
Pro tip: Tag naming convention: Prefix with 'WAButton' for rapid filtering and audits.
- 2
Choose Custom HTML
Click Tag Configuration and select "Custom HTML". Paste your WAButton embed code.
Pro tip: Check 'Support document.write' if using legacy containers (not required for standard WAButton).
<script src="https://widget.wabutton.app/v1.js" data-widget-id="YOUR_WIDGET_ID" async></script> - 3
Set Trigger to All Pages
Under Triggering, select "All Pages" (or "DOM Ready"). Save the tag.
Pro tip: You can create trigger exceptions (e.g. Page Path contains '/checkout') to hide on specific funnels.
- 4
Submit and Publish Container
Click Submit in the top right of your GTM workspace and publish the new container version.
Pro tip: Use GTM Preview mode to inspect tag firing in the debug console before publishing live.
Why store owners and agencies choose WAButton for Google Tag Manager
Zero Developer Dependency
Publish or update your WhatsApp button instantly without a code deployment.
Advanced Triggering
Trigger the WhatsApp button on specific campaign landing pages or high-intent paths.
Unified Analytics Layer
Pairs automatically with your existing GTM datalayer and marketing conversion tags.
Frequently asked questions
Can I show the WhatsApp button only on specific pages with GTM?
- Yes! In GTM, you can set custom triggers like Page URL contains /pricing or Page URL contains /contact to restrict display.
Related Free Tools
Create WhatsApp links, QR codes and messages for your business.
More installation guides
- View setup guide2 min
Shopify
Shopify 2.0 & Legacy Themes
Add a WhatsApp button to your Shopify website.
- View setup guide3 min
WooCommerce & WordPress
WooCommerce & WordPress 6+
Add a WhatsApp button to your WooCommerce & WordPress website.
- View setup guide2 min
Magento & Adobe Commerce
Magento Open Source & Adobe Commerce
Add a WhatsApp button to your Magento & Adobe Commerce website.
Add WhatsApp to your website.
Give visitors a way to ask about your products, prices or availability. Reply from the WhatsApp you already use.
Free plan available. No credit card required.