top of page

Wix Studio Exit‑Intent Popup Tutorial with Velo Code

Unlock more leads and sales with a custom exit‑intent popup in Wix Studio!

Wix Studio Exit‑Intent Popup Tutorial with Velo Code

In this step‑by‑step Velo tutorial, you’ll learn how to: 

  • Add a pre‑designed lightbox (no design skills needed!) or design your own :) 

  • Disable lightbox triggers 

  • Start coding with Velo, paste our exit‑intent snippet, and customize the lightbox name 

  • Assign the popup to any page—Homepage, Product, Blog, you name it 

  • Test live on your site so you know it works 


In my example, I build a Flash Sale exit‑intent popup that links directly to a Clearance Sale category page. But you can adapt this for newsletter signups, free consults, promo codes or any call‑to‑action you need. 


Check out my You Tube Channel here!

Copy the Velo Code here!

import wixSite from 'wix-site';

import { openLightbox } from 'wix-window-frontend';


// Prefetch the lightbox so it loads instantly when triggered

wixSite.prefetchPageResources({

  lightboxes: ['Lightbox Name']

});


$w('#page1').onMouseOut(() => {

  openLightbox('Lightbox Name');

});


bottom of page