Install the Google tag on your website

Put the one Google tag on every page of your site, through your site builder, Google Tag Manager or a pasted snippet, so Google Ads can count what happens after a click.

Takes about 30 minutes

On this page

The tag lives on your website, so you install it yourself. Until it is there, Google Ads reports clicks but no leads. The conversion actions you add on top of it are yours too (Conversion actions).

Before you start#

  • A Google Ads account connected to Madder (Create a Google Ads account).
  • Access to your website’s code, theme settings or CMS admin.
  • If you also use Google Analytics 4: decide which product owns the tag. Google says to set up the Google tag in one platform only when you use both.

1Open your Google tag#

In Google Ads go to Tools › Data manager (as of September 2026). Under Google tag click Manage, then click the tag under Your Google tag. Under Tag details you see the Google tag ID (looks like GT-XXXXXXX or AW-XXXXXXXXX). One account has one Google tag; if you find several, Google lets you combine them, and combining cannot be undone.

2Pick one installation method#

Website builder or CMS
Click Select your platform. As of September 2026 Google lists integrated setups for Shopify, Wix, Squarespace, Webflow, WooCommerce, Site Kit for WordPress, MonsterInsights for WordPress, GoDaddy, Duda, HubSpot, BigCommerce and more. You paste the tag ID into the platform’s Google field; no code.
Google Tag Manager
If GTM already runs on the site, add a Google tag tag with the ID and publish the container. Google suggests this route when you measure more than a few things.
Install manually
Click Install manually, copy the snippet, and paste it into every page of your site, right after the <head> element.

3Test the tag#

Back in the tag screen, under Test your website enter your URL and click Test. Data can take up to 30 minutes to start arriving. For a second opinion, open Google Tag Assistant, enter the site URL and check the Summary tab shows events.

4Watch the tag status#

Under “Your Google tag”, the “Tag quality” section shows one of five statuses (“Excellent”, “Good”, “Needs attention”, “Urgent” or “No recent data”), and View diagnostics lists the issue, for example “Some of your pages are not tagged” or “Google tag has stopped sending data”. Once the status reads “Good” or better, set up your conversion actions.

If it doesn’t work#

No recent data after an hour
The tag is not on the live site. A cached theme, a staging URL, or a snippet pasted into one template’s footer is the usual cause.
Tag found too low on page
Move the snippet directly after <head>.
Two tags on the page
A plugin and a manual paste. Remove one; Google double-counts nothing but Tag Diagnostics flags it.
A cookie banner holds the tag back (EU, UK)
Connect the banner to Google’s consent mode, so the tag counts the visitors who accept. Never set consent to granted by default.
Test shows events but no leads are counted
The tag alone counts page views; leads need a conversion action.