Tracking

Google Ads cross-domain tracking and the domains warning

How Google Ads cross-domain tracking keeps the ad click across domains, how to set it up, and how to fix the "Additional domains detected" notice.

·7 min read·By the ROASaurus team

Key takeaways
  • Google Ads keeps the ad click in a first-party cookie on the domain where the visitor lands; a purchase on another root domain cannot read it.
  • Cross-domain measurement passes the click along in a _gl link parameter, so the second domain can store it and report the purchase against the ad.
  • You set it up in your Google tag settings under Configure your domains, or with the conversion linker in Google Tag Manager.
  • "Additional domains detected for configuration" means Google saw your tag on a domain you have not listed: add it if it is yours, leave it out if it is not.
  • A plain Shopify store usually does not need it; funnels, landing pages or a shop on a separate domain do.

Google Ads cross-domain tracking keeps an ad click attached to a visitor when they move from one of your domains to another before buying. Without it, the click stored on the first domain is invisible to the second, and a purchase there cannot be credited to the ad. You set it up by listing your domains in the Google tag settings, or with the conversion linker in Google Tag Manager. The "Additional domains detected for configuration" warning is Google telling you it found your tag on a domain that is not on that list.

This guide explains when you need cross-domain tracking, how to set it up in six steps, how to check it works, and how to fix and prevent the warning.

What is Google Ads cross-domain tracking?

When someone clicks your ad, Google adds a gclid to the landing page URL. The Google tag on that page stores the click in first-party cookies on the landing domain. When the visitor buys, the purchase tag reads those cookies and reports the conversion with the click.

Cookies belong to one domain. If the ad lands on yourbrand.com and the purchase happens on yourshop.com, the tag on the shop cannot read the cookie from the brand site. Google Ads then sees a purchase without a click. Cross-domain measurement solves this by adding a linker parameter, _gl, to links between your listed domains. The Google tag on the second domain reads it and stores the same click there.

SituationDo you need it?
A Shopify store on one domain, checkout on the same domainNo
Subdomains of one domain, such as shop.brand.com and brand.comUsually not; check that the cookie is set on the root domain
An ad landing page or funnel on one domain, the store on anotherYes
A content site or blog on its own domain that sends readers to the shopYes, if you advertise the content site
A separate checkout or booking domainYes
Two stores with separate Google Ads accounts, no traffic between themNo
Cross-domain measurement matters when a visitor crosses root domains between the ad click and the purchase.

How to set up Google Ads cross-domain tracking

There are two places to do it, depending on how your Google tags are deployed. Use the Google tag settings if you use the Google tag directly, the Google & YouTube app or both Google Ads and GA4 on one tag. Use the conversion linker if your Google Ads tags run in Google Tag Manager.

In the Google tag settings

  1. Open the Google tag settings

    In Google Ads, click Tools, then Data Manager, and under Google tag click Manage. In GA4 the same settings are under Admin › Data streams › your web stream › Configure tag settings.

  2. Open Configure your domains

    Click Show all if needed, then Configure your domains.

  3. Accept or add the domains

    Domains where Google already sees the same tag appear as recommendations; add the ones you own. Add any missing domain with a condition such as "contains yourshop.com".

  4. Save

    The setting applies to every destination of that Google tag, Google Ads and GA4 alike.

  5. Use the same tag on every domain

    Each domain must load the same Google tag ID. A different tag on the second domain will not read the linker parameter.

  6. Test the link

    Click a link from one domain to the other and check that the URL on arrival carries a _gl parameter.

In Google Tag Manager

Open your Conversion Linker tag (create one with a trigger on all pages if you do not have it), tick Enable linking across domains, enter your domains under Auto Link Domains and publish the container. Links to those domains then get the linker parameter, and the conversion linker on the second domain reads it. Google's Tag Diagnostics warns when a container has a Google Ads tag but no conversion linker.

In code

With the Google tag in your own code, the linker can be set directly:

Cross-domain linker in gtag.js (example domains)
gtag('set', 'linker', {
  domains: ['yourbrand.com', 'yourshop.com']
});

How to check that it works

  1. Open your landing page with a test parameter in the URL, such as ?gclid=test123, so you do not have to click a real ad.
  2. Click a link to your other domain. The URL on arrival should contain _gl=.
  3. Open DevTools › Application › Cookies on the second domain and look for _gcl_aw, which holds the click.
  4. If _gl is missing, look for redirects that drop URL parameters: open DevTools › Network with Preserve log on and follow the chain of requests.
  5. Links built by JavaScript or forms that submit to the other domain may need extra setup, because the linker decorates links and forms it can see on the page.

Why do you see "Additional domains detected for configuration"?

This is one of the diagnostics in Google's Tag Diagnostics, shown in the Google tag settings of Google Ads and GA4 and in Google Tag Manager. Google shows it when it has detected your Google tag on one or more domains that you have not specified in the tag settings. Common reasons:

  • You run more than one domain, such as a funnel and a shop, and never listed them.
  • You added a new domain, a country domain or a landing page, and did not update the list.
  • A tag manager container with a Google Ads tag lacks cross-domain settings on its conversion linker.
  • Your tag runs somewhere you did not expect: a staging site, a translation proxy, a site that copied your theme, or a payment or booking page that embeds your tag.

How to fix the warning

  1. Open the diagnostic

    In your Google tag settings, under Tag quality, select View diagnostics. In Google Tag Manager, click View issues and then Configure your domains.

  2. Check every listed domain

    Decide for each one whether it is yours and whether visitors move between it and your store.

  3. Add the domains you own

    Accept them in Configure your domains, or add them to Auto Link Domains in the conversion linker tag in Tag Manager, then save or publish.

  4. Leave out domains that are not yours

    Do not add a domain you do not control just to clear the warning. In Tag Diagnostics you can stop monitoring irrelevant domains and dismiss the alert.

  5. Test the journey

    Repeat the _gl check above between each pair of your domains.

How to prevent it

  • Add a domain to the list on the day you launch it, before you send ad traffic to it.
  • Use one Google tag ID across all your domains, so recommendations appear and the linker works.
  • Remove your tag from staging and test sites, or use a separate tag there.
  • Look at Tag Diagnostics after every site change, together with the consent diagnostics on the same screen. The wider list of Google tag warnings is in the Google tag warnings guide.

A worked example

An example store sends Performance Max and Search traffic to a quiz funnel on quiz.brandsite.com, which links to the shop on brandshop.com. In one month:

Without cross-domainWith cross-domain
Ad clicks to the funnel3,0003,000
Purchases on the shop after a funnel visit9090
Purchases Google Ads could tie to a click1281
Ad spend$4,500$4,500
Cost per conversion shown by Google Ads$375$56
Example store, one month. The 12 without linking are shoppers who also clicked an ad that went straight to the shop; the 9 still missing with linking had blocked or declined tags.

Without linking, Google Ads reports the funnel campaign at $4,500 ÷ 12 = $375 per purchase and lowers bids on clicks that were in fact selling. With linking, the same month shows $4,500 ÷ 81 = $56. Nothing about the campaign changed, only what Google could see. If GA4 also runs on both domains, the same setting stops visitors from being counted twice; see why Google Ads and GA4 differ and the GA4 tracking problems guide.

How ROASaurus keeps the click across domains

ROASaurus has its own hand-over that does not depend on Google's cookie. Under Settings › Store, list your other domains under Linked domains. With the ROASaurus script on both sites, links to those domains carry the ROASaurus visitor id, the Google click ids (gclid, gbraid, wbraid), other platforms' click ids and the UTM tags, for visitors who allowed tracking. On the shop, ROASaurus stores them with the visitor and writes the visitor id to the cart, so the order arrives with the original click.

That matters for the purchase upload. ROASaurus sends every paid web order to Google Ads from its server through the Data Manager API, with the click id it kept, so the purchase is tied to the ad even when the browser tag on the shop could not read Google's cookie. You add Google Ads under Connections › Tracking & destinations, and each upload appears under Data quality › Deliveries. Keep Google's own cross-domain settings as well, since your remarketing and GA4 sessions still rely on them. The tracking audit shows what loads on each domain, and the BFCM tracking checklist includes the cross-domain check. For Klaviyo across domains, see Klaviyo and Shopify tracking.

Sources

  1. Google Ads Help: Configure your Google tag settings
  2. Google Ads Help: Troubleshoot tag issues with Tag Diagnostics
  3. Google Ads Help: How Google Ads tracks website conversions
  4. Analytics Help: Set up cross-domain measurement

In ROASaurus

Keep reading

MarketingBFCM tracking checklist: can you trust your ad results?A Black Friday tracking checklist: test a real purchase, find duplicate conversions, choose which orders count, check consent and judge ads on profit.AnalyticsGA4 not tracking correctly on Shopify? Check and fix itCommon GA4 tracking problems on Shopify, each with its cause, a check you can run and the fix: duplicate tags, missing purchases, consent, events and IDs.MarketingHow the Klaviyo Shopify integration tracks eventsHow Klaviyo collects Shopify data: order events, Checkout Started, onsite events, how it identifies visitors, where coverage ends and how to set it up.

FAQ

Questions, answered

More answers in the FAQ and the help center.

What does "Additional domains detected for configuration" mean?

Google has detected your Google tag on one or more domains that are not listed in your Google tag settings. If the domains are yours and visitors move between them, add them under Configure your domains.

How do I fix the warning in Google Tag Manager?

Click View issues and then Configure your domains, or add the domains to Auto Link Domains in your conversion linker tag with linking across domains enabled. Then publish the container.

Should I add every domain Google suggests?

No. Add only domains you own and that your visitors move between. A staging site, a proxy or a copied theme should not be added; remove your tag there or stop monitoring that domain.

Do I need cross-domain tracking for subdomains?

Usually not, as long as the Google tag sets its cookies on the root domain. Check for self-referrals in GA4 if subdomains use different cookie domains.

How do I check that cross-domain tracking works?

Click a link from one of your domains to another and check that the URL on arrival contains a _gl parameter, then check for the _gcl_aw cookie on the second domain.

Does a Shopify store need cross-domain tracking?

Not for a store whose landing pages and checkout run on one domain. It does when ads send visitors to a funnel, landing page or content site on another domain first.

Every sale, traced to the ad that earned it

Server-side tracking, profit and lifetime value in one app. Free plan, no credit card.