Connecting Google Analytics (GA4) to the Dodo booking widget

Last updated: November 30, 2026

Dodo can send booking activity from the widget straight to your clinic's own Google Analytics 4 property. Each booking is credited to the visit that brought the visitor to your website, including its campaign and ad. You don't need Google Tag Manager or any code on your site.

Before you start

  • The widget must be on your website as the floating pop-up button or the inline embed. The direct portal link (portal.dodo.ai/...) isn't on your website, so GA4 can't credit those visits.

  • GA4 must already be installed on the same pages as the widget, using the same web stream you connect below.

  • You need edit access to the web widget settings in Dodo.

Step 1: Find your Measurement ID and create an API secret in GA4

  1. In Google Analytics, open Admin.

  2. Under Data collection and modification, click Data streams, then your website's stream.

  3. Copy the Measurement ID at the top. It starts with G-.

  4. On the same page, open Measurement Protocol API secrets, click Create, give it a name such as "Dodo", and copy the secret value.

Step 2: Connect it in Dodo

  1. In Dodo, open your clinic's Settings, then the Web tab.

  2. Under how the widget is installed, select Floating pop-up button or the inline embed.

  3. Scroll to Google Analytics.

  4. Paste the Measurement ID and the Measurement Protocol API secret, then save.

Once saved, the secret is hidden and can only be replaced, not viewed.

Step 3: Check that it works

  1. Click Send test event.

  2. In GA4, open Admin → DebugView. An event named dodo_test_event should appear within a minute.

If GA4 rejects the test event, check that the API secret was created on the same stream as the Measurement ID.

Step 4: Mark bookings as a key event

In GA4, open Admin → Events (or Key events) and mark dodo_booking_completed as a key event. This is the event to report on and to import into Google Ads.

What Dodo sends

Event

When

Parameters

dodo_booking_started

The visitor starts booking

client_type (new, existing or unknown)

dodo_step_viewed

The visitor reaches a booking step

client_type, step (for example pet_and_reason, availability, confirm)

dodo_booking_completed

The booking is confirmed in your practice management system

client_type, appointment_count, transaction_id

Events usually appear in GA4 within a few minutes. Test bookings and bookings made by automated tools aren't sent.

dodo_booking_completed is sent by Dodo's servers once the booking is confirmed, not by the visitor's browser, so it counts only bookings that actually went through. It is tied to the visitor's GA4 session, so a visitor whose browser blocks Google Analytics isn't counted, the same as for any other GA4 event.

Already sending widget events from Google Tag Manager?

If you set up GTM tags that forward Dodo's dodo_widget_* events to GA4, turn those GA4 tags off after connecting. Otherwise every booking is counted twice.

GTM tags that send conversions to Google Ads or other ad platforms can stay. See Setting up Google Ads conversion tracking with the Dodo booking widget.

Using it for Google Ads

If your Google Ads account is linked to this GA4 property, you can import dodo_booking_completed as a conversion. In Google Ads, open Goals → Conversions → New conversion action → Import → Google Analytics 4 properties, and pick dodo_booking_completed.

Privacy

Dodo sends only the event names and parameters listed above. It never sends client names, phone numbers, emails, pet names, the reason for the visit, appointment times or the doctor.

FAQ

Can I connect more than one GA4 property?

No, one property per widget. To also report into a second property, configure that in GA4 or GTM on your website.

What happens if I disconnect or change the Measurement ID?

Disconnecting stops new events right away. If you enter a different Measurement ID, you also need to enter that stream's own API secret.

Does it work with the direct portal link?

No. Use the floating pop-up button or the inline embed on your website for any traffic you want credited in GA4.