🦞 4minAI.com
1 / 16
Day 24 of 28 Β· Vibe Coding Challenge

SEO and Analytics

You built it. You deployed it. But if nobody can find it, does it matter? Today you'll learn SEO (getting found on Google) and analytics (understanding your users). Both are essential for turning a project into a product.

SEO β€” getting found on Google

SEO (Search Engine Optimization) is how you get your app to show up when people search for related topics. It's not magic β€” it's a checklist of things Google looks for.

The three pillars:

Technical SEO β€” Your site loads fast, works on mobile, and is structured so Google can read it.

On-page SEO β€” Your pages have clear titles, descriptions, headings, and relevant content.

Content β€” You have useful pages that answer questions people are searching for.

Knowledge Check
What is SEO?
A
A type of advertising you pay for
B
Optimizing your website so it appears higher in search engine results β€” helping people find you organically
C
A social media marketing strategy
D
A way to make your website faster
SEO is about making your site discoverable through search engines like Google. When someone searches "invoicing tool for freelancers" and your app appears on the first page, that's SEO working. It's free traffic β€” no ads required.

The SEO audit prompt

One prompt can handle most of your SEO needs:

πŸ€–
Cursor AI
online
Add SEO optimization to my landing page. Include: - Proper meta title and description - Open Graph tags for social sharing - Semantic HTML (proper heading hierarchy) - Sitemap.xml - Robots.txt - Schema.org structured data for a SaaS product - Alt text on all images - Canonical URLs
SEO optimization complete βœ“ 🏷️ **Meta tags** - Title: "InvoiceFlow β€” Simple Invoicing for Freelancers" - Description: "Create professional invoices, track payments, and manage clients. Free to start." πŸ“± **Open Graph tags** β€” Proper preview when shared on Twitter, LinkedIn, and Facebook πŸ“‹ **Semantic HTML** β€” h1 β†’ h2 β†’ h3 hierarchy, proper section/nav/main tags πŸ—ΊοΈ **sitemap.xml** β€” Auto-generated with all public pages πŸ€– **robots.txt** β€” Allows all crawlers, points to sitemap πŸ“Š **Schema.org** β€” SoftwareApplication structured data with pricing, rating fields πŸ–ΌοΈ **Image alt text** β€” Descriptive alt text on all 8 images πŸ”— **Canonical URLs** β€” Set on all pages to prevent duplicate content issues
↻ Replay conversation
Knowledge Check
What are Open Graph tags for?
A
Improving page load speed
B
Controlling how your page looks when shared on social media β€” the title, description, and preview image
C
Making the site work offline
D
Encrypting user data
When someone shares your link on Twitter, LinkedIn, or Facebook, Open Graph tags control what preview appears β€” the title, description, and image. Without them, social platforms display a generic or ugly preview. With them, your links look professional and clickable.

Analytics β€” understanding your users

You need to know: Who's visiting? Where are they coming from? What are they doing? Are they signing up?

Google Analytics is the standard, but it's complex. For vibe coders, simpler tools work better:

Plausible β€” Privacy-friendly, simple analytics. One script tag, clean dashboard. No cookie banners needed.

PostHog β€” Analytics plus feature flags, session recording, and A/B testing. Open source.

Vercel Analytics β€” Built into Vercel. Zero setup if you deploy there. Shows page views, top pages, and geographic data.

πŸ€–
Cursor AI
online
Add Plausible analytics to my Next.js app. I also want to track custom events: when users sign up, when they create an invoice, and when they upgrade to a paid plan.
Analytics added βœ“ πŸ“Š **Plausible script** β€” Added to the app layout, loads on every page πŸ“ˆ **Custom events tracked:** - "Signup" β€” fires after successful registration - "Invoice Created" β€” fires when user creates a new invoice - "Plan Upgraded" β€” fires when user completes Stripe checkout All events show up in your Plausible dashboard.
↻ Replay conversation
Plausible analytics dashboard showing 1,247 unique visitors, growth trend chart, top pages, traffic sources, and geographic map
Clean analytics β€” visitor trends, top pages, traffic sources. No cookie banners needed.

You can see:\n- Total signups per day/week/month\n- Conversion rate from visitor β†’ signup β†’ paying customer\n- Which pages drive the most signups

Knowledge Check
Why track custom events like "Invoice Created" and "Plan Upgraded"?
A
To slow down the website
B
To understand user behavior β€” how many sign up, how many use the product, how many pay. This tells you where users drop off
C
To show off on social media
D
Custom events are required by analytics tools
The journey from visitor to paying customer has stages: visit β†’ sign up β†’ use the product β†’ pay. Tracking each stage shows you where people drop off. If 1000 people visit but only 5 sign up, your landing page needs work. If 100 sign up but only 2 pay, your product or pricing needs work.

The metrics that matter

Don't drown in data. Focus on these five metrics:

Visitors β€” How many people are coming to your site? Is the number growing?

Sign-up rate β€” What percentage of visitors create an account? (Good: 2-5%)

Activation rate β€” What percentage of signups actually use the product? (They create their first invoice, post, or project)

Conversion rate β€” What percentage of active users become paying customers?

Churn rate β€” What percentage of paying customers cancel each month? (Keep this under 5%)

These five numbers tell you the health of your entire business.

Knowledge Check
If your landing page gets 1000 visitors but only 10 sign up, what does that tell you?
A
Your product is bad
B
You need more visitors
C
Your analytics are broken
D
Your landing page isn't converting β€” the messaging, design, or offer needs improvement
A 1% signup rate suggests the landing page isn't compelling enough. The visitors arrived (so your traffic source works), but they left without signing up. This means you need to improve your headline, clarify your value proposition, or add social proof. The product itself might be great β€” it's the sales pitch that needs work.

SEO content strategy

The most effective SEO strategy for a new product: write articles that answer questions your target users are searching for.

For an invoicing app, that might be:

- "How to write a freelance invoice"

- "Invoice templates for designers"

- "When to charge late fees on invoices"

Each article brings Google traffic to your site. Each reader is a potential user. It's free, sustainable, and compounds over time.

Final Check
What's the most sustainable way to get users for your SaaS product?
A
Paid advertising on every platform
B
SEO and content β€” create useful content that ranks on Google, bringing ongoing free traffic
C
Cold emailing thousands of people
D
Waiting for word of mouth
SEO is the only traffic source that compounds. An article that ranks on Google brings traffic forever β€” not just the day you publish it. Ads stop working when you stop paying. SEO keeps working indefinitely. It's the best long-term investment for a new product.
πŸ“Š
Day 24 Complete
"Build it, measure it, improve it. SEO brings them in, analytics tells you what to fix."
Tomorrow β€” Day 25
Security Essentials
Your app is live and growing. Tomorrow you'll learn the security basics that protect your users and your reputation.
πŸ”₯1
1 day streak!