Monetisation starters (for review)#2
Draft
joanmarcriera wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.To activate: uncomment the
<script>line and replacePASTE_YOUR_TOKEN_HEREwith the token from Cloudflare → Analytics & Logs → Web Analytics → Add a site.2. Draft SEO landing page (
should-i-buy-an-ev-uk-2026.html)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:
index.html— no new design debthttps://ev.riera.co.uk/should-i-buy-an-ev-uk-2026(GitHub Pages serves.htmlfiles 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. SeeAFFILIATE-SETUP.mdfor the full walkthrough.tariffentry injs/links.jsjs/links.jsand pushTier 1.5 — Cloudflare Analytics token (~2 minutes)
index.html(three lines near the bottom) and paste the tokenTier 2 — SEO and community (ongoing, the real traffic lever)
should-i-buy-an-ev-uk-2026.htmlto Google Search ConsoleWhat was NOT changed
js/links.js— affiliate URLs are placeholders, untouched; only you can add real linksnode --testconfirmed before opening this PR)Generated by Claude Code