Sending AB Tasty campaign data to Hubspot

HubSpot-Logo-PNG.png


You can enrich your HubSpot contact records with AB Tasty campaign data by pushing it via a custom behavioral event using the HubSpot API. This allows you to segment, personalize, and automate marketing actions based on which AB Tasty experiments or variations your visitors see.

Use Case

Push the following data to HubSpot when a visitor becomes identifiable (e.g. after form submission or login):

  • Campaign name

  • Campaign ID

  • Variation name

  • Variation ID

  • Emotions AI segmentation (EAI) (if available on your package)

Step-by-Step Guide

1. Create a custom event in HubSpot

  1. Go to Settings > Data Management>Custom Events
  2. Click on Create event

Capture d’écran 2025-04-11 à 11.13.20.png

 

Capture d’écran 2025-04-11 à 11.14.00.png

 

2. Select how to send event data

  1. Select Send via API methodCapture d’écran 2025-04-11 à 11.14.40.png

3. Enter events details

  1. Enter ABTASTY as the event name
  2. Add the following event properties as String Property

Capture d’écran 2025-04-11 à 11.16.14.png

 

Capture d’écran 2025-04-11 à 11.17.46.png


3. Create 5 Properties using this naming convention (repeat the same process for each property)

  • abt_campaign_name (Text)

  • abt_campaign_id (Text)

  • abt_variation_name (Text)

  • abt_variation_id (Text)

  • abt_emotions_ai (Text) // If you have an Emotions AI License

Capture d’écran 2025-04-11 à 11.19.30.png


Once completed, it should look like this
Capture d’écran 2025-04-25 à 09.33.50.png

4. Activate Default event properties (Optional)

If you want more Linked Data. You can activate the Default event Properties 

Capture d’écran 2025-04-11 à 11.22.39.png

5. Link to Object

  1. Choose Contact as a primary objectCapture d’écran 2025-04-11 à 11.25.01.png

 

6. Configuring Tracking ID

Save the Tracking ID and save the creation of your custom event. You'll need it to create our AB Tasty Connector (You can find it again on the HubSpot event details page)

Capture d’écran 2025-04-11 à 11.25.40.png

 

7. AB Tasty configuration

Once everything is ready in HubSpot, you can set up the connector in AB Tasty:

  1. Navigate to the Integration Hub within your AB Tasty account.

  2. Use the search bar to find the HubSpot Card in the PUSH section.

  3. Click on Create a Connector.

  4. Enter a name for your new connector.

  5. Paste the HubSpot Tracking ID you generated from the previously created event into the appropriate field.

    Capture d’écran 2025-04-30 à 09.43.14.png

 

Was this article helpful?

/