Skip to main content
Solved

display popup after user clicks cookie consent bar

  • 7 July 2024
  • 1 reply
  • 21 views

Helllo

is it possible to arrange the popup to appear after user clicks the cookie consent button? Obviously I can’t delay popup by X seconds or delay popup until X-percent of page is displayed - but I’d like to tie it into it appearing X-seconds after cookie consent is clicked ?

1 reply

Userlevel 5
Badge +26

Hello @martinnorth Yes, you can trigger the pop up after X seconds of clicking on consent banner.

For this you will have to write  a JavaScript code and call this function.

window._klOnsite = window._klOnsite || []; window._klOnsite.push(['openForm', 'KLAVIYO_FORM_ID_HERE']);

 

Documentation link: https://help.klaviyo.com/hc/en-us/articles/4418052317339

Reply