Check 41.01 · Tracking and analytics setup

Set up Google Search Console

Create the right Search Console property, verify it on your CMS or framework, then set up users, sitemaps and the GA4 link without losing access.

Priority
Critical
Difficulty
Easy
Estimated time
30 min to 1 h
Free, no account: your progress is saved in this browser.

Ask an AI to check this point on your site

Opens the assistant with a ready-made question: this check, its goal and your site URL.

For Gemini, Copilot or another assistant, copy the question. The link opens the chosen service directly: nothing goes through this site.

In short

Google Search Console is Google's free tool that shows how the search engine sees your site: queries, impressions, clicks, indexed pages, crawl errors, security issues and manual actions. Setting up Search Console means creating the right property, proving that the site belongs to you, giving access to the right people and connecting the useful data sources. Once this is done, the history builds up day after day and you receive Google's alerts.

Why it matters

Search Console is the only source that gives data from Google Search itself. Third-party tools estimate rankings and volumes; Search Console counts the actual impressions and clicks of your pages in the results. Google also reports things there that it says nowhere else: pages excluded from the index and why, structured data errors, detected hacking, manual penalties.

Two constraints make the setup urgent:

  • Data starts when the property is created. Google collects data for a property as soon as it is added, even before verification, but not earlier. A property created on the day traffic drops does not show what happened the day before.
  • History is limited to 16 months. Beyond that, data disappears from the interface unless you export it.

On the GEO side, Google states that appearances in AI Overviews and AI Mode are counted in overall search traffic, in the Performance report, search type “Web”. Search Console therefore does not replace tracking of generative engines, but it is the measurement baseline for everything that comes from Google. See check the AI reports available in search engine tools (opens in a new tab).

What it improves

  • Diagnosis Indexing errors, excluded pages, mobile usability or structured data issues visible in a few clicks.
  • Management The queries, pages, countries and devices that bring clicks; the basis of every SEO KPI, such as track organic traffic and clicks (opens in a new tab).
  • Responsiveness Emails from Google in case of hacking, a manual action or a rise in errors.
  • Indexing Sitemap submission, URL inspection and indexing requests.
  • Rankings No direct effect. Search Console measures and alerts; it does not make a site rank better.

How to check

In five minutes, from Search Console:

  1. Property selector: does the site appear, and in what form? A Domain property is shown without a protocol (example.com), a URL-prefix property with its protocol (https://www.example.com/).
  2. Right version: if only a URL-prefix property exists, does it match the canonical version of the site (HTTPS, with or without www)? An http://example.com/ property on a site served at https://www.example.com/ shows almost empty data.
  3. Owners: in Settings, the Ownership verification section lists the verified owners and their method. Compliant: at least two people or accounts from the company, not just a contractor or a former employee.
  4. Users: Users and permissions contains only current people, with the access level they need.
  5. Data: the Performance report shows clicks and impressions, and the Sitemaps report at least one sitemap with the status “Success”.

How to implement

Before you start

Choose the property type:

Type Covers Verification Use
Domain (example.com) All subdomains (www, blog, shop…), HTTP and HTTPS DNS record only Main property, recommended
URL prefix (https://www.example.com/) Only the URLs that start with this exact prefix HTML file, meta tag, Google Analytics, Google Tag Manager Access without DNS, tracking a directory (/fr/, /blog/)

The best setup combines both: a Domain property for the overall view, and URL-prefix properties for the sections you want to track separately, for example each language of a multilingual site. Child properties of an already verified property are verified automatically by the same method.

Three precautions:

  • Google account: create the property with a company account, not with the personal account of an employee or an agency.
  • At least two owners, so you never lose access when someone leaves.
  • Staging: do not create a property for a test site meant to stay out of the index; protect it with a password instead.

Create the property

  1. Open the Search Console welcome page, or the property selector and then “Add property”.
  2. Choose “Domain” and enter example.com, without https:// or www, or “URL prefix” and enter the full canonical URL.
  3. Follow the verification method offered. For a Domain property, the DNS procedure is detailed in verify the domain property via DNS (opens in a new tab).

For a URL-prefix property, the available methods are:

Method What you do Requirement
HTML file Upload googleXXXX.html to the site root FTP or server access; the file must remain accessible without logging in
HTML tag Add <meta name="google-site-verification" content="…"> to the <head> of the home page Access to the template or to a CMS field
Google Analytics Nothing more if the GA4 tag is already in place Editor role on the Analytics property, same Google account
Google Tag Manager Nothing more if the container is already in place Publish or administer permission on the container

The following sections show where to place the tag or file depending on your environment.

WordPress

Versions WordPress 6.4 and later; Yoast SEO, Rank Math and Site Kit by Google, November 2026 versions.

Three options; one is enough:

  • Site Kit by Google: Google's official plugin connects the site to Search Console during its setup wizard and handles verification; it then shows the data in the WordPress dashboard.
  • Yoast SEO: Yoast SEO > Settings > Site connections, Google field. Paste only the value of the tag's content attribute.
  • Rank Math: Rank Math SEO > General Settings > Webmaster Tools, Google Search Console field.

For the HTML file method, upload the file to the root of the installation, next to wp-config.php.

Shopify

Versions Shopify admin, all plans, November 2026.

  • Domain property: if the domain was bought from Shopify, add the TXT record from the domain settings. Otherwise, add it at the domain's DNS provider.
  • URL-prefix property: Online Store > Themes, … menu of the live theme, Edit code, file layout/theme.liquid. Paste the meta tag right after <head> and save. Do it again if you change themes.

Shopify does not let you upload an HTML file to the root: use the tag or DNS.

Wix

Versions Wix editor and dashboard, Premium plans with a connected domain, November 2026.

In the dashboard, open the SEO tools, then the site verification section, and paste Google's meta tag. The site must be published on a custom domain. For a Domain property, add the TXT record in the domain's DNS management, at Wix if the domain was bought there.

Squarespace

Versions Squarespace 7.1, November 2026.

Squarespace lets you connect Search Console from its SEO tools, which verifies the property without code. Otherwise, paste the meta tag into the Header area of the site's Code Injection, if your plan gives access to it. For a Domain property on a Squarespace domain, add the TXT record in the domain's custom DNS records.

Webflow

Versions Webflow, all site plans, November 2026.

Site settings > SEO, Google site verification field: paste only the verification code, then publish the site. Webflow does not host DNS: a Domain property is verified at the domain's DNS provider.

Laravel

Versions Laravel 11 to 13.

Add the tag to the main layout, reading the value from the configuration so that it is not published on staging:

// config/services.php
'google_search_console' => [
    'verification' => env('GOOGLE_SITE_VERIFICATION'),
],
{{-- resources/views/layouts/app.blade.php, inside <head> --}}
@if(config('services.google_search_console.verification'))
    <meta name="google-site-verification" content="{{ config('services.google_search_console.verification') }}">
@endif

For the file method, place googleXXXX.html in public/. Clear the configuration cache after deployment (php artisan config:cache).

Next.js

Versions Next.js 15 and 16 (App Router).

The Metadata API generates the tag:

// app/layout.tsx
import type { Metadata } from 'next';

export const metadata: Metadata = {
  verification: {
    google: 'YOUR_VERIFICATION_CODE',
  },
};

For the file method, place googleXXXX.html in the public/ folder.

Shared hosting

On a static site or a CMS with no dedicated field, upload the googleXXXX.html file by FTP or through the host's file manager to the site's root folder (www/, public_html/ or htdocs/ depending on the host), then click “Verify”. First check that https://example.com/googleXXXX.html opens in a browser.

Configure the property after verification

  1. Users: in Users and permissions, “Add user”. Choose “Owner” (full control, can manage access), “Full” (all data, some actions) or “Restricted” (view most data). A property accepts up to 100 non-owner users; group addresses are not accepted.
  2. Sitemaps: submit the sitemap or sitemaps in the Sitemaps report. See submit sitemaps to Google and Bing (opens in a new tab).
  3. Google Analytics: in GA4, Admin > Product links > Search Console links, then “Link”. You must be a verified owner of the Search Console property and an Editor of the GA4 property. A web data stream can be linked to only one Search Console property. The reports appear in GA4's Search Console collection, which you publish from the Library. See set up GA4, Matomo or an equivalent (opens in a new tab).
  4. Bing: Bing Webmaster Tools imports sites verified in Search Console. See set up Bing Webmaster Tools (opens in a new tab).
  5. Long history: to keep more than 16 months, schedule a monthly export or enable bulk data export to BigQuery, which requires a Google Cloud project.
  6. Alerts: emails go to owners and users. Check that the technical and editorial leads are on the list, and that their notification preferences do not turn them off.

Warning: never remove the verification token (file, tag or DNS record) during a redesign or a theme change. Google checks regularly that it is still there; if it disappears, owners receive a notification and then lose their permissions after a grace period.

Common mistakes

  • Creating a URL-prefix property on the wrong version (http://, or without www when the canonical site uses it): the data seem to be zero even though the site receives traffic.
  • A single owner, often the agency: when the person leaves or the contract ends, the company loses access and has to verify everything again.
  • Removing the verification token during a redesign or a theme or DNS change.
  • Pasting the whole tag into a field that expects only the code, or the reverse, in Yoast, Rank Math or Webflow: verification fails.
  • Verifying the staging site and letting Google discover test URLs.
  • Waiting for a traffic drop to create the property: there is then no history to compare with.
  • Never exporting, and finding out after 16 months that the history from before the redesign is gone.

Frequently asked questions

Should I choose a Domain or a URL-prefix property in Search Console?

Choose a Domain property as your main property: it groups all subdomains and the HTTP and HTTPS versions, so you do not miss part of the traffic. It requires access to the DNS zone. Then add URL-prefix properties to track a section separately, such as a language or a blog, or if you cannot change the DNS.

How long does it take to see data in Search Console?

Google starts collecting data as soon as the property is added, even before verification, but never earlier. The first performance data usually appear after a few days. If a property is still empty several days after verification, check that the declared URL matches the version of the site served to visitors, or that the site actually appears in Google's results.

What happens if I remove the Google verification tag?

Google regularly checks that the verification token is still present. If it disappears, owners receive a notification and then lose their permissions on the property after a grace period. If no verified owner remains, the property becomes inaccessible to all its users. So keep the file, tag or DNS record in place for the whole life of the site.

Does Search Console measure traffic from AI Overviews?

Yes, but without separating it from the rest. Google states that appearances in AI Overviews and AI Mode are included in overall search traffic in the Performance report, search type “Web”. To isolate what comes from generative engines, cross-check Search Console with Bing Webmaster Tools and with the referrer analysis in your analytics tool.

Updated on

Topic checklist (PDF)

And now?

In the “Tracking and analytics setup” topic

  1. Set up Google Search Console
  2. Verify the domain property via DNS
  3. Set up Bing Webmaster Tools
  4. Set up GA4, Matomo or an equivalent
  5. Set up Google Tag Manager if needed
  6. Check data collection
  7. Handle applicable consent requirements
  8. Track conversions, forms and quote requests
  9. Track phone and email clicks
  10. Track downloads and sign-ups
  11. Track purchases
  12. Set up cross-domain tracking if needed
  13. Fix duplicate conversions
  14. Exclude internal traffic if relevant
  15. Identify organic and AI landing pages
  16. Create a dedicated channel for AI traffic
  17. Identify ChatGPT, Perplexity, Gemini, Copilot and Claude referrers
  18. Use available UTM parameters
  19. Connect analytics to the CRM if relevant
  20. Measure lead quality and revenue
  21. Document the limits of attribution
  22. Set up Consent Mode v2 if you use Google tags