4XX errors while loading Google scripts through server-side tagging

So I set up server-side tagging with App Engine (Google Cloud Platform).

I came across this article "Load Google scripts through server-side tagging" (https://developers.google.com/tag-platform/tag-manager/server-side/dependency-serving?tag=gtm) and followed all the steps.

It looked perfectly fine.

But when I checked the requests in the Google Cloud Console in detail, I noticed that there are a lot of 4XX errors.

Please see the screenshot attached:

4xx errors over time

This also led to a traffic drop in GA4:

Traffic drop in GA4

On Jan 5 we changed the GTM integration back to normal, so we switched from example.tagging.com to googletagmanager.com.

Suddenly, most of the 4XX errors were gone, please see the screenshot attached:

4xx errors are mostly gone

As a result, the GA4 traffic is going back to normal:

GA4 traffic is going back to normal

Does anybody know why this is happening?

Thanks in advance!

1 0 109
0 REPLIES 0