Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 1.03 KB

File metadata and controls

22 lines (12 loc) · 1.03 KB

Next.js + Vercel Edge Functions + Amplitude A/B Test

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.

Example App

Amplitude Dash

Deploy your own

Deploy the example using Vercel:

Deploy with Vercel

How to use

Git clone this repository, add in your NEXT_PUBLIC_AMPLITUDE API key in a .env.local file

npm install && npm run dev