Skip to main content

AB Tasty Trigger

Charley Bader avatar
Written by Charley Bader
Updated this week

Create a third party trigger for ABTasty:

Trigger a campaign in ABTasty

We have added first class support for AB Tasty trigger using the native window.ABTastyStartTest() function.

How to implement:

  1. Create a standard campaign, applying your desired modifications

  2. Click on "More options". Target by Event option appears.

  3. Toggle on "Target by Event".

  4. Set up the rest of your campaign as usual

  5. Enter your ABTasty campaign ID in the Made with Intent Trigger Campaign modal

How to preview:

  1. You can put your ABTasty campaign live, as it won't run except when the targeting is fired by Intent

  2. Preview this campaign experience from the campaigns listing page

ABTasty Code targeting

When you choose an ABTasty Code Targeting trigger, a custom event

intent.campaign.<trigger-id>

is dispatched when your Made with Intent campaign experience fires. You can listen for this event and use it to resolve custom targeting triggers and custom code in campaigns.

e.g.

document.addEventListener( 
'intent.campaign.66d0200adf3681065c0eeb19',
function(e) {
// Enter resolution code here
abResolve(true)
}
);

Did this answer your question?