First-party mode for Google Tag Manager (GTM) with automatic configuration using Cloudflare is now in closed beta. This update opens new avenues for more reliable and effective data collection on your website via the client GTM library.

First-party mode allows you to deploy Google Tag using your own infrastructure hosted on your website's domain. This means your site loads the tag from your domain rather than from a Google domain. This approach helps improve measurement quality by reducing ad-blocking and enhancing data privacy. Overall, it makes your tagged configurations more resilient.

Cloudflare is a service that helps manage website traffic and provides security. When you use Cloudflare with First-party mode, it acts as a middleman, helping to route data to and from your website quickly and securely. You can easily manage how your tags and data collection work without needing extensive technical knowledge.

In short, First-party mode with Cloudflare helps you collect data more effectively, improves privacy for your users, and makes your website’s data collection process smoother and more reliable.

To get started, you will need Google Tag or GoogleTagManager Container and
Cloudflare which should be properly set up. This bundle can simplify your workflow with Google Tag Manager, providing a quality and reliable analytical infrastructure.

If you work with GA4 to BigQuery exports, be sure to check out my SQL cheat sheet.