Skip to content

Monetisation starters (for review)#2

Draft
joanmarcriera wants to merge 1 commit into
mainfrom
monetisation-starters
Draft

Monetisation starters (for review)#2
joanmarcriera wants to merge 1 commit into
mainfrom
monetisation-starters

Conversation

@joanmarcriera

Copy link
Copy Markdown
Owner

What this PR contains

Two safe, no-secret changes that set the monetisation groundwork. Nothing here touches the affiliate URLs (those need your personal accounts — see the checklist below), adds cookies, or changes the privacy-first behaviour of the tool.


1. Cloudflare Web Analytics placeholder (index.html)

Adds a commented-out beacon snippet near the bottom of index.html. It does nothing until you uncomment it and paste in your real token.

  • Cookieless — no GDPR/UK PECR consent banner needed
  • Free on Cloudflare's free plan (your domain is already there)
  • Lets you see page views, referrers, and which countries visitors come from

To activate: uncomment the <script> line and replace PASTE_YOUR_TOKEN_HERE with the token from Cloudflare → Analytics & Logs → Web Analytics → Add a site.


2. Draft SEO landing page (should-i-buy-an-ev-uk-2026.html)

DRAFT — review the content before merging. Facts are sourced from gov.uk, Energy Saving Trust, ABI, and Thatcham Research; all figures are labelled as illustrative 2026 values. Adjust anything that doesn't match your editorial voice.

A static article page targeting the search query "Should I buy an EV in the UK 2026" (estimated ~2,000–4,000 monthly UK searches). It:

  • Uses the exact same CSS design tokens, fonts, and footer as index.html — no new design debt
  • Contains a prominent CTA linking back to the calculator on every section
  • Has no JavaScript, no cookies, no backend
  • Canonical URL will be https://ev.riera.co.uk/should-i-buy-an-ev-uk-2026 (GitHub Pages serves .html files directly)

Once live, submit the URL to Google Search Console and link to it from the main page footer to help it get indexed.


Manual steps only you can do (not in this PR)

Tier 1 — Affiliate links (~1 hour, one-time)

These go in js/links.js. See AFFILIATE-SETUP.md for the full walkthrough.

  • Octopus Energy referral — log in to your Octopus account → Refer a friend → copy your unique referral URL → paste into the tariff entry in js/links.js
  • Awin signup (one account, ~£1 deposit, covers charger + solar + car merchants) — awin.com, then apply to:
    • A home charger installer (e.g. Pod Point, Ohme, or similar via Awin)
    • A solar quote comparison site (e.g. The Eco Experts or similar via Awin)
    • A car-finding platform (e.g. Carwow or LeaseLoco via Awin)
  • Paste the four tracked URLs into js/links.js and push

Tier 1.5 — Cloudflare Analytics token (~2 minutes)

  • Cloudflare dashboard → Analytics & Logs → Web Analytics → Add a site → copy the token
  • Uncomment the snippet in index.html (three lines near the bottom) and paste the token
  • Push — analytics will populate within ~24 hours

Tier 2 — SEO and community (ongoing, the real traffic lever)

  • Once this PR is merged: submit should-i-buy-an-ev-uk-2026.html to Google Search Console
  • Add a link to the guide from the main page footer (e.g. "Guide: Should I buy an EV in 2026?")
  • Share the tool in SpeakEV and r/ElectricVehiclesUK — a genuine, helpful post (not spam) drives initial backlinks
  • More content pages: "EV vs petrol running cost UK 2026", "Best EV tariff UK", model-specific guides

What was NOT changed

  • js/links.js — affiliate URLs are placeholders, untouched; only you can add real links
  • No cookies, no third-party tracking scripts, no backend
  • All 28 existing tests pass (node --test confirmed before opening this PR)

Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant