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:
Create a standard campaign, applying your desired modifications
Click on "More options". Target by Event option appears.
Toggle on "Target by Event".
Set up the rest of your campaign as usual
Enter your ABTasty campaign ID in the Made with Intent Trigger Campaign modal
How to preview:
You can put your ABTasty campaign live, as it won't run except when the targeting is fired by Intent
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)
}
);