Sleeknote Help Center

Use 'onclick' event to open a campaign

If you want your campaign to pop up when clicking on a button, a link or pretty much anything you can run this javascript:

SleekNote.triggerOnclick('6265aea9-8935-4aaf-8ab0-755834ff3dc0')

Notice that 6265aea9-8935-4aaf-8ab0-755834ff3dc0 is the ID of the campaign.

You can find the ID on the ‘My campaigns’ page when you click on options.

Skærmbillede_2017-07-20_kl__11_25_26

Here is an awesome example on how it will look in your HTML:

<aclass="et_pb_promo_button" onclick="SleekNote.triggerOnclick('6265aea9-8935-4aaf-8ab0-755834ff3dc0')">DOWNLOAD AWESOMENESS FOR FREE - HERE</a>

2015-07-23_0934

When your visitors push the button the SleekBox will pop up.

This is an alternative way to use SleekBoxes and generate more quality leads!