carlsednaoui / ouibounce

Increase your landing page conversion rates.
MIT License
2.31k stars 373 forks source link

Provide a technical explanation of what triggers the modal #39

Closed simevidas closed 10 years ago

simevidas commented 10 years ago

"Define how far the mouse has to be from the window breakpoint."

Could you explain this sentence? What is the window breakpoint? Also, the README doesn't explicitly define what triggers the modal. Could you add an explanation.

carlsednaoui commented 10 years ago

Hi @simevidas by window breakpoint I mean "the window edge". That's where the website's content ends and the URL bar starts.

The modal is triggered whenever the user is trying to leave your website — when she/ he moves the mouse pass the window breakpoint (to close the tab, change the URL, etc).

Let me know if that clarifies your question!

simevidas commented 10 years ago

Got it. When the mouse cursor moves close to the top of the viewport.

carlsednaoui commented 10 years ago

Thanks @simevidas, I just clarified the README: https://github.com/carlsednaoui/ouibounce#sensitivity

simevidas commented 10 years ago

:+1: