Do this once, ahead of time. So class time is building, not installing.
The dashboard you build in class reads from your real website traffic. That data only exists if your site has been collecting it. The Google tag is the little snippet that does the collecting — and it needs to run for about a week before there's anything worth charting.
Get the tag installed and confirmed at least 7 days before class. A week of data is the difference between a live dashboard and an empty one.
Already have Google Analytics running on your site? You can skip ahead to “Confirm it's collecting data.”
This gives you a Measurement ID (it looks like G-XXXXXXXXXX). You'll need it for every install path on the next slide, so do this part first.
G-…). Keep it handy.Follow Google's official walkthrough — it has the current screens for every step above:
Your site is code you control, so just ask Claude. Open the project in Claude Code and say:
Claude adds the snippet, commits, and deploys for you. Nothing else to do — move on once it's live.
Use your platform's built-in field — no code needed. Open your platform's official guide and paste your G-… ID where it says:
Both paths do the same thing: the tag snippet ends up in your site's <head> on every page. Don't add it twice.
Two quick checks. Do both — the first proves the tag is on the page, the second proves data is reaching Google.
Go to tagassistant.google.com, enter your site URL, and confirm your G-… tag shows as connected / firing.
In Analytics, open your phone or another browser to your live site, then watch Reports → Realtime. You should see 1 active user — you.
Data can take up to ~30 minutes to first appear. If Realtime stays empty after that, jump to the troubleshooting slide. Verify guide: support.google.com.
The tag is collecting data — but it's locked inside Google. To build a dashboard from it, Claude has to be able to read that data directly. This step grants exactly that, and nothing more.
Almost nothing. You paste one message into Claude Code and follow two short browser prompts. Claude does all the technical setup itself.
Read-only. Claude can look at your analytics — it can't post, edit, or delete anything. You can't break your analytics with this.
You'll need the Google account your analytics lives under. Work/school accounts are sometimes locked down — if so, Claude will tell you, and the fix is a personal @gmail.com.
This is the project you'll build your dashboard in for class — so set it up now and connect your data inside it.
my-dashboard) — save it next to your Class 1 website folder so they live together.Expect Claude to pause twice and ask you to click something in your browser — that's normal, not an error. Both moments are on the next slide. Everything else, it handles itself.
A Google sign-in page opens in your browser. Pick the account your analytics is under and click Allow, then tell Claude you're done.
Claude hands you a robot email to add in Analytics → Admin → Property Access Management as a Viewer. Claude walks you through each click.
Done when Claude confirms it has access — it'll say the connection works. Your numbers may still read zero at first: Google takes up to ~48 hours to start sharing data. That's expected. A few days later, just ask Claude "how many people visited last week?" — once it pulls a real number, you're set for class.
Don't wait around for the data — move on to Step 3 (the database) now, then circle back and re-ask Claude in a few days.
Your dashboard needs somewhere to store and organize data. Supabase is a free, hosted database — you'll create an account and one project now, and in class Claude will build the tables inside it for you.
Just two things: make an account and create one project. That's the whole prerequisite. No tables, no setup — Claude handles all of that in class.
Free. The Free plan is plenty for this class — no credit card needed to start.
Heads-up: free projects pause after about a week of no use. If yours is paused by class day, just open the Supabase dashboard and click Resume — it's instant.
my-dashboard).It takes a minute or two to set up — that's normal. When the project dashboard loads and stops saying "setting up," you're done with this step.
Back in your dashboard project in Claude Code (the same folder as before), paste this:
Read the next slide before you paste this. Unlike the analytics setup, this one makes you restart Claude Code partway through — and that's exactly where people get stuck. The next slide shows you how to pick up right where you left off.
The Supabase tools only switch on after Claude Code restarts. When Claude tells you to, fully quit and reopen it — then you need to get back into this same conversation so Claude remembers what it was doing.
After reopening, click the clock icon at the top-right of the Claude box (boxed in red below). That's your conversation history — pick the chat you were just in, then type "continue the Supabase setup."
If the Claude panel (the Anthropic logo) disappeared after restarting, just click any file in your project on the left — the Claude box pops right back.
Don't start a brand-new chat — Claude would forget where it was. Always come back through the 🕐 history.
Then one last thing Claude will walk you through: type /mcp in the Claude box, pick supabase, and choose Authenticate. A Supabase page opens in your browser — sign in if asked, pick your project, and click Authorize. That's it — Claude can now build your database.
One thing to circle back on: a few days after installing your Google tag, ask Claude "how many people visited last week?" Once it returns a real number, your data is flowing and you're fully ready.
Bring your laptop to class with your dashboard project open. We'll build the dashboard together from here.
This is the habit for everything going forward: when something doesn't work, you don't go hunting for the fix — you describe what happened to Claude, and it diagnoses and fixes it. Paste the error, or just say what you see:
Claude reads the error, knows the usual causes, and walks you through it — the same way it ran the setup. It can almost always get you unstuck.
Still stuck after asking Claude a couple of times? Don't lose your evening over it — email me at eric@stratengineai.com and I'll walk you through it.