Linking Optimizely as a source

Alpha release

This source is currently in alpha. The interface and available tables may change.

The Optimizely connector syncs your experimentation configuration data – projects, experiments, audiences, events, pages, and campaigns – into PostHog.

Adding a data source

  1. Go to the sources tab of the data pipeline section in PostHog.
  2. Click + New source and then click Link next to Optimizely.
  3. You need a personal access token from Optimizely. In your Optimizely account, go to Account Settings > API Access and generate a personal access token. Tokens are non-expiring. See the Optimizely personal access token docs for details.
  4. Back in PostHog, paste the token into the Personal access token field and click Next.
  5. Select the tables you want to sync, set the sync frequency, then click Import.

Project-scoped tables (experiments, audiences, events, pages, campaigns) sync data across all projects the token can access. If a project doesn't support a particular feature surface (for example, campaigns on a non-Web project), that project is skipped automatically.

Available tables

TableDescriptionSync method
projectsTop-level Optimizely projectsFull refresh
experimentsA/B tests and experiment configurationsFull refresh
audiencesAudience targeting definitionsFull refresh
eventsCustom conversion event definitionsFull refresh
pagesPage definitions for web experimentsFull refresh
campaignsWeb campaign configurationsFull refresh

All tables use full refresh sync. Optimizely's REST API v2 doesn't expose updated-since filters, and these are low-volume configuration entities, so a full refresh on each sync is the correct approach. Raw event-level data is only available through Optimizely's separate S3 Enriched Events Export and isn't covered by this connector.

Configuration

OptionTypeRequired
Personal access tokenpasswordYes

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
projects

A container for experiments, audiences, events, and pages within an Optimizely account.

Full refresh
experiments

An A/B test or experiment that splits traffic across variations to measure impact.

Full refresh
audiences

A targetable segment of visitors defined by attribute and behavior conditions.

Full refresh
events

A tracked visitor action (click, pageview, or custom event) used as an experiment metric.

Full refresh
pages

A definition of a page or set of URLs where experiments and events can run.

Full refresh
campaigns

A personalization campaign that delivers experiences to targeted audiences across pages.

Full refresh

Community questions

Was this page useful?

Questions about this page? or post a community question.