website maintenance

Add Google Analytics 4 to your website in ten minutes

Add Google Analytics 4 to your website: create the property, install the Measurement ID once, confirm it in Realtime, and know which reports to read first.

Somebody asked how many people visit your site, and you do not know. Maybe you never set up analytics. Maybe an agency or a former employee did, and nobody can find the login. Either way, you want to add Google Analytics 4 to website pages without breaking anything, without a privacy mistake, and with proof that it works. The setup is shorter than it looks: check for an existing property, create a Web data stream if you need one, copy the Measurement ID, install it once through your website platform, and watch your own visit appear in the Realtime report. This post gives you that path in order, the install route for WordPress.com, Wix, Squarespace and Shopify, the consent basics, and the three reports worth opening first. It also tells you when a simple site does not need outside help, and when it does.

Key Takeaways

Check before you create

Look for an existing property under the right Google account first, then create a property and a Web data stream only if none fits.

Install the ID once, then prove it

Paste the Measurement ID into your platform's own integration one time, visit your site, and confirm the visit in Reports > Realtime.

Consent is a separate job

Consent Mode passes a visitor's choice to Google tags. It is not a cookie banner, and whether you need a banner depends on the law where your visitors are.

The ten-minute check starts with what you already have

Before you create anything, find out whether Google Analytics already exists for your business. A first pass here keeps you from creating a second property or installing a second tag. Sign in at analytics.google.com with the Google account the business would have used, and open the property selector. If you manage more than one Google account, try each one.

The ten-minute check
MinutesWhat to doWhat you are looking for
1 to 3Sign in at analytics.google.com and open the property selector. In Admin, open Data streams.A property for your business and a Web stream for your correct domain
3 to 6Copy the Measurement ID and open your website platform's official integration.The same ID installed once, not through several plugins, settings or code snippets
6 to 10Open your site in a private or separate browser window, visit two pages, then open Reports > Realtime.Your visit, a page_view and the current page
Minutes1 to 3
What to doSign in at analytics.google.com and open the property selector. In Admin, open Data streams.
What you are looking forA property for your business and a Web stream for your correct domain
Minutes3 to 6
What to doCopy the Measurement ID and open your website platform's official integration.
What you are looking forThe same ID installed once, not through several plugins, settings or code snippets
Minutes6 to 10
What to doOpen your site in a private or separate browser window, visit two pages, then open Reports > Realtime.
What you are looking forYour visit, a page_view and the current page

If a property and a Web stream for your domain already exist, use them. Google recommends one property and one Web stream for a business with one website, according to its account structure guidance. If the only property you can find belongs to someone you cannot reach, you can still create a new one under your own account and install that ID instead. Just make sure your own login owns it.

Create one property and one Web data stream if none exists

If nothing usable turned up, create it. Google's setup instructions run in this order. Sign in at analytics.google.com, create or select the correct Analytics account, then choose Admin and Create property. Enter the property name, reporting time zone, currency, industry category, business size and intended use. Accept the Analytics Terms of Service and the Data Processing Amendment when prompted.

Then choose Web, enter your website URL and a stream name, and create the Web data stream. The stream gives you a Measurement ID, which normally begins with G-. That ID is what you will paste into your website platform. Copy it from the stream details, and check the domain next to it before you leave the page.

Creating the property does not start tracking anything. Your website has to send data through that stream, either with the Google tag or through a platform integration. A Measurement ID sitting in your account proves nothing until a visit shows up in Realtime.

A closed laptop beside a small stack of blank index cards and a pencil on a worn wooden desk.
Have the account, the domain and the Measurement ID in front of you before you touch the website.

Install the Measurement ID once, through your platform's own integration

Your platform decides where the ID goes. Menu names change from time to time, so treat the paths below as a map and confirm each label in your own dashboard. Whichever route you use, use only one. Installing the same ID through a plugin, a platform setting and a code snippet at once can count one visit more than once.

WordPress

WordPress.com has a field for it. Go to Jetpack and open Traffic, or Jetpack, then Settings, then Traffic, and paste the Measurement ID into the Google Analytics field. The WordPress.com support page walks through it. A self-hosted WordPress.org site works differently: it needs a supported integration, a plugin, Site Kit, Google Tag Manager or code placed in the site, depending on how the site is built. Pick one of those and stay with it.

Wix

In Wix, open Marketing Integrations, choose Google Tag, and add your Google Tag ID by pasting the Measurement ID. Wix requires a Premium site and a connected domain for this, as its help article explains. If you are on a free plan or still on a Wix subdomain, expect to upgrade or connect your domain first.

Squarespace

In Squarespace, go to Settings, then Developer Tools, then External API Keys, or use the current Google Analytics integration area, and enter the G- Measurement ID. Squarespace's connection guide covers the built-in integration. Squarespace does not troubleshoot a custom Tag Manager setup, so if you have one, the help route is your own tag work.

Shopify

In Shopify, install or open the Google & YouTube sales channel, choose Google Analytics setup, and connect an existing GA4 property or create one. Shopify's setup page says ecommerce events are collected automatically after setup, subject to your store settings and consent. That is different from form submissions or phone clicks on a service site, which you will want to mark yourself.

Once the ID is saved, publish or save the change, then move straight to the test. Do not install it a second way "just in case."

A pair of small brass keys on a plain wooden table beside a single closed padlock.
Account access is the part owners lose first. Make sure your own login owns the property.

A simple site does not need Tag Manager or a paid tool

Google Tag Manager is useful when you have many tags or a complicated setup. It is not a requirement for GA4. The documented Wix, Squarespace, WordPress.com and Shopify integrations connect GA4 without Tag Manager and without a separate paid analytics tool.

For a small business, one verified install and a few meaningful actions tracked will do more for you than a pile of tags nobody has tested. So, if your site is simple and the official integration saved without an error, you can do this yourself. You do not need to hire anyone to paste a Measurement ID into a settings field.

Realtime shows your own visit when the install is correct

Realtime is the first proof that data is arriving. Open your website in a private or separate browser window, visit two pages and click something ordinary, such as a menu link. In GA4, open Reports and then Realtime, and look for your visit, a page_view and the current page. If you see them, the install is receiving data.

Realtime confirms that data is arriving. It does not confirm that every page, form and button is set up well. Visit a few different pages, including one that uses a different template from your home page, so a partial install does not slip through.

If Realtime stays empty, work through this list in order before you read any report:

  • You are signed in to the wrong Google account or looking at the wrong property.
  • The property exists but no Web stream was created for your domain.
  • The Measurement ID was copied incorrectly or entered for the wrong domain.
  • The tag was never added, or was added to only some templates.
  • The same tag was installed twice through a plugin, platform setting or Tag Manager.
  • A consent setting is blocking the tag, or your own browser or an extension is blocking your test.
  • Your platform needs a paid plan, a connected domain or a particular sales channel for the integration to work.

That order is a practical troubleshooting order, not a ranking of what goes wrong most often. If you hit a zero and want a longer diagnosis, our post on Google Analytics showing zero or wrong visitors goes through the failures one at a time.

A single desk lamp switched off beside an open empty notebook and a pencil on a plain surface.
An empty Realtime report is a prompt to check the account, the ID and the install, in that order.

Consent Mode is easy to misread, because the name sounds like it handles consent for you. It does not. According to Google's Consent Mode documentation, Consent Mode communicates a visitor's choices to Google tags and lets those tags adjust their behavior. The main consent types are analytics_storage, ad_storage, ad_user_data and ad_personalization, listed on Google's consent types page.

There are two modes. Basic Consent Mode blocks Google tags until the visitor interacts with the banner. Advanced Consent Mode loads tags with denied defaults and can send cookieless pings while consent is denied. In both cases, a banner or other consent tool has to collect the choice. Consent Mode is not a cookie banner, not legal advice and not a blanket exemption from consent.

Whether you need a banner depends on applicable law, where your visitors are, which cookies you use, what you use them for and your consent basis. Google's EEA policy requires consent signals for applicable measurement, advertising and personalization uses. The UK Information Commissioner's Office publishes its own guidance on cookies and similar technologies. If you serve visitors in the UK, the EEA, Switzerland or another regulated place, ask a privacy professional before you finalize your banner and tag settings. For a US-only audience, our post on whether US small businesses need a cookie banner is the place to start.

One more effect to expect: GA4 will not show every visitor or every action. Visitors who decline analytics storage, browsers that restrict tracking, blocked tags and an incomplete install all leave gaps. Read your numbers as a good estimate of activity, not a perfect count.

Three reports and one or two key events are enough to start

Once Realtime works, resist the urge to open every report. Three of them answer the questions a small business actually has: are visits arriving, where do they come from, and which pages hold attention.

Your first three reports
ReportWhere it helpsWhat to remember
RealtimeConfirms the install is receiving visitsIt proves data arrives, not that the whole setup is right
Traffic acquisitionShows sessions by source, medium and campaignIt counts sessions, not new users
Landing pages (or Pages and screens)Shows which pages people arrive on and engage withKey events you mark appear here
ReportRealtime
Where it helpsConfirms the install is receiving visits
What to rememberIt proves data arrives, not that the whole setup is right
ReportTraffic acquisition
Where it helpsShows sessions by source, medium and campaign
What to rememberIt counts sessions, not new users
ReportLanding pages (or Pages and screens)
Where it helpsShows which pages people arrive on and engage with
What to rememberKey events you mark appear here

Google separates Traffic acquisition, which is session-scoped, from User acquisition, which is new-user-scoped, as its acquisition report help describes. Do not compare the two totals as though they count the same thing. They will differ. The same is true when you compare GA4 with Shopify, Squarespace, WordPress statistics or an ad platform. Each counts in its own way, with its own scope, consent rules and processing delay.

Next, pick the one or two actions that matter most to your business, such as a completed contact form, a click on your phone number, a booking request or a purchase, and mark them as key events. In GA4 these are called key events, the current name for what used to be called conversions. Google Ads still uses the word conversion in its own interface, so you may see both. Key events then show up in reports such as Landing pages and User acquisition, so you can see which pages and sources lead to the action you care about.

Marking a form submission or a phone click usually takes extra setup beyond pasting the ID. If your platform does not collect these actions automatically, plan a small job to define the event, test it and mark it. Installing GA4 on its own will not raise your traffic, rankings or sales. What it gives you is a way to see what is happening so you can make decisions.

A small paper bag of loose coins beside a blank receipt pad on a worn counter.
Track the action that earns money, such as a form, a call or a booking, before any other number.

You can create a GA4 property and confirm basic data yourself. Paying someone makes sense when the problem is bigger than the first paste of a Measurement ID. These are the situations where a specialist earns the fee:

  • You have lost access, or you do not know who owns the property.
  • You inherited a setup with duplicate or half-installed tags.
  • You serve visitors in more than one jurisdiction and need consent configured to match.
  • You run custom WordPress templates or more than one domain.
  • You need reliable form, phone or booking tracking.
  • You run ecommerce with checkout and payment domains to validate.
  • You want the whole setup documented, tested and maintained.

In those cases, the value is diagnosis, careful implementation, privacy coordination and testing, not the mere existence of a property. If your site is simple and the official integration works, do it yourself and spend the money elsewhere.

Is your GA4 setup working?

Pick an answer to begin.

1. You created a GA4 property and copied the Measurement ID. What does that prove?

2. What does Consent Mode do?

3. GA4 and Shopify show different visitor totals. What should you do?

Frequently Asked Questions About add google analytics 4 to website

Do I need a new GA4 property?

Not necessarily. Check the property selector under the correct Google account first. If a property for your business exists and has a Web stream for your domain, use it.

What is a GA4 Measurement ID?

It identifies your Web data stream and normally begins with G-. You enter it into your website platform's Analytics or Google tag integration.

How do I know GA4 is working?

Visit your website in a separate browser window, then open Reports and Realtime in GA4 and look for your activity. If it does not appear, check the account, the ID, duplicate tags and your consent settings.

Do I need Google Tag Manager?

No. A built-in platform integration may be enough. Tag Manager helps with more complex tag and event setups.

Does Consent Mode create a cookie banner?

No. It passes the choices from a banner or other consent tool to Google tags. Whether you need a banner depends on the law that applies to your visitors.

What should I track first?

Start with the actions that matter to your business, such as contact forms, phone clicks, bookings, purchases or quote requests, and mark them as key events.

Final Thoughts

Adding Google Analytics 4 comes down to five moves: find or create the right property, create a Web data stream, copy the Measurement ID, install it once through your platform, and confirm your own visit in Realtime. Consent is a separate decision that depends on where your visitors are, and Consent Mode does not replace a banner. Start with Realtime, Traffic acquisition and Landing pages, and mark one or two real actions as key events.

Once that works, you have a record you control. Next month, when someone asks what your website is doing, you can open a report instead of guessing, and you can tell whether a change you made had any effect on the actions you care about.

If you would rather hand it off, Web Leveling can sort out lost access, remove duplicate tags, set up form and phone tracking, and test the result as part of our website maintenance work. If your site is simple and the built-in integration works, we will tell you to keep it yourself. We work with small and medium businesses across the country and overseas. Tell us what your analytics looks like today, and we will help you get a clean install you own.

Terms

GA4 words in this post

Tap a term to see what it means.

GA4. Google Analytics 4, the current version of Google's website analytics.

Property. The container in Google Analytics that holds the data for one website or app.

Web data stream. The connection that sends data from your website to a GA4 property and supplies the Measurement ID.

Measurement ID. The code for a Web data stream, normally beginning with G-, that you enter into your website platform.

Realtime report. A GA4 report that shows activity as it happens, used to confirm an install.

Key event. An action you mark as important in GA4, such as a form submission or a purchase.

Consent Mode. A Google feature that passes a visitor's consent choices to Google tags so they can adjust behavior.