Skip to main content
Solved

Exit Trigger for a Cart drawer?

  • July 14, 2024
  • 1 reply
  • 36 views

Forum|alt.badge.img+1

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?

Best answer by Maxbuzz

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

1 reply

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

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