Case Study: How We Built and Optimised a Small Affiliate Website
Most of the websites we build are for local businesses, schools and community councils. But now and then we build a site for one of our own projects, and that gives us the freedom to test ideas, measure everything and tweak things until they work.
This affiliate website case study looks at one of those projects: a small affiliate website that explains how a household energy supplier’s refer-a-friend scheme works. The subject is fairly niche. The lessons, though, apply to almost any small business website.
In this article we’ll walk through how we planned the site, how we built it, how we made it fast, and how we used real visitor data to improve it. At the end there’s a short checklist you can use on your own website.
The brief: a small site with a clear job
An affiliate website earns a referral reward when a visitor signs up to a product or service through its link. That means the site has one main job: to answer people’s questions clearly and help them take the next step.
That’s not so different from a tradesperson’s or a local shop’s website. You want people to find you on Google, understand what you offer and then get in touch. The only real difference is what the “next step” button does.
We set ourselves three goals from the start:
- Keep the site small, focused and easy to use.
- Make every page genuinely useful, with no filler.
- Measure what visitors actually do, then improve the site based on facts rather than guesswork.
The platform: WordPress, Kadence and SiteGround
We built the site on WordPress, the same platform we use for most of our client websites. It’s flexible, well supported and easy to update without touching any code.
For the design we used the Kadence theme. Kadence is lightweight, which helps pages load quickly, and it gives fine control over spacing, layout and mobile settings. That control turned out to be very useful later on, when we started refining the mobile version of the site.
The site is hosted on SiteGround. Its SiteGround Optimizer plugin handles a lot of the performance and security groundwork, including forcing every page to load over a secure HTTPS connection.
Planning the structure: one page, one search phrase
Before writing a single word, we planned the structure. This is the step many small business websites skip, and it’s often why they struggle to appear in search results.
The site has just three main pages:
- A homepage that introduces the topic and explains the basics.
- A guide covering the referral scheme for new customers.
- A guide aimed at people moving into a new home.
Each page is built around one clear search phrase, which SEO tools usually call a “focus keyphrase”. The important part is that each page has its own phrase. If two pages chase the same phrase, they end up competing with each other in Google, and often neither does as well as it could.
To make each page’s topic crystal clear to search engines, the focus keyphrase is matched in five places:
- The page address (the “slug”).
- The main heading on the page (the H1).
- The meta title, which is the blue headline shown in Google’s results.
- The filename of the main image.
- The image’s alt text, which describes the image for screen readers and search engines.
This isn’t about stuffing keywords everywhere. The page still has to read naturally. It’s simply about being consistent, so there’s no doubt about what each page is for.

Linking the pages together
The three pages link to each other where it makes sense. Someone reading the homepage can go straight to a page explaining how the referral reward works, and readers of either guide can easily find the other one if it suits their situation better.
Internal links like these do two jobs. They help visitors find the information they need without hunting around. They also help Google understand how the pages relate to each other and which page covers which topic.
On a small business website, the same idea works well. Your services page can link to your case studies, your case studies can link to your contact page, and so on. Each link should be there because it genuinely helps the reader.
Writing content people can trust
We kept to a few simple principles when writing the content:
- Genuinely useful content only. Every page answers real questions that people search for.
- No duplicate or spammy pages. We didn’t create lots of near-identical pages to try to catch extra searches. Google is good at spotting this, and it doesn’t help visitors.
- Plain, clear wording. Short sentences, short paragraphs and no jargon.
- Accuracy first. Brands that run affiliate or referral schemes have guidelines about what you can and can’t say. We made sure the site stays within them. For example, claims about when referral rewards are paid had to be accurate, not over-promised.
For a moving-house audience in particular, people are busy and stressed, so the page needed to get to the point. You can see how this works in practice in a guide for people moving house, which uses clear headings so readers can jump to the part they need.

Images: small, sharp and stable
Images are one of the most common reasons a website feels slow. On this site, we took a careful approach:
- WebP format. WebP is a modern image format that gives good quality at a much smaller file size than older formats such as JPG or PNG.
- Sensible sizes. Most images are square and around 600 pixels wide. There’s no point loading a huge photo only to shrink it down on the screen.
- A fixed aspect ratio. We set an explicit aspect ratio on the images, so the browser knows how much space to save for each one before it has even loaded.
That last point matters more than most people realise. Without it, text can jump down the page as images load in. If you’ve ever gone to tap a link on your phone and hit something else because the page moved, you’ve experienced this. Google measures it as “Cumulative Layout Shift”, or CLS.
Performance and security
We tested the site with Google Lighthouse, a free tool that scores a page on things like speed, accessibility and best practice.
The results we’ve seen are:
- Mobile scores: in a Google PageSpeed Insights test on 5 November 2026, the homepage scored 98 for Performance and 100 for Accessibility, Best Practices and SEO. Scores vary a little each time you run a test (our own runs have ranged from the high 80s upward), so it’s best to look at a range rather than a single number.
- Cumulative Layout Shift (CLS): 0, meaning nothing on the page jumps around as it loads. The fixed image aspect ratios played a big part in this.
- Best Practices: 100.

Getting the Best Practices score up included some security housekeeping:
- HTTPS enforced. We used SiteGround Optimizer to make sure every page loads over a secure connection.
- Insecure content fixed. A few items were still being loaded over plain “http”. Browsers can flag this as “mixed content”, so we tracked down each one and updated it.
- robots.txt tidied up. The robots.txt file tells search engines where to find the sitemap. We made sure it pointed to the secure (https) version.
None of these jobs are glamorous, but together they make a site look more trustworthy to both visitors and search engines.
Measuring what visitors actually do
Launching a website is the start, not the finish. To see how people were using the site, we set up two free tools.
Google Analytics 4 (GA4). As well as showing how many people visit, GA4 lets you mark certain actions as “key events”. We set up a key event that tracks clicks on the main call-to-action button. That gives us a clear measure of whether the site is doing its job, rather than just counting visitors.
Microsoft Clarity. Clarity records anonymous heatmaps showing where people click and tap. It turned up something we would never have spotted otherwise: mobile visitors were tapping a line of text in the footer that wasn’t a link. They clearly expected it to take them somewhere. So we made it a link. It’s a small change, but it removed a moment of frustration for visitors and gave them the action they were looking for.
Designing for mobile first
The analytics showed that about 65% of visitors use a mobile phone. That’s common for websites today, and it means the mobile version is really the main version.
With that in mind, we spent time refining the mobile layout:
- Padding around text and buttons, so nothing feels cramped and buttons are easy to tap.
- Alignment of headings, text and images, so pages look tidy on a narrow screen.
- Image cropping, so the important part of each image stays visible on a phone rather than being cut off.

Tracking search rankings
To check whether the structure and content were working, we track 16 search phrases with a rank tracking tool called SERPRobot.
Most of those 16 phrases now appear in Google’s top 5 results, and one is in position 1. For a small, focused site, we’re pleased with that. It shows that a well-planned structure, clear content and solid technical basics can go a long way, even without a big website.
What small businesses can take from this
You don’t need to run an affiliate website to use these ideas. Here’s a short checklist you can work through on your own site.
Your website checklist
- One page, one topic. Give each important page its own search phrase, and make sure two pages aren’t competing for the same one.
- Be consistent. Use the page’s main phrase in the page address, main heading, meta title, image filename and image alt text, while keeping the wording natural.
- Link your pages together. Add helpful links between related pages, using descriptive wording rather than “click here”.
- Shrink your images. Use WebP where you can and don’t upload images far bigger than they’ll be shown.
- Stop pages jumping. Make sure images have a set size or aspect ratio so the layout doesn’t shift as they load.
- Run Lighthouse. Test your key pages on mobile, run it more than once and look at the range of scores.
- Check for HTTPS. Make sure every page and every image loads securely, with no “http” leftovers.
- Track what matters. Set up a key event in GA4 for your most important action, such as a contact form or phone number tap.
- Watch real behaviour. Use a heatmap tool such as Microsoft Clarity to see where people tap. If they’re tapping something that isn’t a link, consider making it one.
- Think mobile first. Check your analytics to see how many visitors use phones, then test every page on a phone yourself.
- Keep content honest and useful. Avoid thin or duplicate pages, write plainly and make sure every claim is accurate.
Want your website to work this hard?
Everything in this case study is something we can do for your business website too, whether you need a brand-new site, a redesign or a check-up of the site you already have.
If you’d like a friendly chat about your website, call Peter or Anthony on 01824 702375 or request a website quotation. We’ll talk you through the options in plain English.

