Does Google Tag Gateway fix Safari ITP? No, it moves the script, not the cookie.
- “does Google Tag Gateway fix Safari ITP”
- “Safari conversions drop after 7 days GA4”
- “does Google Tag Gateway extend cookie lifetime”
- “_ga cookie capped 7 days Safari fix”
- “tag gateway didn't fix my attribution”
Baris Asa, tracking consultant, London · Last checked: 24 November 2026
No, not on its own. Google Tag Gateway loads your Google tags from your own domain. As far as Google documents it, the tag still runs in the browser, and Safari’s Intelligent Tracking Prevention (ITP) deletes cookies written by script after 7 days without interaction with your site. A buyer who returns after a week can then be counted as a new user.I’m not paid by Google or any host named here. I sell tracking audits and server-side work.
Is this happening to you?
In GA4, compare Safari against Chrome. Look at the share of new users and at how many returning visitors you recognise 8 to 14 days after their first visit. A much higher new-user share on Safari, with Chrome steady, is the usual sign. A lost returning visit often lands as (direct), which is filed as F-204 . Treat this as the pattern to look for, not a measured figure: it varies with how Safari-heavy your traffic is.
What Google and WebKit each say
Google describes the gateway as a way to deploy the Google tag from your own first-party infrastructure, meaning a CDN, load balancer or web server you already run. Its setup guide says some measurement requests go to Google through your domain. Neither page mentions cookies, cookie lifetime or Safari.
WebKit’s tracking prevention page covers the other half. ITP deletes cookies created in JavaScript after 7 days without user interaction with the site. When it detects link decoration, such as a click ID added to the landing URL, it caps those cookies at 24 hours.
A cookie set in an HTTP response header is treated differently. It is capped at 7 days only if ITP detects third-party CNAME or IP address cloaking.
Script from your domain, cookie from the same script: same 7 days. Unless you have checked that your cookie arrives in a Set-Cookie header, assume it is the script-written kind.
The check
You need Safari on a Mac with the Develop menu on (Settings, Advanced, Show features for web developers). Open Web Inspector on your site, reload, then compare:
| What you see | What it means | Safari expiry |
|---|---|---|
_ga is in Storage but never in a response header | The page’s script wrote it | 7 days without interaction |
_ga or FPID comes in a Set-Cookie header from your tagging domain | The server set it | Expires as the server sets it; the 7-day script rule does not apply |
| Server-set, but the subdomain is a CNAME to a third party or its IP is outside your site’s range | Cloaked | Capped at 7 days if ITP detects the cloaking |
Set-Cookie means the server hands the cookie to the browser, instead of the page’s script creating it. Storage alone cannot separate the first two rows; the Network panel can. Not technical? Send this table to whoever runs your tagging and ask which row you are in.
Why the two get confused
Both Tag Gateway and server-side GTM put something on your domain. One moves the script and some request routing. The other is a server, and only a server can set a cookie in a response header. That is the cookie question filed under F-401 . The full side-by-side, including whether to run both, is Google Tag Gateway vs server-side GTM.
℞ If cookie lifetime is the problem
- Confirm the cookie is script-written. Use the check above on a Safari session, not Chrome.
- Set the cookie from the server. The web tag must send to your server container through a first-party tagging domain; the setting only applies to requests that reach it. In that container, the GA4 client has a server-managed cookie setting that writes
FPIDin the response and uses it in place of_ga. Google’s pages I read do not document that setting; Simo Ahava’s FPID write-up does. - Check where the tagging domain points. A CNAME to someone else’s host, or an IP outside your site’s range, brings the 7-day cap back for header-set cookies. Server-side GTM on a custom domain, Safari still caps the cookies walks through the three reasons.
- Do not promise a recovery figure. Measure the 8 to 14 day returning-visitor share on Safari before and after.
When Tag Gateway is the right tool
If ad and script blockers are dropping Google’s tags and you only send to Google, first-party delivery is what Google describes the gateway for: Google’s overview frames it around first-party serving and conversion uplift. Just keep it separate from cookie expiry.
On record: the two Google gateway developer pages linked above say nothing on cookies (I did not review the Help Centre articles); the cookie rules above come from WebKit.
If you would rather I checked the cookie and the tagging domain, that is part of server-side tracking work. Whether server-side is worth building at all is a separate ruling, kept under You don’t need server-side tracking. The consent-side version of vanishing conversions is Consent Mode v2 conversion drop.