How to Set Up Google Analytics 4 and Search Console for Your Website

If you run a website, three questions matter every week: how many people visit, where do they come from, and which pages do they actually use? Two free tools from Google answer those questions: Google Analytics 4 (GA4) and Google Search Console. This guide explains what each tool does, how to set them up on a WordPress site, and which few reports are worth checking regularly.

What Each Tool Does

Google Analytics 4 measures what happens after someone arrives on your site. It shows how many visitors you have, which pages they open, how long they stay, and which channels brought them, such as search, social media or direct visits.

Google Search Console works earlier in the journey. It shows how your site appears in Google Search: which search terms show your pages, how often people click, your average position, and whether Google has trouble reading or indexing any page.

Used together, Search Console tells you how people find you and GA4 tells you what they do next.

Before You Start

  • A Google account you will keep long term, ideally one you control yourself rather than an account someone else can lose access to.
  • Admin access to your WordPress dashboard.
  • Your site’s full address, including https.
  • A privacy policy page that explains what data you collect. Depending on where your visitors live, you may also need a cookie notice.

Step 1: Create a GA4 Property

  1. Open analytics.google.com and sign in.
  2. Go to Admin and choose Create, then Property.
  3. Enter a name, your time zone and your currency.
  4. Answer the short questions about your business and goals.
  5. When asked to choose a platform, select Web, enter your site address and give the stream a name.
  6. Copy the Measurement ID that appears. It starts with the letter G followed by a dash and a mix of letters and numbers.

Step 2: Add GA4 to WordPress

The tracking code must load on every page. You have two simple options. The first is the official Site Kit by Google plugin, which connects both tools through a guided setup. The second is to paste the code Google gives you into the header area of your site using a header and footer code plugin. Choose only one method, because adding the same tag twice counts every visit twice.

After saving, open your own site in a private browser window, then check the Realtime report in GA4. If you see yourself listed, tracking works.

Step 3: Verify Your Site in Search Console

  1. Open search.google.com/search-console and choose Add property.
  2. Pick the URL prefix option and enter your full site address.
  3. Choose the HTML tag method. Google shows a short meta tag.
  4. Paste the verification code into the site connections area of your SEO plugin, or into your header code, then click Verify in Search Console.

Step 4: Submit Your Sitemap

A sitemap is a list of your pages that helps Google discover them. Most SEO plugins create one automatically. With Yoast SEO, the address is usually your site address followed by /sitemap_index.xml. In Search Console, open Sitemaps, paste that ending into the box and press Submit. The status should change to Success after a short time.

Step 5: Link the Two Tools

In GA4, open Admin, find Product links and choose Search Console links. Select your Search Console property and finish the steps. This lets you see search queries next to behavior data inside Analytics.

Reports Worth Checking Each Week

  • GA4 traffic acquisition: shows which channels bring visitors.
  • GA4 pages and screens: shows your most viewed pages, so you know what to improve or expand.
  • Search Console performance: lists queries and pages with clicks, impressions, click-through rate and average position.
  • Search Console pages report: explains why some pages are not indexed. Fix real errors first; not every excluded page is a problem.

Common Mistakes to Avoid

  • Expecting instant data. New properties can take a day or two before the standard reports fill in.
  • Counting your own visits. If you work on the site daily, your activity can distort a small site’s numbers.
  • Checking numbers every hour. Look at weekly and monthly trends instead of daily noise.
  • Ignoring Search Console emails. It warns you about serious problems, so keep notifications on.

Frequently Asked Questions

Are these tools free?

Yes. Both Google Analytics and Search Console are free for normal website use.

Do I need both?

They answer different questions, so using both gives a much clearer picture than either alone.

Will this slow my site down?

The tracking script is small, but every script adds some weight. Install it once, and test your speed afterwards.

Final Thoughts

You do not need to become a data analyst. Set both tools up once, check a few reports each week, and use what you learn to decide which pages to improve and what to write next. Small, regular decisions based on real visitor data usually beat guesswork.

Published by AZMIR ZONEAZMIR ZONE is an independent fashion store and technology blog based in Bangladesh. Our articles are prepared with the help of AI writing tools and published by our team. We aim to keep them accurate and useful. Found a mistake? Tell us on the Contact Us page and we will correct it.

Leave a Comment

Your email address will not be published. Required fields are marked *

Shopping Cart
Scroll to Top