Setting up Google Ads conversion tracking with the Dodo booking widget

Last updated: November 30, 2026

There are two ways to count widget bookings as Google Ads conversions:

  • Option A: import from GA4 (recommended, no GTM). Connect GA4 in Dodo, then import the dodo_booking_completed event into Google Ads.

  • Option B: Google Tag Manager. Fire a Google Ads conversion tag from Dodo's dodo_widget_booking_completed dataLayer event on your website.

Use one option per conversion action, not both, or each booking is counted twice.

If you only need booking reports in Google Analytics, see Connecting Google Analytics (GA4) to the Dodo booking widget.

Option A: Import bookings from GA4

  1. Connect GA4 in Dodo by following Connecting Google Analytics (GA4) to the Dodo booking widget.

  2. In GA4, mark dodo_booking_completed as a key event.

  3. Make sure your Google Ads account is linked to the GA4 property (in GA4: Admin → Product links → Google Ads links).

  4. In Google Ads, open Goals → Conversions → New conversion action → Import → Google Analytics 4 properties, and pick dodo_booking_completed.

Dodo's servers send dodo_booking_completed once the booking is confirmed in your practice management system, so it counts only bookings that actually went through. The event carries a transaction_id, so the same booking isn't counted twice.

Option B: Google Tag Manager

Step 1: Confirm the Dodo embed snippet is installed

The clinic website should use Dodo's standard embed.js snippet for either the floating launcher or the inline embed.

If the website is using a raw iframe or a direct portal link, ask Dodo for the current embed snippet before setting up GTM conversion tracking.

Step 2: Create a GTM Custom Event trigger

In Google Tag Manager:

  1. Go to Triggers.

  2. Click New.

  3. Choose Custom Event.

  4. Set the event name to dodo_widget_booking_completed.

  5. Save the trigger.

Step 3: Create the Google Ads conversion tag

In GTM:

  1. Go to Tags.

  2. Click New.

  3. Choose Google Ads Conversion Tracking.

  4. Enter the clinic's Google Ads Conversion ID and Conversion Label.

  5. Attach the dodo_widget_booking_completed trigger.

  6. Save and publish.

Leave Transaction ID blank. The browser event doesn't include booking IDs, because those are sensitive operational identifiers.

Step 4: Optional dataLayer variables

If you want to segment or debug conversions, create Data Layer Variables for:

  • dodo_widget_agent_id

  • dodo_widget_display_mode

  • dodo_widget_appointment_count

For example, dodo_widget_display_mode can help distinguish inline embeds from launcher embeds.

Optional: fixed conversion value

If the clinic wants to send a fixed value per completed booking, set the value directly in the Google Ads Conversion Tracking tag, for example Value 75 and Currency USD.

If the clinic wants to calculate value based on appointment count, use dodo_widget_appointment_count as a GTM Data Layer Variable and configure a GTM variable or tag value accordingly.

If you are not using GTM

GTM is the recommended setup for Option B.

If the clinic uses only gtag.js, the safest path is still to use the Dodo dataLayer event rather than listening directly to iframe postMessage events.

Use this only if GTM is not installed, and do not also configure a GTM conversion tag for the same conversion or the booking may be counted twice.

<script> (function () { window.dataLayer = window.dataLayer || []; function handleDodoDataLayerEvent(item) { if (!item || item.event !== "dodo_widget_booking_completed") { return; } if (typeof gtag !== "function") { return; } gtag("event", "conversion", { send_to: "AW-XXXXXXXXXX/YYYYYYYYY" }); } window.dataLayer.forEach(handleDodoDataLayerEvent); var originalPush = window.dataLayer.push; window.dataLayer.push = function () { for (var i = 0; i < arguments.length; i++) { handleDodoDataLayerEvent(arguments[i]); } return originalPush.apply(window.dataLayer, arguments); }; })();</script>

Replace AW-XXXXXXXXXX/YYYYYYYYY with the clinic's Google Ads Conversion ID and Conversion Label.

Already forwarding widget events to GA4 from GTM?

If GTM also sends the dodo_widget_* events to GA4 and you have connected GA4 in Dodo, turn those GA4 tags off, or every booking is counted twice in GA4. The Google Ads tag from this section can stay.

Direct portal URL

If visitors are sent directly to portal.dodo.ai/<your-widget-id>, there is no clinic website around the widget, so neither option can credit the booking to the ad click.

For paid acquisition, use an embedded mode instead:

  • Floating launcher

  • Inline embed

This keeps visitors on the clinic website.

How to verify it is working

Option A: in GA4, check that dodo_booking_completed appears after a test booking (Reports → Realtime). Then check Google Ads under Goals → Conversions → Diagnostics.

Option B:

  1. Open GTM Preview mode.

  2. Visit the clinic landing page with the Dodo widget installed.

  3. Complete a test booking.

  4. Confirm that dodo_widget_booking_completed appears in the GTM event stream.

  5. Confirm that the Google Ads conversion tag fired on that event.

  6. Check Google Ads under Goals → Conversions → Diagnostics.

Google Ads diagnostics may take some time to show new activity. GA4 imports into Google Ads can take up to a day.

Common troubleshooting

If the conversion is not firing, check:

  • The website is using Dodo's standard embed.js snippet, not a raw iframe.

  • The visitor is booking inside the embedded widget, not on a direct portal.dodo.ai link.

  • Option A: GA4 is connected in Dodo (Settings → Web → Google Analytics) and the test event reaches DebugView.

  • Option A: Google Ads is linked to the same GA4 property.

  • Option B: the GTM Custom Event name is exactly dodo_widget_booking_completed.

  • Option B: GTM is installed on the same page as the Dodo widget.

  • The Google Ads Conversion ID and Conversion Label are correct.

  • The test browser is not blocking Google tags.

  • Consent settings allow advertising conversions to be sent.

Privacy and HIPAA guardrails

Dodo's parent-page dataLayer events and its GA4 events are intentionally limited.

Neither exposes:

  • Client name

  • Phone number

  • Email

  • Pet name

  • Free-text reason or symptom text

  • Appointment date or time

  • Doctor ID

  • Booking ID

  • Appointment type name or ID

  • Google ad click IDs such as gclid, gbraid, or wbraid

This prevents arbitrary scripts on the clinic website from reading sensitive booking details.

Dodo may still record backend web-session analytics for reporting and support, subject to Dodo's normal security and privacy controls.

FAQ

Can this be used for Meta Pixel or other ad platforms?

Yes, with Option B. The GTM event is platform-agnostic. Instead of firing a Google Ads conversion tag, the clinic can fire a Meta Pixel, LinkedIn Insight Tag, or another conversion tag from the same dodo_widget_booking_completed trigger.

Does the event include a transaction ID?

The GA4 event dodo_booking_completed (Option A) does. It's a Dodo-generated ID, not the booking ID from your practice management system, and it stops the same booking from being counted twice.

The browser dataLayer event (Option B) doesn't.

Does the event include GCLID, GBRAID, or WBRAID?

No. Google Ads attribution relies on the Google tag on the clinic website: Option A credits the GA4 visit, and Option B uses the Google Ads tag's own click data.

Will the event still fire if the website has a consent banner?

The Dodo dataLayer event can still be pushed, but whether Google receives the conversion depends on the clinic's consent management setup, including Google Consent Mode.

If a visitor denies advertising consent, the Google Ads tag may not send the conversion. That is expected behavior.

Can Dodo send conversions to Google Ads directly?

Not yet. Today, use Option A (via GA4) or Option B (via GTM).