USchedule Analytics Integration

USchedule supports optional integrations with Google Tag Manager (GTM) and the Meta Pixel to help you track key customer actions such as purchases, bookings, and registrations. This guide explains what events USchedule sends, how they work, and what information is included.

Google Tag Manager Integration

When analytics tracking is enabled in your account, USchedule sends tracking data directly into your Google Tag Manager. From there, you can use that data in Google Analytics, Google Ads, or any other tools you manage through GTM.

Purchase Event

When a customer completes a transaction in USchedule, a Purchase event is automatically sent to Google.

This event includes:

  • transactionId
  • value (purchase amount)
  • currency
  • tax (when applicable)
  • shipping (when applicable)
  • userId (only when the customer is logged in)
window.dataLayer.push({
    event: 'purchase',
    userId: '12345',
    ecommerce: {
        transactionId: '987654',
        value: '299.00',
        tax: '25.00',
        shipping: '0.00',
        currency: 'USD'
    }
});

This information can be used inside GTM to configure purchase conversions for Google Analytics or Google Ads.

User Identification

When a customer is logged into their USchedule account, USchedule sends their USchedule Customer ID  (userId) into the dataLayer on every page they visit. This allows you to associate pageviews, purchases, and other events with the same logged-in user inside Google Tag Manager, Google Analytics, or Google Ads.

window.dataLayer.push({
    userId: '12345'
});

Booking Confirmation

When a customer completes a booking without paying online (for example, by choosing to pay on site), USchedule sends a generate_lead event to the dataLayer on the booking confirmation page. It includes the booking's unique ID (booking_id), so each booking is counted only once. Bookings paid online send the purchase event described above instead.

window.dataLayer.push({
    event: 'generate_lead',
    booking_id: '43085625'
});

Meta Pixel Integration

When a Meta Pixel ID is added to your USchedule account, USchedule automatically sends standard Meta events during key customer actions.

PageView Event

This is the standard event Meta sends whenever a Meta Pixel is installed. USchedule automatically triggers this event on every page your customers visit, as long as a Pixel ID is added to your account.

Purchase Event

When a customer completes a transaction in USchedule, a Purchase event is automatically sent to Meta.

USchedule sends the following variables:

  • order_id – the USchedule order ID
  • value – total order amount (before tax/shipping, if applicable)
  • currency – the location’s currency code (ex: USD)
  • location_id – the USchedule Location ID where the purchase occurred

Meta uses this information to track conversions, revenue, and performance by location.

fbq('track', 'Purchase', {
    order_id: '12345',
    value: 299.00,
    currency: 'USD',
    location_id: '1'
});

Schedule Event

When an appointment is booked in USchedule, a Schedule event is automatically sent to Meta.

USchedule sends the following variable:

  • appointment_id – the unique ID of the booked appointment
fbq('track', 'Schedule', {
    appointment_id: '98765'
});

What You'll Need to Do on Your End

Enabling tracking sends events from USchedule to your account. It doesn't set anything up inside your Google or Meta accounts. To use these events for reporting or ads, you'll typically need to:

Google Tag Manager: Create a trigger and a tag for each event you want to use, then publish your container.

Google Analytics: Mark the events you care about (for example, purchase or generate_lead) as key events.

Google Ads: Link Google Analytics to Google Ads and import those key events as conversions.

Meta: Confirm the events appear in Events Manager, and choose them as optimization events in your campaigns.


How to Confirm Our Tracking is Working

Make a test booking while using GTM Preview mode, Google Tag Assistant, or Meta's Test Events tool. If the event shows up there, USchedule's tracking is working, and any remaining setup happens in your Google or Meta account.

This checklist is a general overview, not setup instructions. USchedule doesn't provide support for configuring Google Tag Manager, Google Analytics, Google Ads, or Meta Ads. For help with your tracking setup or campaign configuration, refer to Google's or Meta's documentation, or work with your marketing provider.


Contact support@uschedule.com for information on enabling our tracking features.