> ## 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 show a popup after X pages visit?

| **Before starting the setup of the display rules 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.**

| **Plus, make sure you have selected at least one [opening event](https://help.popupmaker.com/en/category/popup-opening-events-2s1enc/) for your popup.**

In the **Display Rules** section you can set up your popup to be shown after the user visits some amount of pages on your site, with **After X Pages Visit** option.

![After X pages visit option](https://storage.crisp.chat/users/helpdesk/website/827841c5a93da800/after-x-pages-visit-option_1dn1sdn.png)

Simply click on the **After X Pages Visit** popup option and specify the count of the pages after which the popup will be shown to the user. 

So if the count is set "3", the popup will appear to the users after they visit 3 pages on your site.

![After x pages visit option scaled](https://storage.crisp.chat/users/helpdesk/website/827841c5a93da800/after-x-pages-visit-scaled_1crhux9.png)