tracker-surrogates
tracker-surrogates copied to clipboard
Regex not matching all Google Tag Manager endpoints
Found an in-the-wild GTAG script path: https://www.googletagmanager.com/gtag/js?id=AW-816022932
The mapping.json fix should be:
"googletagmanager.com": [
{ "regexRule": "googletagmanager\\.com\\/gtm\\.js", "surrogate": "gtm.js" },
{ "regexRule": "googletagmanager\\.com\\/gtag\\/js", "surrogate": "gtm.js" }
],