UtilitiesFOMOReference
Events
fomo:shown
When: A popup becomes visible. Fires once per popup display.
Payload:
| Field | Type | Description |
|---|---|---|
customer | string | The randomly chosen customer name (e.g. "Sarah from Dallas") |
product | string | The randomly chosen product text |
image | string | The product image URL or data URI |
Example:
{
"customer": "Sarah from Dallas",
"product": "Premium Bundle",
"image": "https://example.com/premium.jpg"
}Listening to Events
window.nextReady.push(() => {
window.next.on('fomo:shown', ({ customer, product }) => {
// Send to analytics
gtag('event', 'fomo_shown', {
customer,
product,
});
});
});The FOMO popup does not emit click or close events. There is no fomo:clicked or fomo:closed — the popup is purely visual social proof and is not interactive. If you need an interactive offer popup, use Exit Intent instead.