Skip to content

heymegabyte/agent-skills / 13-observability-and-growth

observability-and-growth

Verified

Full instrumentation from day one. PostHog consolidates product analytics + feature flags + error tracking (one platform, one bill). GA4 via GTM (14-step automation, custom dimensions over events, server-side tagging). Sentry (deep error tracking + performance). Stripe (webhook-first with idempotent processing). Listmonk on Coolify (newsletters via Amazon SES SMTP relay). PLG 7-layer framework. Programmatic SEO (5 page types). Incident auto-remediation via Sentry→Inngest pipeline. AI search (GEO) awareness. Local business conversions (phone_click, direction_click, form_submit, booking_click) with CRO patterns for both SaaS and local.

FileKindSize
SKILL.mdskill md6.8 KB
activation-funnel.mdmarkdown11.0 KB
analytics-configuration.mdmarkdown7.2 KB
conversion-optimization.mdmarkdown4.9 KB
email-marketing-and-listmonk.mdmarkdown8.1 KB
feature-flags-and-experiments.mdmarkdown6.6 KB
mcp-server-registry.mdmarkdown15.0 KB
sentry-alert-rules.mdmarkdown8.7 KB
square-payments.mdmarkdown13.3 KB
stripe-billing.mdmarkdown9.8 KB
user-feedback-collection.mdmarkdown8.9 KB
workers-tracing-otlp.mdmarkdown3.0 KB

conversion-optimization.md

View on GitHub
---
name: "Conversion Optimization"
description: "CRO patterns for SaaS signup flows, pricing pages, paywalls, and churn prevention"
version: "2.0.0"
updated: "2026-04-23"
---

# Conversion Optimization

## Core Loop

Measure → hypothesis → test → analyze → iterate. Never skip baseline measurement. A/B test ONE variable at a time via PostHog feature flags. Statistical significance: min 1000 visitors/variant, 95% confidence, 2-week minimum.

## Key Metrics

- **Conversion Rate** — `signups / visitors` — target >3% SaaS, >5% free tier
- **Trial-to-Paid** — `paid / trial starts` — target >25%
- **Monthly Churn** — `churned / start MRR` — target <5%
- **LTV** — `ARPU / churn rate` — target >3x CAC
- **CAC** — `total spend / new customers` — target <LTV/3
- **Activation** — `users hitting aha moment / signups` — target >40%

## Pricing Page Patterns

- 3-tier layout (Free | Pro $50/mo | Enterprise custom)
- Highlight recommended tier with brand cyan `#00E5FF` border
- Annual toggle prominent (20% discount = $480/yr vs $600)
- Show savings amount, not just percentage
- Feature comparison table with checkmarks
- Social proof: "Join 2,000+ teams" with real numbers
- FAQ section below tiers addressing objections
- Mobile: stack vertically, recommended first

## Signup Flow

- Reduce fields to email + password (name optional, collect later)
- Social auth (Google, GitHub) above form
- Progress indicator for multi-step
- Inline validation on blur
- Smart defaults for settings
- Skip onboarding option
- **Time-to-value** — user sees core feature within 60 seconds of signup

## Paywall Patterns

- **Soft paywall** — show feature, blur/lock result, explain what Pro unlocks
- **Usage-based triggers** — `"You've used 8 of 10 free reports. Upgrade for unlimited."`
- **Trial** — 14-day default, no credit card required upfront
- **Email sequence** — day 1 welcome, day 7 value, day 12 urgency
- Never hard-lock features without showing value first

## Churn Prevention

- **Cancellation flow** — survey (too expensive | missing feature | switching | other) → offer alternatives (pause, downgrade, discount) → confirm
- **Win-back** — automated email at 7/30/90 days via Resend
- **Usage decline** — PostHog event tracking, alert when weekly active drops 50%
- **Dunning** — 3 retries over 7 days, Stripe Smart Retries enabled

## Form Optimization

- Inline validation (not on submit)
- Autofill attributes on all fields
- Smart defaults reduce decisions
- **Error messages** — specific + actionable (`"Email already registered. Sign in?"` not `"Error 409"`)
- **Success** — brief + next (`"Account created. Let's set up your first project →"`)
- **Loading** — contextual (`"Creating your workspace..."` not `"Loading..."`)

## Anti-Patterns

Never:

- Dark patterns (hidden costs, forced continuity, misdirection)
- Fake urgency
- Guilt-tripping cancel copy
- Hiding unsubscribe
- Pre-checked upsells
- Bait-and-switch pricing

**ADA/WCAG** — all conversion elements keyboard accessible, screen reader compatible, sufficient contrast.

## Local Business Conversions (***NOT SAAS***)

Conversions are physical-world actions, not trial-to-paid funnels.

### Event Taxonomy (PostHog + GA4 + Sentry breadcrumb)

**Primary (highest intent):**

- `phone_click` — `tel:` link clicked
- `direction_click` — Google Maps directions clicked
- `form_submit` — Contact/booking form submitted
- `booking_click` — External booking CTA (OpenTable, Calendly, etc.)

**Secondary:**

- `email_click` — `mailto:` link clicked
- `chat_open` — Live chat widget opened
- `review_click` — "Leave a Review" CTA clicked

**Micro:**

- `menu_download` — PDF menu/brochure downloaded
- `coupon_claim` — Special offer clicked
- `social_click` — Social media profile link clicked

### GA4 Goals (auto-configure via GTM dataLayer)

```javascript
// Inject in every local business site build
document.querySelectorAll('a[href^="tel:"]').forEach(el =>
  el.addEventListener('click', () => gtag('event', 'phone_click', { phone: el.href }))
);
document.querySelectorAll('a[href*="maps.google"]').forEach(el =>
  el.addEventListener('click', () => gtag('event', 'direction_click'))
);
```

### Local Funnel (PostHog)

`Visit → Engagement (scroll 50%+) → Micro (menu/gallery) → Macro (call/directions/form/booking)`

Track weekly conversion rate. Alert if rate drops >20% WoW. Typical local business: 3-8% macro conversion rate (vs 1-3% SaaS).

### Call Tracking (optional premium)

- Google forwarding number (free with Google Ads) OR CallRail ($45/mo)
- Tracks: duration, caller location, recording, missed call alerts
- Without call tracking: `tel:` click count as proxy

## Tools

- **PostHog** — funnel analysis + feature flags + session replay
- **Stripe** — billing portal, proration, Smart Retries, revenue recovery
- **Resend** — transactional + win-back emails
- **Inngest** — automated lifecycle workflows (trial → paid → churn sequences)
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 322kUpdated Claude CodeCodexVerifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 118kUpdated Claude CodeCodexVerifiedInstall