This sample app shows you how to set up a simple A/B test with Vercel Edge Functions. In this example, we run a simple 50/50 split experiment with button colors and log the results to amplitude for analysis.
Deploy the example using Vercel:
Git clone this repository, add in your NEXT_PUBLIC_AMPLITUDE
API key in a .env.local
file
npm install && npm run dev