What Is Google Analytics 4?
Google Analytics 4 (GA4 for short) is the free analytics tool Google offers for measuring website and app traffic. It shows you how many people visit your site, where they come from, which pages they view, how long they stay and which actions (filling out a form, making a purchase, etc.) they take. Since the older version, Universal Analytics, has been completely shut down, all sites now have to use GA4.
GA4 measures visitor behaviour on an "event" basis and offers AI-powered predictions. The most reliable way to understand whether your SEO and marketing efforts are actually working is to track this data regularly.
Step 1: Create a Google Analytics Account
Go to analytics.google.com and sign in with your Google account. If you are using it for the first time, click the "Start measuring" button.
- Enter an account name (usually the name of your company or site).
- Review the data sharing settings and continue.
Step 2: Create a Property
- Enter a property name (for example "Your Site Web").
- Set the time zone to Turkey and the currency to TRY; this ensures your reports come in the correct time and currency.
- Enter your business details (industry, size) and select your goals.
Step 3: Set Up a Data Stream
After creating the property, Google asks you to add a data stream. Choose the "Web" option, enter your site's address (https://www.yoursite.com) and a stream name. When you click Create, Google gives you a Measurement ID starting with G- (for example G-XXXXXXXXXX). Note this ID down somewhere; we will connect this code to the site.
Step 4: Add GA4 to WordPress
There are several ways to connect GA4 to your site. Let's start with the easiest:
Method 1: With a Plugin (Recommended)
The "Site Kit by Google" plugin is the most practical route. Install and activate it from Plugins > Add New in the WordPress panel. The plugin guides you to connect to your Google account; with a few confirmation steps it connects both Analytics and Search Console from a single panel. You don't even need to enter the measurement ID manually.
Alternatively, with plugins like "GA Google Analytics" or "MonsterInsights" you can also connect quickly by entering the measurement ID.
Method 2: With an SEO Plugin
Some SEO plugins like Rank Math offer a GA4 connection from their "Analytics" section. This is handy for those who want to manage both SEO and analytics from a single panel.
Method 3: Adding the Code Manually
If you don't want to use a plugin, you can add the tag code GA4 provides inside the <head> tag in your theme's header.php file. However, to keep the code from being deleted during theme updates, it is recommended to use a child theme or add it with a plugin like "Insert Headers and Footers".
The code to be added manually looks like this (write your own measurement ID in place of G-XXXXXXXXXX):
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XXXXXXXXXX');
</script>
Step 5: Verify the Setup
After adding the code, check whether it is working. In the GA4 panel, go to Reports > Realtime and open your site in another tab at the same time. If you see yourself as a "realtime" active user, the setup is successful. It may take 24-48 hours for the data to appear in the full reports.
Key Metrics You Should Track in GA4
Setting up GA4 is only the beginning; the real value comes from tracking the right metrics. The most important metrics for beginners are: Active users (the number of unique people who visit your site), Sessions (the total number of visits), Engagement rate (the proportion of visits with meaningful interaction — a more advanced version of the old "bounce rate"), Average engagement time and Traffic sources (whether visitors came from organic search, social media or directly). By monitoring these metrics regularly, you understand which content works and which channels bring you the most visitors.
Goal and Conversion Tracking
GA4's greatest strength is that it doesn't just count visitors but also measures important actions ("conversions"). You can mark valuable actions for your business — such as a form submission, a phone tap, a purchase or reaching a specific page — as a "key event". This way you see not just how many people came, but how many actually turned into customers. Setting up conversion tracking is the only reliable way to understand whether your marketing budget is truly delivering results, and it proves the commercial value of your SEO efforts.
Privacy, KVKK and Cookie Management
Because you collect visitor data, you also have legal responsibilities. In Turkey, under the KVKK (Personal Data Protection Law) — and under the GDPR if you have international visitors — you must publish a privacy policy explaining which data you collect and why. You are also expected to add a cookie notice bar to your site that asks whether the visitor consents to analytics cookies; you can use free plugins like "Complianz" or "CookieYes" for this, and you can even configure GA4 to run only after consent is given. Using data anonymously and in aggregated reports, not sending personal information (name, email) to Analytics, and publishing all required legal texts in full both keep you compliant with the law and protect visitor trust.
Frequently Asked Questions (FAQ)
Is GA4 free?
Yes. Google Analytics 4 is completely free for standard use and more than sufficient for small to medium-sized sites.
Are Universal Analytics and GA4 the same?
No. Universal Analytics has been completely shut down. GA4 is the next-generation version that measures visitor behaviour on an event basis rather than by session, and it is now mandatory.
When will I start seeing data?
You appear instantly in the Realtime report; however, it usually takes 24-48 hours for data to be reflected in the full reports.
Conclusion
Setting up GA4 is the first step toward seeing what your site actually does through data. Open your account, create the property and data stream, connect the measurement ID to your site the easiest way (for example with the Site Kit plugin) and verify it with the realtime report. The real gain comes from making your decisions based on data by regularly tracking the right metrics and conversions after setup.