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
  • How Campaign Data Is Sent
  • How to set up the integration
  • Heap dashboard
  • FE&R dashboard
  • Decision API
  • How to check data

Was this helpful?

Edit on GitLab
Export as PDF
  1. Integrations

Heap Analytics integration (Push)

PreviousSending transactions from the AB Tasty Shopify app directly to Feature Experimentation & RolloutsNextTealium AudienceStream (receive audiences)

Last updated 2 days ago

Was this helpful?

Heap is a Product Analytics company that provides analytics infrastructure and helps their clients to focus on discovering insights and taking action, not writing tracking code.

The Heap Analytics integration allows you to send the Feature Experimentation & Rollouts (FE&R formerly Flagship) campaign data to your Heap Analytics project.

How Campaign Data Is Sent

Each time you have a FE&R campaign, a hit is generated and sent into Heap. Instead of AB Tasty client side, where the hit is sent thanks to a native method provided by the Heap tag, here, we send the hit thanks to the Heap API.

See documentation here:

  • Event name is "flagship"

  • flagship_campaign contains the Campaign ID and Campaign Name formatted as [campaign_id] campaign_name

  • flagship_variation contains the Variation ID and Variation Name formatted as [variation_id] variation_name

  • visitorID: This visitor Id you provide when the decision API is called

How to set up the integration

Heap dashboard

  1. Go to your Heap dashboard and click: Account > Manage > Projects

  2. Click on the project in which you want to export data. A right panel is displayed with 2 environments. Copy the desired ID environment.

FE&R dashboard

  1. Go to the FE&R dashboard > Settings > Integrations and select the “Push” tab.

  2. Click Add Tool

Your integration is done!

Decision API

In order to retrieve the data into Heap, you must call the decision API. When a FE&R campaign is live, the decision API is called with something like that:

curl -X POST \
    _ENV_ID}}/campaigns \
    -H 'Content-Type: application/json' \
    -H 'x-api-key: VCSvGHthIEsUTarbRhzmhetbyPvsPGjShoJQmUtw' \
    -d '{
        "visitor_id": "YOUR_VISITOR_ID", 
        "context": {},
        "visitor_consent": true,
        "trigger_hit": true,
        "decision_group": null
    }'

So each time this decision API will be called, one (or several) hits are automatically sent into HEAP with the FE&R campaign information.

How to check data

Into your Heap dashboard, go to Data > live data feed.

Inside this streaming of live data and each time the decision API is called, you will see that the FE&R event is available (this event can take up to 5 / 10 min to be displayed).

Event: Flagship

Identity or UserId // the visitorId you give inside the decision API

Other properties: Id + name of campaign // id + name of variation

Select Heap analytics from the dropdown list. An input is display with the label app ID. Paste the ID you copied from the Heap dashboard.