---
title: "Statsig Experimentation with Flags SDK"
description: "Run experiments on static pages with Statsig and the Flags SDK"
url: "https://vercel.com/templates/next.js/statsig-experimentation-with-flags-sdk"
links:
  repository: "https://github.com/vercel/examples/tree/main/flags-sdk/experimentation-statsig"
  demo: "https://flags-sdk-statsig.vercel.app"
  deploy: "https://vercel.com/new/clone?demo-title=Statsig+Experimentation+with+Flags+SDK&demo-description=Run+experiments+on+static+pages+with+Statsig+and+the+Flags+SDK&demo-url=https%3A%2F%2Fflags-sdk-statsig.vercel.app&project-name=statsig-flags-sdk-example&repository-name=statsig-flags-sdk-example&repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fexamples%2Ftree%2Fmain%2Fflags-sdk%2Fexperimentation-statsig&env=FLAGS_SECRET&envDescription=The+FLAGS_SECRET+will+be+used+by+the+Flags+Explorer+to+securely+overwrite+feature+flags.+Must+be+32+random+bytes%2C+base64-encoded.+Use+the+generated+value+or+set+your+own.&envLink=https%3A%2F%2Fvercel.com%2Fdocs%2Fworkflow-collaboration%2Ffeature-flags%2Fsupporting-feature-flags%23flags_secret-environment-variable&products=%5B%7B%22integrationSlug%22%3A%22statsig%22%2C%22productSlug%22%3A%22statsig%22%2C%22type%22%3A%22integration%22%2C%22protocol%22%3A%22experimentation%22%7D%5D&demo-image=%2F%2Fimages.ctfassets.net%2Fe5382hct74si%2FdPrNWKLYFwCOMMt0Ka5Mf%2F7183b13cacd629263ab56e5870fb1481%2FMarketplace_Template__1_.jpg"
---

# Statsig Experimentation with Flags SDK

Run experiments on static pages with Statsig and the Flags SDK

# Flags SDK + Statsig

This example has moved to the [Flags SDK repository](https://github.com/vercel/flags/tree/main/examples/providers/statsig). The directory is now named `statsig`.

Follow the setup and deployment instructions in its new location.

## Related Templates

### [Experimentation with Statsig](https://vercel.com/templates/next.js/ab-testing-statsig)

Reduce CLS and improve performance from client-loaded experiments at the edge with Statsig

### [A/B Testing Simple](https://vercel.com/templates/next.js/ab-testing-simple)

By A/B testing at the edge, you'll reduce CLS from client-loaded experiments and improve your site's performance with smaller JS bundles.

## Related Integrations

### [Statsig](https://vercel.com/marketplace/statsig)

Performant Feature Flags, Experiments, Analytics, and Log Drains

---

## Additional documentation

The [Vercel Knowledge Base](https://vercel.com/kb) contains guides and answers to common questions about Vercel, including deployment, framework configuration, domains, caching, and troubleshooting.
