Webloped blog · 11 min read
How to set up Google Analytics for my website
You cannot improve what you cannot see. This guide walks through how to set up Google Analytics (GA4) on a small business website in under an hour: create the property, install the tag, verify it works, track the enquiries that matter, and connect Search Console. Free, practical, no jargon.
The short answer
How to set up Google Analytics for my website? Create a free GA4 property in a Google account your business controls, add the Google tag to your site (a plugin, a built-in integration, or a short snippet pasted into the page head), and confirm visitors show up in the Realtime report. Then mark your important actions, like contact form submissions and phone number clicks, as key events, and connect Google Search Console so you can also see which search terms bring you visitors.
The technical part takes 20 to 40 minutes and costs nothing. The payoff is that you stop guessing: you will know which pages people actually read, where your enquiries come from, and whether your marketing spend is doing anything. That is the whole reason to do it. Everything below is the step-by-step detail.
What Google Analytics actually tells a small business
Most small business owners make marketing decisions on feeling. "The website seems fine." "Instagram feels like it is working." "We should probably run some ads." Google Analytics replaces feelings with three facts that actually matter:
- Where your visitors come from. Google search, social media, direct visits, referrals from other sites. If 70% of your traffic comes from Google and 5% from Instagram, that tells you exactly where your next marketing dollar goes.
- What visitors do. Which pages they read, how long they stay, where they leave. If your pricing page gets the most traffic but nobody reaches the contact page, you do not have a traffic problem, you have a copy problem.
- Whether enquiries are happening. This is the big one. Raw visitor counts are vanity; contact form submissions and phone calls are the number your business runs on. Analytics lets you track those actions directly.
This also settles a question our clients ask constantly: is the money we spend on ads or SEO doing anything? Without Analytics, a Google Ads campaign is a monthly charge and a hope. With Analytics, it is a number: 14 quote requests from ads this month at a cost of $48 each. That turns marketing from an expense into a calculation.
One important note: GA4, not Universal Analytics
If you have ever set up Analytics before, or you are following an older tutorial, you may see references to "Universal Analytics" and tracking codes that look like UA-12345678-1. That product is gone. Google shut down Universal Analytics in July 2023, and the replacement, Google Analytics 4 (GA4), is the only version that exists now.
GA4 works differently in one way worth knowing: instead of counting pageviews and sessions as the core idea, it counts events. A page view is an event. A scroll is an event. A form submission is an event. This is actually better for small businesses, because it means tracking a quote request is a first-class feature, not a hack. GA4 measurement IDs look like G-XXXXXXXXXX (a G followed by ten characters). If a tutorial tells you to paste a UA- code, close the tutorial; it is out of date.
Before you start: two ownership rules
Do these first. They take two minutes and they prevent a very common, very annoying problem.
Rule 1: use a Google account your business controls. Not your web developer's account, not your nephew's account, not the agency's account. Create the Analytics property in a Google account owned by the business (for example, your Google Business Profile login). If you ever change developers or agencies, your years of historical data walk away with whoever owns the account. Developers can be granted access without owning the property.
Rule 2: you need access to edit your website. You will be installing a tag. That means admin access to WordPress, Shopify, Wix, or Squarespace, or the ability to edit your site's HTML. If someone else manages your site, ask them for access or ask them to install the tag from step 3, which takes about five minutes.
Step 1: Create your GA4 property
Go to analytics.google.com and sign in with your business Google account. Click Admin (the gear icon, bottom left), then Create, then Property.
- Property details: name it after your business and website (for example, "Smith Plumbing - smithplumbing.ca"). Set the reporting time zone to your own, such as America/Toronto, and the currency to CAD. Getting the time zone right matters: your daily and weekly reports follow it.
- Business details: pick your industry and business size. These answers only shape the default reports and benchmarks Google shows you; there is no wrong answer.
- Business objectives: for most small businesses, choose "Generate leads" or "Drive online sales." This pre-configures the key reports you will actually use.
Then add a data stream: choose Web, enter your website URL (including https://), and give the stream a name. Google will generate your Measurement ID, which looks like G-1A2B3C4D5E. Copy it somewhere safe, like a business password manager or a document you keep for website logins. You will need it in the next step.
Step 2: Install the Google tag on your site
The Google tag is a small piece of code that loads Analytics on every page. There are two ways to install it: a platform integration (easier, no code) or a manual snippet (works everywhere). Pick one method per site. Installing two at once double-counts every visitor, which is the single most common Analytics mistake.
WordPress
The easiest reliable method is the official Site Kit by Google plugin: install it, activate it, sign in with your business Google account, and connect Analytics. Site Kit reads your existing property, so there is nothing to paste. If you prefer a lighter plugin, GA Google Analytics (by Jeff Starr) lets you paste just the Measurement ID into the settings page.
If your theme already has a "header scripts" field and you paste the tag there manually, do not also install a plugin. One method only.
Shopify
Install the Google & YouTube app from the Shopify App Store, sign in with your business Google account, and connect your GA4 property. The app installs the tag across your store, including checkout pages, which a manual snippet cannot reach. This is the one platform where the app route is clearly better than manual installation.
Wix and Squarespace
Both have a dedicated field for this. In Wix, go to Marketing & SEO, then Marketing Integrations, then connect Google Analytics and paste your Measurement ID. In Squarespace, go to Settings, then Developer Tools (or External API Keys on some plans), and enter the ID in the Google Analytics field. Save and publish. No code, no plugins.
Custom or hand-coded websites
Google gives you the full tag snippet in the property setup under Data Streams, then "View tag instructions," then "Install manually." It looks like this (with your own ID in place of G-XXXXXXXXXX):
<!-- Google tag (gtag.js) -->
<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>
Paste it immediately after the opening <head> tag on every page of your site. On most hand-coded sites that means pasting it once into the shared header template. Save, upload, done.
Step 3: Verify it is working
Go back to Analytics, open Reports, then Realtime. In a different browser window (or on your phone), visit your website and click around a few pages. Within a minute, the Realtime report should show at least one active user: you.
If nothing appears after five to ten minutes, run through this checklist:
- Did you install it twice? A plugin plus a manual snippet means double counting and sometimes conflicting tags. Pick one and remove the other.
- Is the tag on every page? Test a few different pages, not just the homepage. A tag pasted into one page's template only measures that page.
- Is the Measurement ID right? One mistyped character breaks the whole thing. Compare the ID in your site's settings with the one in Admin, then Data Streams.
- Are you blocking yourself? Ad blockers and strict privacy browser settings block Analytics. Test in a normal browser window or your phone.
Also check Reports, then Engagement, then Events after a day or two. You should see page_view events plus automatically collected events like scroll, click (outbound links), and file_download. GA4 collects these with no extra setup, which is one of its genuine advantages over the old version.
Step 4: Track the actions that actually matter
Here is where most small businesses stop, and it is exactly where the value starts. Page views tell you people visited. What you need to know is whether they enquired, called, or bought. In GA4, these are key events (formerly called conversions).
Start by deciding what counts. For a typical small business website, a key event is one of these: a contact form submission, a quote request submission, a booking confirmation, a click on your phone number (tel: link), a click on your email address (mailto: link), or a completed purchase. Pick the one or two that equal money in your business and ignore the rest for now.
To set one up, go to Admin, then Events. You will see the events GA4 has already collected. Find the event that represents your key action (for example, form_submit if your contact form uses a standard form), and toggle Mark as key event. That is the entire setup for most sites. Your key events now appear in the Realtime report and in every acquisition report, so you can see not just that 40 people visited, but that 3 of them requested a quote, and which channel they came from.
If your form uses a third-party widget or your phone link is an image rather than a tel: link, the automatic events may not capture it cleanly. That is the point where a developer earns their fee: they can add a custom event for the exact button or form. This is usually a small job, not a project.
Step 5: Connect Google Search Console
Analytics shows you what happened on your site. Search Console shows you how people found it on Google: the exact search phrases, your average position for each, and how many clicked through. Together they answer the two halves of the question every business owner asks: are we being found, and is it turning into business?
The connection takes two minutes: in Analytics, go to Admin, then Product links, then Search Console links, and follow the prompts to link your Search Console property. If you do not have Search Console set up yet, our guide on getting your business on Google walks through it, along with the rest of the free setup every local business should do.
Once linked, you get a Search Console section inside Analytics reports showing queries and landing pages side by side with your key events. This is also the report to watch while you wait for SEO to work: our post on how long SEO takes explains the timeline, and this report is how you see the early signs before the phone starts ringing.
Your first month: three reports to check, everything else to ignore
GA4 has a lot of menus, and most of them are noise for a small business. Check these three once a month and ignore the rest:
- Reports, then Acquisition, then Traffic acquisition. This shows where visitors come from: Organic Search, Direct, Social, Referral, Paid Search. This is the report that tells you whether your Google presence, your Instagram, or your ads are doing the work.
- Reports, then Engagement, then Pages and screens. This shows which pages people actually read. If your services pages get the traffic and your contact page gets none of it, the fix is on the page, not in your marketing. Our guide on writing website copy that converts is the next step for exactly that problem.
- Your key events, in either report. Add the key event column and look at the same two reports again, this time counting enquiries instead of visitors. "120 visitors, 4 quote requests" is a business metric. "120 visitors" is a vanity metric.
Check monthly, not daily. Daily numbers bounce around for meaningless reasons and tempt you to react to noise. Monthly numbers show trends you can actually act on. Record the three numbers in a spreadsheet each month: visitors by channel, top pages, key events. After three months you have a baseline, and after six you can see whether any change you make, a copy rewrite, a new service page, an ad campaign, actually moved the needle.
Five mistakes that waste the whole setup
- Installing the tag twice. Plugin plus manual snippet, or a tag in both the theme and a tag manager. Every visitor counts twice, every conversion counts twice, and all your numbers are fiction. One installation method per site.
- Measuring the wrong number. Chasing total "users" is the classic trap. A thousand visitors and zero enquiries means the site is not working. Ten visitors and three quote requests means it is. Key events are the metric; everything else is context.
- Comparing against a period before the tag existed. If you installed Analytics in October, you have no September data to compare against. Baselines start the day the tag goes live. Give it a full month before drawing any conclusion.
- Filtering yourself out wrong, or not at all. If you and your staff visit the site daily, you are polluting your own data. In Admin, then Data Settings, then Data Filters, you can exclude your office IP address. For a one-person business working from a home office with a dynamic IP, this is less reliable, so just be aware your own visits are in the numbers.
- Looking for a bounce rate. GA4 does not have the classic bounce rate. It has engagement rate, which is roughly the opposite: the share of sessions that lasted more than 10 seconds, had a key event, or viewed more than one page. Do not try to translate old bounce-rate advice one-to-one.
The Canadian privacy note
Analytics collects data about your visitors, so it belongs in your privacy policy. Canada's federal privacy law, PIPEDA, expects businesses to be open about what data they collect and why, and Quebec's Law 25 adds consent requirements for businesses operating in Quebec. At minimum, your privacy policy should name Google Analytics as a tool you use and explain, in plain language, what it measures.
If you run a cookie consent banner, the clean setup is to load the Analytics tag only after the visitor accepts. Many consent banner tools have a Google Consent Mode integration that handles this automatically. This paragraph is not legal advice, and privacy rules have real penalties attached, so if you handle sensitive customer data or operate in Quebec, talk to a lawyer. For the policy itself, see our guide on whether your website needs a privacy policy in Canada.
Frequently asked questions
Is Google Analytics really free?
Yes. Google Analytics 4 is free for the standard version, and the standard version is more than enough for virtually every small business website. Google also sells a paid tier called Analytics 360, aimed at very large enterprises with huge traffic volumes. You will never need it. If an agency quote includes a line item for Analytics itself, question it.
How long does it take to set up Google Analytics?
About 20 to 40 minutes for the technical setup: creating the property, installing the tag, and verifying data in the Realtime report. Key events and the Search Console connection add another 15 to 20 minutes. The data itself needs a few weeks to become useful, because one afternoon of traffic tells you nothing. Judge the setup after a full month.
Can I set up Google Analytics without a developer?
Yes. WordPress, Shopify, Wix, and Squarespace all have built-in integrations or free plugins that install the tag with no code. You only need a developer if your site is custom-coded or if you want advanced event tracking for forms and buttons that GA4 does not capture automatically. Most small businesses can complete this whole guide with no technical help.
Does Google Analytics slow down my website?
Not meaningfully. The GA4 tag loads asynchronously, which means it does not block your page from rendering, and it is small compared to typical images or page-builder code. If your site is slow, the cause is almost always something else. Our guide on why websites get slow covers the usual suspects.
How Webloped works
We are a web design and AI automation company based in Cambridge, Ontario. Every website we build ships with analytics set up properly: the tag installed once and correctly, key events tracking the actions that equal revenue, Search Console connected, and a short handover showing you which three reports to check each month. If your site has no analytics, or you suspect the numbers have never been right, send us a message or email us directly and we will sort it out as part of a website project. Pricing is listed in CAD, upfront, before you decide.