Tracking basics

What is the Google tag (gtag.js)?

The Google tag, gtag.js, is a single piece of code that connects your website to Google's products, GA4 and Google Ads, from one snippet. It is Google's simplest way to get measurement running without a separate tag-management tool.

What it does

You place one Google tag on your site, keyed to a tag ID, and it can send data to GA4 and Google Ads together. It handles page views and can fire events and conversions directly. For a simple setup, it is all you need to start measuring.

Google tag vs Google Tag Manager

Which should you use

For a basic site with one or two tags, the Google tag is fine. The moment you have several tags, custom events, a data layer or real consent needs, GTM is worth it, you manage everything in one place and stop editing site code for every tweak. Most businesses past the starter stage end up on GTM.

Want us to check your tracking in 10 seconds?

Pop in your domain and we will show you what is firing, what is not, and where data is leaking. Free, no signup.

Check my tracking free

Get a plain-English audit

We check your live GA4, Google Tag Manager and consent setup by hand and tell you exactly what is wrong. The audit comes off any build.

See how it works & pricing

Datahound are analytics and ad-tracking specialists. We fix broken GA4, Google Tag Manager and server-side tracking so every sale, form and call gets counted. Back to datahound.agency · All tracking guides · What is Google Tag Manager?