Skip to main content

How to Add Google Tag Manager, Google Analytics, or Tracking Code to Your Online Ordering Website

Send us your Google Tag Manager container ID to track your Online Ordering pages, and add Google Analytics, Google Ads, and Meta Pixel inside it.

Use this article to set up tracking on your Online Ordering pages, including Google Tag Manager, Google Analytics 4 (GA4), Google Ads, and Meta Pixel. It covers which ID to send us, where to find it, how purchase events work, and what to check if Google can't detect your container.

This article covers tracking on your Online Ordering ordering page and your DoorDash-built website. To add the DoorDash Smart Button to your own website instead, see Smart Button & Customizable Website Pop-Up.


How Tracking Works on Your Online Ordering Pages

Tracking on your Online Ordering pages runs through one Google Tag Manager (GTM) container. We add your GTM container ID to your ordering page and your DoorDash-built website. You then manage your tags inside that container in your own Google Tag Manager account.

  • We add the container ID. That's the only part of the setup we handle. Google Tag Manager is Google's product, so setting up tags, triggers, and reports inside your container is done in your GTM account.

  • One container for your whole business. The container is added across your business, to every store, not store by store. If you have several tags, combine them in one GTM container and send us that one ID.

  • Where it's added. We add the container to your store page and checkout, and order confirmation tracking is enabled on our side.

  • Online Ordering has to be active. We can only add a GTM container to an active Online Ordering account.


Which Tracking ID to Send Us

To add tracking to your Online Ordering pages, send us your GTM container ID. It starts with "GTM-". We don't add other kinds of tracking IDs directly. Set them up inside your GTM container instead.

ID you have

What it is

What to do

Starts with GTM-

Google Tag Manager container ID

Send this one to us

Starts with AW-

Google Ads ID, used for conversion tracking and remarketing

Add your Google Ads tag inside your GTM container, then send us the GTM ID

Starts with G-

Google Analytics 4 measurement ID

Connect GA4 inside your GTM container, then send us the GTM ID

Meta Pixel ID

Meta (Facebook) Pixel

Add the pixel inside your GTM container, then send us the GTM ID

To add a Meta Pixel to your GTM container, follow Meta's guide to setting up a Meta Pixel with Google Tag Manager.


How to Find Your Google Tag Manager Container ID

Your GTM container ID starts with "GTM-". Sign in to your Google Tag Manager account and look in any of these places:

  • Workspace header: The ID is always visible in the top right corner, next to the Submit and Preview buttons.

  • Admin panel: Click Admin at the top left, then look in the Container column next to your container's name.

  • Accounts list: On the main account screen, the ID is in the Container ID column.


How to Request Google Tag Manager on Your Online Ordering Pages

To have your GTM container added to your Online Ordering pages, email DoorDash Support at oosupport@doordash.com with your GTM container ID.

We add the container to your ordering page and your DoorDash-built website, then confirm with screenshots once it's in place. Allow up to 24 hours for the tag to appear on your site.

If you need to change the container later, email us the new GTM container ID and we'll update it.


How to Track Purchase Events in Google Analytics 4

Your Online Ordering pages already send "Add To Cart," "View Item," and "Purchase" events, so you don't need to build a custom purchase event.

To track purchase events and order values in GA4, use our pre-configured GTM container for GA4 ecommerce events:

  1. Download the container file: DD_GA4_Ecommerce_Tracking.json.

  2. Import the file into your Google Tag Manager account. It includes the tags and triggers needed to track purchase events and order values on your Online Ordering pages.

  3. Publish your container in Google Tag Manager.

We can confirm that your tags are present on your ordering pages, but we can't access the analytics data your tags collect. Check your results in your own GA4 or Google Tag Manager account.


If Google Tag Assistant Can't Detect Your Container

If Google Tag Assistant can't find your GTM container on your Online Ordering pages, the cause is almost always on the Google Tag Manager side. Either the container exists in your GTM account but a version has never been published (it's still in draft or workspace mode), or the container ID we have on file doesn't match the one in your account.

To check:

  1. Sign in to Google Tag Manager.

  2. Open the container and confirm the ID matches the one you sent us exactly.

  3. If it matches, click Submit, then Publish, to push a live version.

  4. If it doesn't match, email the correct ID to oosupport@doordash.com and we'll update it.

Once a version is published, Tag Assistant should detect the container on your store page and checkout.

If Tag Assistant detects your container but a specific tag inside it, such as an advertising pixel, is blocked on your ordering page, email oosupport@doordash.com with the tag name and a screenshot of the error.


What We Can't Add or Change

Some tracking requests are outside what we can set up on your Online Ordering pages:

  • Google Ads (AW-) tags on their own. We only add GTM container IDs. Add your Google Ads tag inside your GTM container.

  • Meta Pixel directly in checkout. There's currently no way to add a Meta Pixel directly to our checkout. Add it inside your GTM container.

  • Help inside Google Tag Manager. We can't walk you through setting up tags, triggers, or reports in Google Tag Manager. For help with GTM itself, use Google's Tag Manager help resources.

  • Hashed customer data. Our purchase event doesn't currently include a hashed customer email or phone number.

  • Backend access. We can't give you backend access to your Online Ordering website.


Questions? If you need help with this process or have questions, reach out to DoorDash Support at oosupport@doordash.com.

Did this answer your question?