How can I target a campaign when hidden element is displayed after button click?

benjamin776

04-04-2017

Hello,

I have a page that has a hidden DIV which is only displayed if a visitor clicks on a button.  How can I target a campaign so only visitors that click on the button is qualified for the campaign?  Once they qualify for the campaign, I will change the content of the hidden DIV that is now displayed.  I am using Target Standard, but can also do it in Target Classic if that is recommended.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Løjmann

05-04-2017

Hi Benjamin,

You need to implement a mbox call on the button, and set a flad in the users profile in target that he/she clicked that specific button. When the mbox call has been made, you will need to call target for the campaign/offer, using this method: https://marketing.adobe.com/resources/help/en_US/target/ov2/r_target-atjs-getoffer.html

Requires you are using at.js instead of mbox.js

/Løjmann