> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.popupmaker.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to open a popup On Scroll?

| **Before starting the setup of the opening events for your popup, it is assumed that you have already [embedded the popup](https://help.popupmaker.com/en/article/how-to-add-a-popup-to-your-custom-website-arp8an/) into your website, or [attached via the plugin](https://help.popupmaker.com/en/category/plugins-and-extensions-1s4euao/) you are using connected to Popup Maker service.**

In the **Events** section of the Popup Maker editor (the left side of the page) you can select the events on which your popup will open on your site.

![On scroll opening popup](https://storage.crisp.chat/users/helpdesk/website/827841c5a93da800/on-scroll-opening_1atnbks.png)

# On Scroll

If you select the On Scroll event type, the popup will automatically open when the user scrolls the page. 

**After** - Specify the part of the page (in pixels) reaching which the popup will appear when the page is scrolled.

**Delay** -  Specify the seconds for the popup opening delay. After the user stays on your page for the specified seconds, the popup will appear if they scroll the page and reach your specified part.