Tracking Script (Option 2)

Use this method to add tracking to your own WhatsApp button by including our tracking script.

Use the WAConversionTracking Script with Your Button

Already have a WhatsApp button? You don’t need to replace it — just add our script and let it do the tracking work.


✅ How to Set It Up

  1. Go to Workflows Actions Generate WhatsApp Button.
  1. Select the tab Integration Script.
  1. Adjust the message template to your liking.
    1. ${UID} is required in your message template. This is where the UID will be inserted in the message.
  1. Click Generate Integration Script.
  1. Copy the full <script> code
  1. Paste it before the closing </body> tag of your site
  1. Integrate your WhatsApp button with the code using 1 of 2 methods.
    1. Add data-wact-whatsapp="true" to your WhatsApp button.
    2. Set your WhatsApp button to call redirectToWhatsApp() when clicked.

🔍 Notes

  • Script injects UID at runtime
  • GCLID is captured automatically
  • Works on any site — no GTM or analytics needed