You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+52Lines changed: 52 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -192,6 +192,58 @@ pnpm events-import # Import community events
192
192
-`wagmi` - React hooks for Ethereum
193
193
-`@rainbow-me/rainbowkit` - Wallet connection
194
194
195
+
## A/B Testing
196
+
197
+
### Overview
198
+
199
+
The site uses a GDPR-compliant, cookie-less A/B testing system integrated with Matomo. Tests are configured entirely through the Matomo dashboard with no code changes required.
200
+
201
+
### Key Features
202
+
203
+
-**Matomo API Integration** - Experiments configured in Matomo dashboard
204
+
-**Cookie-less Tracking** - Uses deterministic IP + User-Agent fingerprinting
205
+
-**Server-side Rendering** - No layout shifts, consistent variants on first load
206
+
-**Real-time Updates** - Change weights instantly via Matomo (no deployments)
207
+
-**Preview Mode** - Debug panel available in development and preview environments
208
+
-**Automatic Fallbacks** - Graceful degradation when API fails (shows original variant)
209
+
210
+
### Adding a New A/B Test
211
+
212
+
1.**Create experiment in Matomo dashboard**:
213
+
- Go to Experiments → Manage Experiments
214
+
- Create new experiment with desired name (e.g., "HomepageHero")
215
+
- Add variations with weights (original is implicit)
0 commit comments