Prerequisites: Checkpoint lesson-4.7; a phone with WhatsApp; the lead form from 4.3.
Goal: a visitor can start a WhatsApp chat carrying the page they are on, the click is measured, and the student knows the platform's rules well enough not to build something that gets a number banned.
Materials: a phone with WhatsApp; the lead form from 4.3; the GTM preview mode from 6.2.
Video
The video for this lesson is not recorded yet.
Do along
- Add the button and the prefilled message with Claude; open it from a phone.
- Check the event in GTM preview; write the two rules into
docs/notifications.md. - Set up the WhatsApp Business App profile (hours, address, catalogue off).
- Write the three prefilled messages for your three most common enquiries; decide where the button belongs on your page and where it would annoy.
Common problems
- "The click-to-chat link opens a blank chat." → The prefilled message names the page and what the visitor wants; it is not "hello".
- "The click does not appear as cta_click." → The button pushes
cta_clickwithcta_id"whatsapp"; the debug view shows it. - "The WhatsApp number got banned." → The 24-hour conversation window and approved templates: what a business may send first, and what gets numbers banned. Owner notifications stay on email and Telegram.
- "The button opens the home page." → It opens a WhatsApp chat carrying the page name; it does not redirect to the home page.