Skip to main content
Solved

display popup after user clicks cookie consent bar

  • July 7, 2024
  • 1 reply
  • 126 views

Forum|alt.badge.img+1

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 ?

Best answer by Maxbuzz

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

1 reply

Forum|alt.badge.img+32
  • Partner
  • 253 replies
  • Answer
  • July 8, 2024

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