IntermediateLesson 19 of 305 min read

Analytics, search data and growth

Measure what visitors do, read Search Console and analytics, tag links, work out conversion rates and decide what to improve, with a real calculation.

In this lesson you will

  • Pick basic analytics tools
  • Read key numbers
  • Tag campaign links
  • Turn data into actions

About 15 minutes

What happened after you published?

Yusuf writes a post every week, but he has no idea whether anyone reads it, which posts work and where visitors come from. Without data he guesses, and guesses can mislead. Analytics means measuring what visitors do so you can decide what to do next. It does not need to be complicated. Three or four numbers, checked monthly, are enough to improve a small site.

The tools

Tool What it tells you
Google Search Console Which searches show your pages, and indexing problems
An analytics tool Visits, pages, sources and goals
Your host’s statistics Basic traffic and server load
Form or shop reports Messages and sales

Several analytics tools exist, including privacy-friendly ones that avoid cookies. Check what each collects and whether you need a cookie notice where your visitors live. Add the tracking code with a plugin or your theme’s settings rather than editing theme files by hand, so that a theme change does not remove it.

Numbers worth watching

  • Visits: how many sessions. Look at trends, not single days.
  • Sources: search, social, email, direct or other sites.
  • Top pages: what people actually read.
  • Goals: things you want, such as a message sent or a sale.
  • Conversion rate: goals divided by visits.

A worked example, with real arithmetic

A small site had these numbers for one month by source, and a script worked out the rate for each. The output is real:

tagged link: https://example.com/cakes/?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale
parts: utm_source=newsletter | utm_medium=email | utm_campaign=spring_sale
Search  1200  36   3.0%
Social  800   8    1.0%
Email   300   15   5.0%
Direct  500   10   2.0%
total visits 2800, goals 69, overall rate 2.46%

Search brought the most visits (1200), yet email, with only 300 visits, converted best at 5.0 percent. Social had many visits and the weakest rate, 1.0 percent. Overall, 69 goals came from 2800 visits, 2.46 percent. This suggests a plan: keep investing in search, grow the email list and rethink what you post on social media. Always remember that small numbers are noisy: a month with 15 goals is a hint, not proof.

Tagging your links

To see which campaign brought a visitor, add small labels to the link. The same script built a tagged link: ?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale added to the page address, and split it back into its three parts. Analytics tools read those labels. Use consistent lowercase names, so that ‘Email’ and ’email’ do not appear as two sources.

Using what you learn

  1. Find your five most-read pages and check that each has a clear next step.
  2. Find pages that get search impressions but few clicks, and rewrite their titles.
  3. Find posts that nobody reads and merge, update or remove them.
  4. Write more on topics that bring visitors who then take action.
  5. Review every month and record changes in a note.

Privacy and trust

  • Tell visitors what you collect, in your privacy policy.
  • Follow the cookie and consent rules for the regions your visitors are in; a lawyer or the regulator’s guidance can confirm them.
  • Do not collect personal details you do not need.
  • Never put analytics on pages where private data appears.

Practice

Set up Search Console and one analytics tool on your practice site if you can. After a month write a one-page report: top three pages, top three sources, one goal and its rate, and one change you will make. If there is not enough data, use the sample table above and write the same report.

Practice answer

A good report ends with an action, such as ‘rewrite the title of page X’ or ‘send one more email a month’. Numbers that lead to no action are only decoration.

Common mistake

Checking numbers every hour. Daily swings are random; look weekly or monthly and compare like with like.

A simple monthly report you can copy

Measure This month
Visits Write the number
Top page Write the title
Best source Write the name
Goals Write the number
One change Write what you will do

Fill the table in once a month and keep the old copies together. After a few months the pages show a story: which topics grow, which sources fade, which changes helped. This record is also valuable if you later work for clients, since you can show them a clear before and after.

Common mistakes with data

  • Comparing a short month with a long one without noting the difference.
  • Counting your own visits. Exclude your own devices if the tool allows.
  • Reading too much into tiny numbers.
  • Changing five things at once, so you cannot tell which one worked.
  • Forgetting that a quiet week can be a holiday, not a failure.

When in doubt, change one thing, wait a few weeks and look again. Patience beats panic.

If you share reports with a client or a team, add one sentence in plain words under the table, such as ‘Email brought the best results, so we will send one more newsletter next month.’ People remember a clear sentence long after they forget a chart.

Check what you learned

Five quick questions. Pick an answer and you will see straight away whether it is right and why.

What is conversion rate?

  1. Visits divided by goals
  2. Images per page
  3. Pages per post
  4. Goals divided by visits

In the example 69 of 2800 gave 2.46 percent.

Which source converted best in the example?

  1. Social
  2. Email
  3. Search
  4. Direct

5.0 percent.

What does Search Console show?

  1. Your passwords
  2. Your invoices
  3. Which searches show your pages
  4. Your fonts

It also reports indexing problems.

Why use consistent names in tagged links?

  1. So sources are not split in reports
  2. To shorten links
  3. To hide links
  4. To speed up pages

Use lowercase names.

How often should you review numbers?

  1. Every minute
  2. Never
  3. Weekly or monthly
  4. Once in ten years

Daily swings are noise.

Summary

  • Watch a few numbers regularly.
  • Conversion rate is goals divided by visits.
  • Tag links consistently.
  • Respect privacy and cookie rules.

Next lesson

Next: the Intermediate project, a portfolio site with its own content types.

Questions

Do I need Google Analytics?

No. There are other tools, including privacy-friendly ones. Pick one that matches your needs and your visitors' privacy expectations.

Why does my traffic differ between tools?

Tools count differently, filter bots differently and may be blocked by some browsers. Compare trends within one tool.

Do I need a cookie banner?

It depends on the tool and where your visitors live. Check the rules or ask a professional.

Progress is saved in this browser.