Trigger A/B Experience on click of button
Hello,
I hope someone can help me understand how I can build a trigger in Target to only call the test if a certain button is clicked.
We have a webpage with two buttons (1) and (2), upon clicking either button the page will show content (different for each).
We have a direct call happening for Analytics which pushes a datalayer value as a eVar upon click of each of the buttons.
In relation to target and the reason for this post, I have a simple A/B test, however I'd like this only to work if button (2) is clicked. Not on page load. Reason for this is that it will remove noise and the people who click on button (1).
Can anyone help me understand the best approach to code this test up to answer the above
Thanks