Skip to main content
Solved

Exit Trigger for a Cart drawer?

  • 15 July 2024
  • 1 reply
  • 17 views

I notice it is pretty straight forward for a cart page. 

Popup will be triggered when exiting page→ only url /cart.

But I have a drawer in my store, and much prefer it for conversions but want to up that by triggering a pop up upon exit of that cart drawer. Is there anyway to accomplish this?

1 reply

Userlevel 5
Badge +26

Hello @taleology Yes, You can use JavaScript to trigger the popup when the cart drawer is closed.

Here is a tutorial when a popup is triggered on button clicked. In you case it will be close/collapse button of drawer

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

Reply