Teetow 558e0bda2c feat: add sticky A/B testing with Netlify Edge + Matomo
- Netlify Edge Function sets persistent aud_ab_id cookie for cohort assignment
- Deterministic hash (djb2) maps user ID + experiment name to variant slot
- Experiment registry with weighted variant support (src/assets/data/experiments.ts)
- React hook useExperiment() for component-level variant rendering
- Matomo Custom Dimension 1 repurposed for experiment tracking
- Sample 'nav-logo' 50/50 experiment: control (logo+text) vs text-only
- Unit tests for hash distribution and variant assignment
2026-04-14 08:38:19 +02:00

About this repo

This is the source of https://www.audacityteam.org. It uses Astro.

This repo works with npm or Bun.

  • Install dependencies: npm install or bun install
  • Run dev server: npm run dev or bun run dev
  • Build: npm run build or bun run build

Translation

Translations are not yet supported. Please join our dev discord to get notified when they are.

Security

This is a static website, with no user input. As such, regular vulnerabilities likely won't affect us. That said, it probably is good to run npx @astrojs/upgrade (or bunx @astrojs/upgrade) every now and then to update astro to fix security vulnerabilities.

Description
No description provided
Readme 37 MiB
Languages
Astro 60.1%
TypeScript 26.7%
JavaScript 12.1%
CSS 1.1%