Skip to main content

Google Tag Manager for Online Booking

Set Up Google Tag Manager for Online Booking Pages

Written by Flavio Coradini

Set Up Google Tag Manager for Online Booking and Forms

SimpleDVM supports Google Tag Manager (GTM) on public online booking pages and public forms. This allows your team to understand how clients move through the booking flow, when a booking request is submitted, and when a form is submitted.

Before you begin

Before setting up GTM, make sure you have:

• A Google Tag Manager account
• A GTM Container ID in the format GTM-XXXXXXX
• Access to your SimpleDVM location settings

Add your GTM Container ID

To enable GTM on a location's public booking pages and forms:

  1. Open the location in SimpleDVM.

  2. Go to Online Booking settings.

  3. Find the Google Tag Manager Container ID field.

  4. Enter your GTM Container ID.

  5. Save your changes.

Once saved, GTM will automatically load on that location's public booking pages and public forms.

What SimpleDVM tracks

Online booking

SimpleDVM can send GTM events as clients move through the booking flow and when a booking request is submitted.

This may include activity across different steps in the booking experience, such as:

  • Service selection

  • Booking review

  • Account step

  • Pet information step

  • Additional questions

  • Add-ons

  • Payment

  • Booking request submission

Forms

When a client successfully submits a public form, SimpleDVM sends a submit_form event with:

• form_id: the form's ID (the part after /form/ in the form link)
• form_submission_id: the ID of the saved submission
• location_id: the location's ID
• referrer_host: the website the client came from (for example, www.yourclinic.com), or (direct) if they opened the link directly from a text message, email, or bookmark

To track a specific form, filter your GTM trigger on its form_id.

Important notes

  • GTM only loads on public booking pages and public forms.

  • Tracking works for standard online booking pages, direct booking links, and public forms.

  • A booking request submission means the request was sent successfully. It does not mean the appointment has been confirmed.

  • A form submission means the form was saved successfully.

  • Tags in your GTM container can read what clients type on these pages. Avoid session recording or form-reading tags on pages that collect client details.

Validate your setup

We recommend using GTM Preview mode to confirm that your setup is working correctly.

  1. Open your GTM container.

  2. Click Preview.

  3. Enter your public booking URL or public form link.

  4. Move through the booking flow or fill out the form.

  5. Confirm that booking-related events appear as you progress through the booking experience and submit a booking request, or that submit_form appears when you submit a form.

If the setup is working correctly, GTM should detect activity throughout the booking flow and on form submission.

Did this answer your question?