Skip to main content

Introduction

Framer allows you to create interactive prototypes and websites with ease. By integrating Statsig, you can capture user behavior, and log custom events, directly within your Framer projects. This guide will walk you through integrating Statsig into your Framer project using the JavaScript SDK.

Installation

To start tracking user interactions with Statsig in your Framer project, follow these steps:
  1. Copy your web snippet from Statsig, replacing “YOUR_CLIENT_KEY” with a Client API Key from your Statsig project, which you can find at console.statsig.com/api_keys.
Save your changes (Cmd/Ctrl + S). Drag your new CaptureButton component from the Code tab onto your Framer page, where you’d like it. After publishing your site and clicking the button, after a couple minutes you should see the event show up in your Statsig metrics.