Get Help With Online Ordering Google Analytics Tracking

Last updated: Dec 3, 2026, 5:14 PM

Fix missing Online Ordering data in Google Analytics 4 or Google Tag Manager, and learn which ecommerce events Toast sends.

In this Article:

 

Before You Begin

Applies to: Toast Online Ordering Pro, Toast Websites

Permissions needed:

 

  • 6.6 Restaurant Operations Setup (Toast Online Ordering Pro)
  • Access to edit Websites settings in Toast Web (Toast Websites)
  • Access to your Google Analytics 4 property or Google Tag Manager container

 

What you'll accomplish: Your Online Ordering ecommerce events (add_to_cart, begin_checkout, and purchase) appear in Google Analytics 4 or Google Tag Manager.

Note: Online Ordering sends these events automatically to the Google Analytics 4 Measurement ID or Google Tag Manager container saved in your marketing and analytics settings. You do not need to change any settings to receive them.

 

Back to top

 

Quick Fix

 

SymptomMost Common CauseQuick Fix
No Online Ordering data in Google AnalyticsThe Measurement ID saved in Toast Web does not match your Google Analytics 4 web streamRe-enter the correct Measurement ID in your marketing and analytics settings, then select Publish
No data during a test orderThe test was not on your live domain, or cookies were not acceptedTest on your live domain and accept analytics and marketing cookies in the privacy banner
Google Tag Manager tags miss purchase detailsTags use a custom trigger or do not send ecommerce dataTrigger tags on the standard purchase event and send ecommerce data
Purchases counted twice in Google AnalyticsThe same Google Analytics 4 property is set up in Toast Web and in Google Tag ManagerKeep Google Analytics 4 in one place only
Meta Pixel shows page views but no purchasesMeta Pixel is added through Google Tag ManagerRemove Meta Pixel from Google Tag Manager and enter your Meta Pixel ID in the Meta Pixel field in Toast Web
Analytics numbers are lower than Toast reportsGuests who have not allowed tracking are not countedNo action needed. This is expected behavior

 

Back to top

 

If You See No Online Ordering Data in Google Analytics

Online Ordering sends events only to the Measurement ID saved in Toast Web. A missing or mistyped ID is the most common reason no data appears.

 

  1. In Google Analytics, copy the Measurement ID for your web stream. The ID starts with G-.
  2. In Toast Web, navigate to your marketing and analytics settings. For Toast Websites, navigate to Toast Web > Websites > Integrations. For Toast Online Ordering Pro, navigate to Toast Web > Takeout & delivery > Branding & customization > Digital Storefront Settings > Integrations.
  3. Compare the ID in the Google Analytics field with the ID you copied. If they are different, paste only the ID, not a tracking script.
  4. Select Publish.
  5. On your live website domain, accept analytics and marketing cookies in the privacy banner, then place a test order.

 

Expected outcome: Google Analytics shows add_to_cart when you add an item, begin_checkout when you navigate to checkout, and purchase after the order is placed. Completed orders appear under Reports > Business objectives > Drive sales > Ecommerce purchases. Menu names can vary slightly by account.

If the ID matches and your test order still shows no events, contact Toast Customer Care. Have your website URL, the tracking platform, and what you see ready.

 

Back to top

 

If Your Google Tag Manager Tags Miss Online Ordering Events

Online Ordering pushes add_to_cart, begin_checkout, and purchase to the Google Tag Manager data layer on every page, including checkout. Google tags in your container, such as Google Analytics 4 and Google Ads, can use these events.

Note: Google Tag Manager is not available for restaurants in Australia, Canada, Ireland, or the UK.

 

  1. In Toast Web, navigate to your marketing and analytics settings (see the paths in If You See No Online Ordering Data in Google Analytics).
  2. Confirm the Google Tag Manager tracking ID field matches your container ID. The ID starts with GTM-.
  3. In Google Tag Manager, set your tags to fire on a Custom Event trigger for the standard Online Ordering event, such as purchase. Do not use a custom event or a confirmation page view.
  4. Enable ecommerce data on tags that send purchase details.
  5. Publish your container in Google Tag Manager.

 

Expected outcome: Your Google tags receive add_to_cart, begin_checkout, and purchase with order details. A container with no tags collects no data, and Google Tag Manager does not store reports. Connect Google Analytics 4 to view your data.

 

Back to top

 

If Google Analytics Counts Purchases Twice

Setting up the same Google Analytics 4 property in both the Toast Web Google Analytics field and a tag in Google Tag Manager can count events twice.

 

  1. Choose one setup: the Google Analytics field in Toast Web, or a Google Analytics 4 tag in Google Tag Manager.
  2. Remove the other setup and publish your changes.

 

Expected outcome: Each purchase is counted once.

 

Back to top

 

If Your Meta Pixel Does Not Record Purchases

Tags that are not from Google, such as Meta, TikTok, or Pinterest, receive page views only when added through Google Tag Manager. Toast limits these tags to keep checkout secure. To receive purchase events in Meta, add your Meta Pixel ID directly in Toast Web.

 

  1. In Google Tag Manager, remove your Meta Pixel tag and publish your container.
  2. In Toast Web, navigate to your marketing and analytics settings.
  3. Paste your Meta Pixel ID in the Meta Pixel field.
  4. Select Publish.

 

Expected outcome: Meta records PageView and Purchase events from your Online Ordering site.

Note: Meta Pixel does not receive add_to_cart or begin_checkout events. Use Google Analytics 4 to see where guests drop off before ordering.

 

Back to top

 

If Your Analytics Numbers Look Lower Than Expected

Toast shows guests a privacy banner. Tracking events are sent only for guests who allow analytics and marketing tracking, so your tracking platforms report fewer visits and purchases than Toast reports.

 

  • In some states, such as California and Florida, tracking is off until the guest opts in
  • The privacy banner follows state privacy rules and cannot be turned off for one restaurant
  • Ad blockers and browser privacy features also stop some tracking

 

This gap is expected and does not mean orders dropped. To compare totals, use Toast sales reports for the same date range.

 

Back to top

 

Frequently Asked Questions

 

Which ecommerce events does Online Ordering send to Google Analytics?

Online Ordering sends three ecommerce events to Google Analytics 4 and the Google Tag Manager data layer:

 

  • add_to_cart — sent when a guest adds an item to their cart
  • begin_checkout — sent when a guest navigates to the checkout page
  • purchase — sent once when a guest places an order, including the items ordered, tax, and discounts

 

Do I need to change my settings to get add_to_cart and begin_checkout events?

You do not need to change your settings. If a Google Analytics 4 Measurement ID or Google Tag Manager container is saved in Toast Web, your site sends these events automatically.

 

What does the purchase value include?

The purchase value is the item subtotal before discounts. It does not include tax, tips, delivery fees, or service fees. Tax and discounts are sent as separate details.

 

Why is the add_to_cart value lower than the item total?

The add_to_cart value is lower because it is the item base price multiplied by quantity, without modifiers. Use the purchase event to measure completed orders.

 

Can I add Google Analytics with an embedded code block?

You cannot receive Online Ordering ecommerce events through an embedded code block. Embedded code runs separately from your ordering pages. Enter your Measurement ID in the Google Analytics field in Toast Web instead.

 

Back to top

 

Related Articles

 

 

Back to top