How to Use Google Analytics 4 on Your Website, Step by Step

Como Usar o Google Analytics 4: Guia para Iniciantes

To use Google Analytics 4, create a property at analytics.google.com, install the tag on your website, mark the actions that bring you customers (forms, calls, purchases) as key events and check three reports every week: traffic acquisition, pages and key events. Installation takes an afternoon. The value lies in properly configuring what counts as a result and reading a few reports regularly, instead of getting lost in dozens of them.

Quick Answer

How to use Google Analytics 4: install it on your site, set up key events, read the right reports and comply with GDPR. Step by step, without jargon.

Table of Contents(8 sections)
  1. Why use Google Analytics?
  2. How much does Google Analytics cost?
  3. How do I use Google Analytics on my website, step by step?
  4. How do you use Google Analytics 4 day to day?
  5. How do you use Google Analytics for Instagram?
  6. Is Google Analytics 4 GDPR compliant?
  7. Common mistakes when using Google Analytics
  8. Frequently Asked Questions

This guide is for business owners and marketing managers who want to understand where their website enquiries come from, without needing to be specialists. For monthly reports prepared by us and linked to sales, see the analytics and reporting page.

Why use Google Analytics?

Because it is the simplest, free way to know how many people visit your website, where they come from and what they do before contacting you. Without this data, decisions about where to invest in marketing are based on impressions.

With GA4 properly configured you can answer concrete questions: do quote requests come from Google, social media or ads? Which pages lead people to get in touch? Did last month’s campaign bring visits that did something, or just clicks?

GA4 does not replace Google Search Console, which shows the searches for which your website appears on Google and its average position. The two complement each other: Search Console tells you how people arrive from search, Analytics tells you what they do once they are on the site.

How much does Google Analytics cost?

Google Analytics 4 is free, and the free version is enough for most small and medium-sized businesses. There is a paid version, Google Analytics 360, designed for large organisations with very high data volumes and specific support needs. The real cost of the free version lies in the time spent on setup and analysis, or in the professional who does it for you.

How do I use Google Analytics on my website, step by step?

Installation has six steps and requires no programming knowledge, especially on WordPress.

  1. Create the account and the property. At analytics.google.com, sign in with a company Google account (not an employee’s personal one) and create a property. Choose the Portugal time zone and the euro as currency.
  2. Create a Web data stream. Enter the website address. GA4 generates a measurement ID beginning with “G-“.
  3. Install the tag on the website. On WordPress, the Site Kit by Google plugin makes the connection without touching any code. Alternatively, you can use Google Tag Manager or paste the code into the theme header, preferably in a child theme so it is not lost during updates.
  4. Check that it works. Open the website in another tab and look at the Realtime report: your visit should appear within a few minutes.
  5. Check enhanced measurement. In the data stream, enhanced measurement automatically records page views, scrolls, outbound clicks, file downloads and site searches.
  6. Link Search Console and Google Ads. In Admin, under product links, connect the two accounts to see the data together.

Two adjustments that hardly anyone makes and that are worth making straight away: exclude internal traffic (visits from the company itself) by defining the office IP address, and increase event data retention from two to fourteen months in the data collection settings. This lets you compare longer periods in custom explorations.

How to set up key events

Key events, which GA4 previously called conversions, are the actions that represent results for the business. Without them, Analytics shows visits but not customers. The most useful for an SME:

  • Submission of the contact or quote request form, ideally measured by the thank-you page.
  • Click on the phone number (tel: links).
  • Click on the WhatsApp button or the email address.
  • Completed purchase, in an online shop, with the order value.
  • Appointment or booking request.

In the Events section of Admin, you can create events from other events (for example, a view of the “thank you” page) and mark them as key events with one click. Phone and WhatsApp clicks normally require setup in Google Tag Manager.

How do you use Google Analytics 4 day to day?

Use a few reports, always the same ones, and compare equivalent periods. These are the ones that answer the questions that matter:

  • Traffic acquisition (Reports, Acquisition): sessions and key events by channel, such as organic search, direct, social, referral and paid search. It shows which channels bring enquiries, not just visits.
  • Pages and screens (Reports, Engagement): the most viewed pages and engagement time. Compare them with the pages that generate key events.
  • Key events: how many enquiries there were, of what type and on which days.
  • Landing page: where people enter the website. Useful for understanding which content attracts traffic from Google.

A simple routine: once a week, five minutes to check for abnormal drops or spikes; once a month, compare with the previous month and with the same month last year, because many businesses are strongly seasonal.

Which metrics matter and which to ignore

What matters is key events by channel, the key event rate and the trend in sessions from organic search. The engagement rate helps you see whether visits are relevant: in GA4, an engaged session is one that lasts more than ten seconds, views more than one page or generates a key event. The bounce rate still exists, but it is simply the inverse of the engagement rate.

Give little weight to the total number of users on its own, to average time on contact pages and to city data, which in GA4 is approximate. To translate these numbers into return, use the digital marketing ROI calculator.

How do you use Google Analytics for Instagram?

Google Analytics does not measure what happens inside Instagram; it measures the visits that reach your website from Instagram and what those people do. Likes, reach and followers are checked in the platform’s own insights.

The usual problem is that part of Instagram traffic arrives without clear identification, because it opens in the app’s in-app browser, and shows up as referral or even direct traffic. The solution is UTM parameters: add tags such as utm_source=instagram, utm_medium=social and utm_campaign with the campaign name to the link in your bio, stories and ads. Google has a free campaign URL builder for this.

The same applies to Facebook, LinkedIn, newsletters and QR codes on printed materials: anything that brings people to the website should carry UTMs. It is a rule we apply in social media management. For paid campaigns on Meta, our Meta Ads page explains how we bring the data from both platforms together.

Is Google Analytics 4 GDPR compliant?

It can be used in compliance, but it is not automatic: it depends on configuration and consent. GA4 uses analytics cookies, and in Portugal these cookies require the visitor’s prior consent through a banner that makes refusing as easy as accepting.

  • Install a cookie banner that blocks Analytics until consent is given, or that uses Google’s Consent Mode to adjust data collection to the visitor’s choice.
  • Mention Google Analytics in your privacy and cookie policy.
  • Review the data sharing settings with Google and switch off the ones you do not use.
  • Never send personal data, such as emails or names, to Analytics through URLs or events.

GA4 does not log or store full IP addresses, which addresses one of the criticisms of the previous version. Even so, the transfer of data outside the European Union has been the subject of decisions by European data protection authorities, and it is worth following the guidance of the CNPD (Portugal’s data protection authority). One practical consequence of consent: with refusals in the banner, GA4 shows fewer visits than there really are, and the numbers should be read as a trend.

Common mistakes when using Google Analytics

  • Installing the tag twice (through the theme and a plugin), which doubles the visits.
  • Creating the account with the personal email of an employee or an agency, and losing access when that person leaves. The account should be in the company’s name.
  • Not setting up key events and judging marketing solely by the number of visits.
  • Using links without UTMs in email and social media campaigns.
  • Comparing periods with different public holidays or seasonality.

If the problem is not measuring but getting visits, the path starts with SEO and well-measured Google Ads campaigns.

Have Google Analytics installed but do not know where your enquiries come from? We set up key events, consent and a simple report that shows what brings in customers.

Request a Proposal

Frequently Asked Questions

Is Google Analytics 4 free?

Yes. The standard version is free and sufficient for the vast majority of small and medium-sized businesses. The paid version, Analytics 360, is aimed at large organisations with much larger data volumes and support needs.

Do I need technical knowledge to install GA4?

For the basic installation, no, especially on WordPress with the Site Kit plugin. To measure phone and WhatsApp clicks, purchases in an online shop or forms without a thank-you page, you normally need to configure Google Tag Manager, which requires some experience.

What is the difference between Google Analytics and Search Console?

Search Console shows how your website appears in Google search: queries, impressions, clicks and average position. Google Analytics shows what visitors do on the website, wherever they come from. For SEO, you need both, linked together.

Why does GA4 show fewer visits than expected?

The most common causes are visitors who refuse cookies in the consent banner, ad blockers and an incomplete installation on some pages. GA4 figures should be read as a trend and compared over time, not as an exact count.

What happened to the bounce rate?

It still exists in GA4, but it has been redefined as the percentage of sessions that were not engaged. The main metric is now the engagement rate, which counts sessions lasting more than ten seconds, with more than one page viewed or with a key event.

Can I see my Instagram results in Analytics?

You can see the visits that reach your website from Instagram and what those people do, especially if you use UTM parameters in your links. The network’s internal metrics, such as reach and followers, are checked in Instagram’s own insights.

Related Articles

More SEO and digital marketing content you might find interesting.

Best Web Hosting in Portugal: Complete Guide and Comparison Alojamento Web
Oct 31, 2026

Best Web Hosting in Portugal: Complete Guide and Comparison

Complete guide comparing the best web hosting providers in Portugal: Hostinger, PTisp, SiteGround and more. Pricing, performance, support and recommendations...

Read article
Canonical Tag: O Que É, Para Que Serve e Como Implementar [2026] Guias SEO
Oct 19, 2026

Canonical Tag: What It Is, Purpose, and How to Implement

The canonical tag is one of the most important and least understood elements of technical SEO. Correct implementation of canonical...

Read article
Quanto Custa uma Loja Online em Portugal Guias SEO
Oct 19, 2026

How Much Does an Online Store Cost in Portugal? [Full Breakdown]

Creating an online store in Portugal costs between €500 (DIY basic) and €15.000+ (professional custom shouldlopment), with monthly ongoing costs...

Read article
SEO ou Google Ads: Qual Escolher para Resultados Rápidos? Guias SEO
Oct 19, 2026

SEO or Google Ads: Which Should You Choose for Your Business?

SEO vs Google Ads — one of the most important marketing decisions for businesses with limited budgets. The right answer...

Read article
Gráfico de crescimento do tráfego orgânico Guias SEO
Nov 27, 2026

Organic Traffic: What It Is and How to Increase Visits from Google

Organic traffic is the visits that reach your website from the unpaid results of search engines, mainly Google. Someone searches...

Read article
Redes sociais para stands de automóveis Guias SEO
Oct 19, 2026

Social Media for Car Dealerships: What to Post and Where

For most car dealerships in Portugal, Facebook and Instagram are enough: Facebook for its reach among local buyers and its...

Read article
Alojamento web para pequenos negócios Alojamento Web
Oct 31, 2026

What is Hosting? Complete Beginners Guide

What is hosting? Yesple guide: how it works, types (shared, VPS, cloud, dedicated), pricing and how to choose. For beginners.

Read article
Ai Seo Estrategia Guias SEO
Oct 19, 2026

How to Build an AI SEO Strategy That Survives Algorithm Changes

AI SEO strategy faces unique challenge: AI engines (ChatGPT, Perplexity, Google AI) update continuously, not just quarterly like Google’s traditional...

Read article
Como Começar Marketing Digital do Zero Guias SEO
Oct 19, 2026

How to Start Digital Marketing from Zero

Starting digital marketing from zero can feel overwhelming — hundreds of channels, tools, and strategies to choose from. This practical...

Read article
Google Ads vs SEO - estratégias de marketing digital Guias SEO
Oct 19, 2026

Google Ads vs SEO: Which Should Portuguese Businesses Choose?

Google Ads vs SEO is one of the most important marketing budget decisions for Portuguese businesses. Both deliver traffic and...

Read article
Google Ads: Novas Orientações de Assets e Agendamento Guias SEO
Oct 19, 2026

Google Ads New Guidelines for Assets and Scheduling

Google Ads published updated guidelines in early 2026 covering ad assets (sitelinks, callouts, images, videos) and ad scheduling optimization. These...

Read article
Google Ads para concessionários - publicidade digital Guias SEO
Oct 19, 2026

Google Ads for Car Dealers: Complete Portuguese Guide

Google Ads for Portuguese car dealers is highest-intent paid channel — buyers searching for specific vehicles are ready to buy....

Read article
View All Articles