Skip to main content

Overview

This page maps Statsig concepts to shipd and shows a manual migration path. shipd has no automated importer: you recreate definitions in TypeScript or Go, recreate targeting in the dashboard, and switch code over one gate or config at a time. shipd assigns variants but doesn’t compute experiment results. Keep sending exposures and metrics to your analytics tool.

Concept mapping

Map the user object

Browser clients (shipdit/client) fill country, region, city, and timezone automatically. See Target users by attribute.

Migrate

1

Recreate definitions

2

Recreate targeting

For each environment, open the flag in the dashboard, add rules in the same order as in Statsig, set Fallthrough, and click Save environment. Recreate segments under Audiences first.
3

Replace calls

Wrap each check in one function and log mismatches between the two systems before you switch, as in the LaunchDarkly guide.
4

Keep logging exposures

Log the variant to your analytics wherever you read it. See Run an A/B test.
Bucketing differs between tools, so users in a running Statsig experiment get new assignments in shipd. Start a new experiment period rather than migrating one mid-flight. For Go definition snippets, add the entries to config.ShipdConfig in shipd.config.go before pushing. See Define flags in code.