Search documentation...

K
ChangelogBook a demoSign up

Statsig

Sync to Statsig segments and events from your warehouse to analyze product performance and run experiments.

View Statsig's documentation and status page.

Overview

Sync to segments and events from your warehouse to Statsig to analyze product performance and run experiments.

Supported syncing

TypeDescriptionSupported Sync Modes
SegmentsSync data from any source to segments in StatsigAdd, Remove
EventsSync data from any source to log events in StatsigInsert

For more information about sync modes, refer to the sync modes docs.

Connect to Statsig

Go to the Destinations overview page and click the Add destination button. Select Statsig and click Continue. You can then authenticate Hightouch to Statsig by entering your credentials.

Enter the following fields into Hightouch based on the types of syncs you plan on creating:

  • Console API key: required for syncing segments
  • Client-SDK API key: required for syncing events

You can find these API keys in the Keys & Environments section on your Statsig settings page. Check out Statsig's Console API docs and HTTP API docs for more information about how to create and access these keys.

Sync configuration

Once you've set up your Statsig destination and have a model to pull data from, you can set up your sync configuration to begin syncing data. Go to the Syncs overview page and click the Add sync button to begin. Then, select the relevant model and the Statsig destination you want to sync to.

Segments

Sync data from any source to Statsig segments. Hightouch only supports syncing to the ID list segment type.

Record matching

Hightouch matches rows from your model to Statsig segments by segment id. Select the model column that contains these values.

Create a segment

To create a new segment list, select Create a new audience. You can provide a name for this segment, or Hightouch defaults to the name of the model used to create the sync.

Then, select the ID type of the segment list you want Hightouch to create. Hightouch supports user ID and stable ID types. You can change the ID type to a custom ID on the segment's page in Statsig.

Editing ID type in Statsig

Use an existing segment

To use an existing segment list, select Use existing segment. You can select any of your existing Statsig segments from the drop-down select menu. All available options are of the ID list type.

Events

Sync data from any source to events in Statsig.

Statsig's event explorer requires you to be on a Pro Plan. You won't be able to view events you send via Hightoucht in the Statsig app without it.

Event name

Providing an event name is required to log an event in Statsig. You can either provide a static value or select to use a column from your model.

Event timestamp

You can optionally select a column that contains timestamps of when events occurred. If this field is empty, Hightouch uses the time the event arrives at the server.

Hightouch converts any DateTime values from your source to Unix timestamp as expected by Statsig.

Field mapping

You can sync columns from your source to different event and user attributes in the mappings section.

Tips and troubleshooting

Rate limits

Statsig has a default rate limit of 10 requests/second and 4500 request/15 minutes on Console API. If you're syncing segments and run into a rate limit error, schedule your sync to run less frequently or .

Common errors

To date, our customers haven't experienced any errors while using this destination. If you run into any issues, please don't hesitate to . We're here to help.

Live debugger

Hightouch provides complete visibility into the API calls made during each of your sync runs. We recommend reading our article on debugging tips and tricks to learn more.

Sync alerts

Hightouch can alert you of sync issues via Slack, PagerDuty, SMS, or email. For details, please visit our article on alerting.

Ready to get started?

Jump right in or a book a demo. Your first destination is always free.

Book a demoSign upBook a demo

Need help?

Our team is relentlessly focused on your success. Don't hesitate to reach out!

Feature requests?

We'd love to hear your suggestions for integrations and other features.

Last updated: Apr 1, 2023

On this page

OverviewSupported syncingConnect to StatsigSync configurationSegmentsEventsTips and troubleshootingRate limitsCommon errorsLive debuggerSync alerts

Was this page helpful?