This section refers to a deprecated version of the product. The new version is FE&R. To access FE&R, contact your CSM.
📘 To learn more, read the FE&R documentation.
LogoLogo
PlatformsPricingRessources
  • User documentation
  • Onboarding
  • Help Center
  • Release Notes
  • Flagship - Deprecated
  • Feature Experimentation & Rollout (ex-Flagship) is evolving!
  • GETTING STARTED
    • 👉Managing multiple environments
    • Using the trial version of Flagship
  • First steps with Flagship
    • Quick start guide
    • Glossary
  • Implementation
    • Sending transactions from the AB Tasty Shopify app directly to Feature Experimentation & Rollouts
  • Integrations
    • Heap Analytics integration (Push)
    • Tealium AudienceStream (receive audiences)
    • FullStory integration (segment exports)
    • Heap Analytics integration (Pull)
    • Google Analytics integration (pull audiences)
    • Segment Integration (receive traits)
    • Mixpanel integration (cohort exports)
    • 👉Retrieving your third-party tools’ audiences in AB Tasty - Feature Experimentation & Rollouts
    • Zapier integration
    • Segment integration
  • Steps configuration
    • 👉Configuring Sequential Testing Alerts
    • 👉Configuring your Flags
    • 👉Using the scheduler
    • 🛠️[Troubleshooting] How to target a large number of users at the same time?
    • 👉Configuring KPIs
    • 👉Using the automatic rollback option
    • 👉Targeting configuration
    • 👉Dynamic allocation
    • 👉Traffic allocation
  • Team
    • Access Rights, Teams & User Management
    • 👉Defining rights per project
  • DEMO
    • AB Tasty - Feature Experimentation & Rollouts Demo - How to use it
  • Navigating the interface
    • 👉Archiving use cases from the dashboard
    • 👉Flags page
    • 👉Running a search on the dashboard
    • Navigating the Flagship interface
  • REPORTING
    • 👉Verifying your hit setup
    • 👉Exporting reporting data
    • Understanding the "Chances to win" indicator
    • 🛠️[Troubleshooting] How can I know my test is reliable and my data significant enough to be analyzed?
    • Reporting - A/B Test
    • 👉Using the reporting filters
  • API keys & Settings
    • 👉Acting on your account remotely
    • 👉Using Experience Continuity
    • visitor experiment option
  • FEATURES SETUP
    • 👉Bucket allocation
  • SDKs integration
    • 👉Managing visitor consent
    • 👉Understanding the use of SDKs
  • FAQ
    • Can I make a comparison for each reporting?
    • Can I use Flagship even if my SDK stack is not available?
  • Platform integration
    • 👉Webhooks page
  • Decision API
    • Decision API for non-techie users
  • Account & Profile
    • 👉Configuring account restrictions with MFA
    • 👉Configuring a FA on your profile
  • RELEASE NOTES
    • October - Flagship becomes Feature Experimentation & Rollouts
    • February - Release Notes
    • 📅January - Release Notes
    • 🎉December - Release Notes 🎉
    • 🦃November - Release Notes
    • September Release Notes 🎨
    • June Release Notes 🐞
    • 🍸May Release Notes ☀️
    • Flagship Release Notes April 🐇
    • Flagship February release notes 🏂
    • Flagship January release notes 🎉
    • Flagship November release notes 🦃
    • Flagship October Release Notes 🎃
    • Flagship September Release note 🎒
    • Flagship August Release Notes 🐬
    • Flagship Release Notes July ☀️
    • Flagship Release notes June 🌻
    • Flagship Spring Release May 🌸
    • Flagship Release Notes: Fall
  • Use cases
    • 👉Duplicating a winning variation
    • 👉Configuring a Feature Toggle/Flag
    • 👉Configuring an A/B Test
    • 👉Configuring a Progressive rollout
    • 👉Configuring a Personalization
  • VIDEO TUTORIALS
    • [Video Tutorial] AB Test
    • [Video Tutorial] Feature Flag
    • [Video Tutorial] Progressive Deployment
Powered by GitBook
LogoLogo

AB Tasty Website

  • Home page AB Tasty
  • Blog
  • Sample size calculator
  • Release note

AB Tasty Plateform

  • Login

Š Copyright 2025 AB Tasty, Inc, All rights reserved

On this page
  • Segment integration
  • Segment and AB Tasty FE&R (Flagship)
  • Configuration

Was this helpful?

Edit on GitLab
Export as PDF
  1. Integrations

Segment integration

Segment integration

Segment is a customer data platform (CDP) that helps you collect, clean, and control your customer data.

With Segment, you can easily manage data and integrations with services across your Growth, Product, and Marketing stack. By tracking events and users via Segment’s API and libraries, you can send your product’s data to all of your analytics/marketing platforms, with minimal instrumentation code.

Segment and AB Tasty FE&R (Flagship)

With this integration, every Segment hit that is triggered will be automatically transferred to Flagship for retrieval, saving developers from having to re-implement all the Universal Collect hits.

Track Segments calls will be sent to AB Tasty FE&R (Flagship) as an EVENT hit unless they include transactionId or revenue values, in which case they will be sent as a TRANSACTION event.

Page & Screen Segments calls will be respectively sent to Flagship as PAGEVIEW & SCREENVIEW hits.

If you haven’t had a chance to review the Segment’s spec, please take a look to understand what the Track method, Page method & Screen method do.

💡 Good to know

No additional configuration of the AB Tasty FE&R (Flagship) platform is needed beyond the initial SDK or API integration with your application.

Track call

Here is an example of track call:

analytics.track('Clicked AddToCart Button')

In Flagship, it will be retrieved as an EVENT hit to ariane.abtasty.com and will be transformed with the following payload:

{
"cid": "<environmentId>",
"ea": "Clicked AddToCart Button",
"ec": "Action Tracking",
"t": "EVENT",
"vid": "visitorId1234567",
"ds": "APP",
}

Transaction call

Here is an example of a Segment transaction call:

analytics.track('Purchase', {
  transactionId: 'QWERTY12345',
  revenue: 349
});

In AB Tasty FE&R (Flagship), it will be retrieved as a TRANSACTION hit to ariane.abtasty.com and will be transformed with the following payload:

{
"cid": "<environmentId>",
"ta": "Purchase",
"tid": "QWERTY12345",
"t": "TRANSACTION",
"vid": "visitorId1234567",
"ds": "APP",
}

Page call

Here is an example of a Segment page call:

analytics.page('Home');

// with the Payload
{
"type": "page",
"name": "Home",
"properties": {
  "title": "Welcome | Home",
  "url": "http://www.example.com"
 }
}

In AB Tasty FE&R (Flagship), it will be retrieved as a PAGEVIEW hit to ariane.abtasty.com and will be transformed with the following payload:

{
"cid": "<environmentId>",
"dl": "http://www.example.com",
"t": "PAGEVIEW",
"pt": "Welcome | Home"
"vid": "visitorId1234567",
"ds": "APP",
}

Screen call

Here is an example of a Segment screen call:

analytics.screen('Home');

// with the Payload
{
"type": "screen",
"name": "Home",
}

In AB Tasty FE&R (Flagship), it will be retrieved as a PAGEVIEW hit to ariane.abtasty.com and will be transformed with the following payload:

{
"cid": "<environmentId>",
"t": "SCREENVIEW",
"pt": "Home"
"vid": "visitorId1234567",
"ds": "APP",
}

Once triggered, hits will be available in the AB Tasty FE&R (Flagship) reports for the campaigns to which the visitor who triggered the hit has been assigned. It can take up to three hours for the events to be displayed in the reports.

⚠️ Important

You must use the exact same vistitorID between Segment.com and the call to the Decision API.

The hits sent by Segment to AB Tasty FE&R (Flagship) appear in the first step (Basic information) of any feature. From there, you will be able to select one or more KPIs that will appear in your report.

AB Tasty FE&R (Flagship) and Segment need to have the exact same visitorID to consolidate data between the tools. Check with your engineers to ensure the same value is passed in the Decision API and the Segment calls.

Depending on your implementation (server- and/or client-side), the order in which you call Flagship and Segment might change. In either case, make sure the same value is used for the Segment userID and AB Tasty FE&R (Flagship) visitorID to avoid any analytics discrepancies between the tools.

Configuration

To benefit from Segment integration, you need to:

  • have an account with Segment.com;

  • have an Enterprise account on AB Tasty FE&R (Flagship).

To configure the integration of AB Tasty FE&R (Flagship) with Segment, follow this Segment catalog link.

No additional configuration of the AB Tasty FE&R (Flagship) platform is needed beyond the initial SDK or API integration with your application.

PreviousZapier integrationNextConfiguring Sequential Testing Alerts

Last updated 2 days ago

Was this helpful?

To configure the integration of AB Tasty FE&R (Flagship) with Segment, follow this .

Segment catalog link