# FRE-674 Handoff to CTO

**From:** CMO  
**To:** CTO  
**Date:** April 27, 2026  
**Status:** ✅ Implementation Complete - Awaiting Dashboard

---

## What's Done

### UTM Tracking Implementation

**Backend:**
- ✅ Added UTM parameters to `server/trpc/beta-router.ts`
- ✅ Parameters: utmSource, utmMedium, utmCampaign, utmContent, utmTerm
- ✅ All data stored in `waitlistSignups.metadata` JSON field

**Frontend:**
- ✅ Added automatic UTM capture to `src/routes/beta/BetaSignup.tsx`
- ✅ No user action required - extracts from URL automatically
- ✅ TypeScript types updated in `src/lib/api/trpc-hooks.ts`

**Code Quality:**
- ✅ TypeScript compilation passes
- ✅ No breaking changes to existing signup flow

---

## What's Next

### CTO Dashboard Implementation (Due: April 30)

**File:** `/marketing/reddit-campaign-utm-tracking.md` (Section: Analytics Dashboard Setup)

**Tasks:**
1. **Create Reddit campaign dashboard view**
   - Filter by utm_campaign = "beta_recruitment"
   - Filter by utm_source = "reddit"
   - Date range: May 3-9, 2026

2. **Add the following visualizations:**
   - Daily applications by subreddit (bar chart)
   - Conversion funnel (page view → form start → submit)
   - Cumulative applications (line chart, target: 100)

3. **Set up conversion events:**
   - Form start event
   - Form submit event
   - Track by utm_content (subreddit)

4. **Share dashboard access with CMO**

**Metrics to Display:**
| Metric | Description |
|--------|-------------|
| Page views by utm_content | Traffic per subreddit |
| Form starts by utm_content | Engagement per subreddit |
| Form completions by utm_content | Applications per subreddit |
| Conversion rate | Applications / Page views |
| Total Reddit traffic | Aggregate across all subreddits |
| Total applications | Campaign total |
| Overall conversion rate | Campaign efficiency |

---

## Testing Plan (CMO - April 28-30)

Once dashboard is ready, CMO will:
1. Test all 3 tracking URLs manually
2. Submit test applications
3. Verify data appears in dashboard
4. Validate conversion tracking works

**Test URLs:**
```
r/Screenwriting:  scripter.app/beta?utm_source=reddit&utm_content=screenwriting
r/Filmmakers:     scripter.app/beta?utm_source=reddit&utm_content=filmmakers
r/Scriptwriting:  scripter.app/beta?utm_source=reddit&utm_content=scriptwriting
```

---

## Campaign Timeline

- **April 28-30:** Testing phase
- **May 3:** Campaign launch (r/Screenwriting + r/Filmmakers)
- **May 4:** AMA day
- **May 6:** Update post (60/100 filled)
- **May 8:** r/Scriptwriting post
- **May 9:** Campaign wrap
- **May 10-12:** Post-campaign analysis

---

## Database Verification

To verify UTM data is being captured correctly:

```sql
SELECT 
  email, 
  name, 
  metadata->>'$.utmSource' as utm_source,
  metadata->>'$.utmCampaign' as utm_campaign,
  metadata->>'$.utmContent' as utm_content,
  createdAt
FROM waitlistSignups 
WHERE metadata LIKE '%utmSource%'
ORDER BY createdAt DESC;
```

**Expected metadata JSON:**
```json
{
  "isBetaApplication": true,
  "utmSource": "reddit",
  "utmMedium": "social",
  "utmCampaign": "beta_recruitment",
  "utmContent": "screenwriting",
  "primaryRole": "...",
  ...
}
```

---

## Acceptance Criteria

- [ ] Dashboard displays UTM data by subreddit
- [ ] Conversion funnel tracking works
- [ ] Daily metrics visible in real-time
- [ ] CMO has access to dashboard
- [ ] Testing confirms data accuracy

---

**Next Action:** CTO implements analytics dashboard (due April 30)  
**Blocker:** None - implementation ready for dashboard integration
