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'
});

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'
});

Please note that USchedule provides the tracking events described above, but we do not offer support for configuring Google Tag Manager, Google Analytics, Google Ads, or Meta Ads. For assistance with your tracking setup or campaign configuration, please refer to the documentation provided by Google or Meta.

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