SEO

How to Set Up Google Analytics 4 and Search Console for Your Business Website, and Link Them Together

No Google Analytics developer console needed: set up GA4 and Search Console step by step, link them, check the tag in DevTools and track enquiries.

How to Set Up Google Analytics 4 and Search Console for Your Business Website, and Link Them Together
On this page
  1. Search Console vs Google Analytics: what each tells you
  2. Before you start
  3. Step 1: Set up Google Search Console
  4. Step 2: Create a GA4 property and data stream
  5. Step 3: Add the tag to your WordPress site
  6. Step 4: How to set up Search Console in Google Analytics
  7. Google Analytics and the developer console: which one you need
  8. Step 5: Track enquiries as key events
  9. Common setup mistakes
  10. What to check each month
  11. Quick check: is tracking actually working?
  12. When to get help
  13. FAQs
Key takeaways
  • Search Console shows how people find you in Google; GA4 shows what they do on your site. You need both, and both should be owned by a business Google account.
  • Verify a Domain property in Search Console with a DNS record, add GA4 to WordPress one way only (Site Kit, a plugin or Tag Manager), and check it in Realtime.
  • Link them in GA4 under Admin, Product links, Search Console links, then publish the Search Console reports from the Library and mark enquiries as key events.

You don't need the Google Cloud developer console to set up Google Analytics; that console is only for API projects, and GA4 is set up entirely in analytics.google.com. To set up Google Analytics 4 and Search Console: create a Domain property in Search Console and verify it with a DNS TXT record, create a GA4 property with a web data stream, add the Google tag to your site (on WordPress, Site Kit by Google is the simplest way), then link the two in GA4 under Admin > Product links > Search Console links. Finally, mark form submissions, calls and WhatsApp clicks as key events so you can see which pages bring enquiries.

The whole job takes an afternoon if you have access to your domain's DNS and your WordPress admin. Below is each step with the menu names, the checks that confirm it's working, and the mistakes I most often find when I take over a site. Tracking is set up properly as part of my WordPress SEO services, but everything here can be done yourself.

Search Console vs Google Analytics: what each tells you

Google Search ConsoleGoogle Analytics 4
Main questionHow does my site appear in Google Search?What do visitors do once they arrive?
Key dataSearch queries, impressions, clicks, average positionTraffic sources, pages viewed, engagement, key events
Technical healthIndexing errors, Core Web Vitals, security issues, manual actionsNone directly
Traffic coveredGoogle Search onlyAll sources: Google, social, ads, email, direct
Needs code on the siteNo, only verificationYes, the Google tag

Before you start

  • Use a Google account the business controls, ideally your business email, not a developer's or a former employee's personal Gmail. Add others as users later rather than sharing the login.
  • Have DNS access: the login for wherever your domain's DNS is managed, which may be your registrar, your host or Cloudflare.
  • Have WordPress admin access to install a plugin.
  • Pick one way to add the tag. Adding GA4 through two plugins, or a plugin and the theme, double-counts every visit.

Step 1: Set up Google Search Console

  1. Go to search.google.com/search-console and sign in.
  2. Choose Domain and enter your domain without https or www, for example yourbusiness.in.
  3. Copy the TXT record Google gives you and add it to your DNS. Leave the host or name field as @ or blank, as your DNS provider expects.
  4. Click Verify. If it fails, wait a while and try again; DNS changes can take time to spread.
  5. Open Sitemaps and submit your sitemap. With Yoast or Rank Math it's usually sitemap_index.xml; without an SEO plugin, WordPress itself provides wp-sitemap.xml.
  6. In Settings > Users and permissions, add your developer or SEO provider as a Full user instead of giving them your password.

A Domain property covers http and https, www and non-www and every subdomain in one place, which is why I recommend it. A URL-prefix property covers one exact version of the site and can be verified with an HTML tag or file instead of DNS, which helps if you can't reach your DNS. If the sitemap shows an error, see sitemap "couldn't fetch" explained.

Step 2: Create a GA4 property and data stream

  1. Go to analytics.google.com, open Admin and choose Create > Property (or create an account first if you don't have one).
  2. Name the property after your site, set the time zone to India and the currency to Indian rupees, or whatever matches your business.
  3. Answer the business details questions and choose Web as the platform.
  4. Enter your website address and a stream name. Leave Enhanced measurement on; it records scrolls, outbound clicks, site search and file downloads without extra code.
  5. Copy the Measurement ID, which starts with G-.
  6. In Admin > Data collection and modification > Data retention, change event data retention from the default 2 months to 14 months, the longest option on the free version at the time of writing.

Step 3: Add the tag to your WordPress site

There are three sensible ways. Use one of them, not several:

  • Site Kit by Google: Google's free plugin. It adds the tag, can verify Search Console for you, and shows summary figures in your dashboard. The best choice for most business owners.
  • Your SEO or header plugin: some SEO plugins, or a simple header-and-footer plugin, let you paste the Measurement ID or the Google tag. Fine if you already use one.
  • Google Tag Manager: better when you also run Meta or Google Ads tags or want detailed click tracking; see Google Tag Manager basics.

Setting up Site Kit

  1. In WordPress, go to Plugins > Add New, search for Site Kit by Google, install and activate it.
  2. Click Start setup and sign in with the same Google account that owns your Search Console and Analytics.
  3. Approve the permissions. Site Kit verifies the site in Search Console and connects it.
  4. Choose Set up Analytics and select the GA4 property and web stream you just created, or let Site Kit create one.

To confirm it works, open your site in another browser or on your phone and check Reports > Realtime in GA4. You should see yourself within a minute or so. If nothing appears after a day, work through GA4 not showing data on WordPress.

Step 4: How to set up Search Console in Google Analytics

Linking the two puts your Google search queries and landing pages next to engagement and enquiry data in GA4. You need the Editor role on the GA4 property and must be a verified owner of the Search Console property.

  1. In GA4, open Admin > Product links > Search Console links.
  2. Click Link, then Choose accounts, and tick your Search Console property.
  3. Click Next, select your web data stream, then Next and Submit.
  4. Go to Reports > Library. Find the Search Console collection, open its menu and choose Publish. Until you do, the reports don't appear in the left-hand menu.

You then get two reports: Queries, showing the searches that brought clicks, and Google organic search traffic, showing landing pages with their clicks, impressions and engagement. Search Console data arrives a couple of days late, so don't expect today's figures. A GA4 web stream links to one Search Console property, so link the Domain property that covers the whole site.

Google Analytics and the developer console: which one you need

People search for a "Google Analytics developer console" for three different reasons, and each points to a different tool. The table shows which one fits your task.

ToolWhat it isUse it when
GA4 AdminThe settings area inside analytics.google.comCreating properties and streams, key events, links and user access
GA4 DebugViewA live view of events from a device in debug modeChecking that form, call and WhatsApp events fire correctly
Browser developer console (DevTools)The inspector built into Chrome, Edge and other browsersConfirming the Google tag loads once and sends hits
Tag Manager PreviewTag Manager's own debug modeTesting triggers before you publish a container
Google Cloud consoleGoogle's developer console for APIs and service accountsOnly for custom work, such as pulling GA4 data through the Data API into your own dashboard

Checking the tag in your browser's developer console

  1. Open your site in Chrome, right-click and choose Inspect, then open the Network tab.
  2. Reload the page and type collect in the filter box.
  3. You should see requests to a Google Analytics collect address carrying your G- Measurement ID. One page view should produce one set of hits, not two.
  4. Click a phone or WhatsApp button, or send a test form, and watch for the matching event request.

If you see two different Measurement IDs, or the same one firing twice, the tag is installed in more than one place. Remove the extra copy before trusting any figures.

Step 5: Track enquiries as key events

Page views don't tell you whether the site brings business. Track the actions that lead to enquiries and mark them as key events (what GA4 used to call conversions):

  • Contact form submissions: easiest with a thank-you page. Create an event in Admin > Data display > Events that fires when page_location contains your thank-you page address, then mark it as a key event. Recent versions of Site Kit can also detect submissions from some popular form plugins.
  • Phone clicks: clicks on tel: links, usually tracked with Tag Manager.
  • WhatsApp clicks: clicks on wa.me links, which enhanced measurement records as outbound clicks you can turn into an event.

GA4 events explained covers event names and parameters in more detail. Once enquiries are tracked, you can measure your website's ROI in rupees.

To see which campaigns bring enquiries, add UTM tags to links in emails, social posts and WhatsApp messages.

Common setup mistakes

  • The property belongs to someone else, such as an old agency, so you can't see your own data. Ask them to add you as an administrator, or start a new property.
  • The tag is installed twice, which doubles page views and halves the bounce rate overnight.
  • Wrong time zone or currency, which shifts daily figures and revenue.
  • Data retention left at 2 months, which limits how far back custom reports can go.
  • Your own visits counted. Define internal traffic in the web stream's tag settings and activate the data filter in Admin.
  • No mention in the privacy policy. Say that you use Google Analytics; see privacy policy and cookie basics for India.

What to check each month

  • Search Console > Performance: top queries and pages, and which are rising or falling.
  • Search Console > Pages: pages not indexed and why.
  • GA4 key events: how many enquiries, and from which pages and sources.

Search Console reports explained goes through each report in plain English.

Quick check: is tracking actually working?

  1. In GA4, open Reports, Realtime, visit your site from your phone and confirm your visit appears within a minute.
  2. Submit a test enquiry and check that your key event shows in Realtime, then in Admin, Events the next day.
  3. In Search Console, run URL inspection on your home page and confirm it says "URL is on Google".
  4. View your page source and search for G-: the measurement ID should appear once. Two copies usually means the tag is installed twice and visits are double counted.

When to get help

Get help when numbers look doubled or missing, when enquiries are not counted as key events, or when you want a monthly read of what is working. WordPress SEO services include tracking set up and checked from day one; to fix tracking on an existing site, you can also hire a WordPress developer in India, or send your website address.

FAQs

How do I set up Search Console in Google Analytics?

Verify your site in Search Console first, then in GA4 go to Admin > Product links > Search Console links, click Link, choose your Search Console property and web stream, and submit. Then publish the Search Console collection from Reports > Library so the reports appear.

Do I need both Google Analytics and Search Console?

Yes, for a business site. Search Console shows searches, rankings and indexing problems that GA4 can't see, while GA4 shows what visitors do and which pages produce enquiries. Both are free.

Should I use Site Kit or add the code another way?

For most WordPress sites, Site Kit is the simplest and keeps everything under Google's own plugin. Use Tag Manager instead if you manage several tracking tags. Whichever you choose, add the tag only once.

Do I need the Google Analytics developer console?

No. The Google Cloud developer console is only needed for custom API projects. Setting up GA4, Search Console and Site Kit happens in their own dashboards, and you can check the tag in your browser's developer tools.

How long until data appears?

Realtime data in GA4 appears within minutes and standard reports within a day or so. Search Console can take a few days to show performance data for a newly verified site; see getting a new site indexed faster.

Need help with your website?

I'm a freelance WordPress developer building fast, SEO-friendly websites since 2020. Tell me what you need and I'll reply with a plan and a fixed quote, usually within 24 hours.

Found this useful? Share it:
Contact

Let's build your next website

Available for freelance projects, agency white-label work and long-term maintenance. Feel free to pass this along to your team or company.

I reply within 24 hours, usually the same day. Your details are emailed to me, then WhatsApp opens so we can chat right away.

Chat now