Sticky Bar Button with URL to Close on Click

  • 10 September 2019
  • 2 replies
  • 22 views

I am wondering how to make a sticky bar button that goes to a URL, close upon a visitor clicking on it. I know there’s a “close on click” option for button actions, but I have to pick either that or the URL option.

The use case here is getting a EU cookie notice sticky bar on the website, but with both Accept and Decline options. They both link to commands for our Marketo system opting them into cookies or opting out (which are URLs).

Thanks for any insight!


2 replies

Userlevel 7
Badge +3

Hi @peienthong,

You would have to custom code this. The click would close the sticky bar but also in the background send a ping to Marketo.

Best,
Hristian

Thanks @Hristian - that’s what I had I thought. Hoping Unbounce makes this a native feature as it would be handy.

Reply