Website widget conversion events and dataLayer support

U
5 days ago
1 comments

Business problem

Our marketing team uses Google Tag Manager to send website widget events to GA4 and Google Ads. With "Send events to Google Analytics" enabled, the widget sends no event when a visitor clicks "Open WhatsApp" or successfully submits the email form. Because the widget runs in an iframe, our own GTM click listeners can't detect these actions either. We can't tell visitors who only open the widget apart from those who actually contact us, and WhatsApp is our biggest contact channel.

Wished result

I would like the widget to send separate events (and JavaScript callbacks) for clicking "Open WhatsApp" and for a successful email submission, ideally pushed to the dataLayer, so we can track them as conversions in GA4 and Google Ads.

💡

Reminder: Insights help guide our direction. Votes and discussions help us understand demand, but don't guarantee development. Every insight receives a response within 30 days.

Discussion (1)

Sign in to join the discussion