How to Show WordPress Popup Based on URL Parameter?

Key Takeaways

  • Nexter Blocks includes a Popup Builder block that allows users to show popups based on specific URL parameters.
  • Users can target visitors from an email by adding the URL parameter '?email=true' in the Popup Builder settings.
  • To ensure the popup displays correctly, users must set the Type to Hidden in the Popup Load Settings tab.
Table of Contents

Are you looking to show a popup based on a specific URL parameter? By displaying targeted popup messages based on specific URL parameters, you can deliver customized content that resonates with users’ interests and behaviors.

To check the complete feature overview documentation of the Nexter Blocks Popup Builder block, click here.

Requirement  – This block is a part of the Nexter Blocks, make sure it’s installed & activated to enjoy all its powers.

With the Popup Builder block from the Nexter Blocks, you can easily show a popup based on a specific URL parameter.

For instance, we want to show the popup visitors coming from an email.

To do this, add the block on the page, after choosing the appropriate popup type and adding the content, go to Display Conditions > Based on URL Parameter and turn on the toggle.

In the URL Parameter field, add the URL parameter you want to use to target the users. For instance, we have added “?email=true”.

pop up builder url parameter

Note: Make sure there are no popup trigger elements on the page, so set the Type to Hidden in the Popup Load Settings tab.

Now, to show this popup to the user coming from a specific source or location, in our case, this is email, you have to set this page’s (or location’s) URL with your specified parameter like this: https://yourwebsite.com/popup-page/?email=true.

In our case, only the users coming to this page from the email by clicking this link will see the popup.

About the Author

Photo of Aditya Sharma CMO of NexterWP
CMO at POSIMYTH Innovations · NexterWP · 7 years experience

He has spent years in the WordPress ecosystem building, breaking, and optimizing sites until they actually perform. He works at the intersection of speed, growth, and usability, helping creators ship websites that load fast and convert. An active WordPress community contributor sharing through tools, tutorials, and direct collaboration. Tested practice, not theory.

WordpressThemesElementorn8nAIClaudeAutomationServer

Share your Thoughts

Get Instant Answers to all your questions about Nexter Blocks,
Extensions & Theme trained on 1000+ Docs and Videos

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!

Related Frequently Asked Questions

What should I do if the popup doesn't show up when using a URL parameter?

If the popup isn't appearing, check that you've set the URL parameter correctly in the Popup Builder block settings. Ensure that the parameter matches exactly what you've defined, like '?email=true'. Additionally, verify that there are no conflicting popup trigger elements on the page. Setting the Type to Hidden in the Popup Load Settings tab is crucial to prevent other triggers from interfering.

What is the best practice for setting up popups based on URL parameters?

A best practice is to ensure that the URL parameter is specific and relevant to your audience. For instance, using '?email=true' is effective for targeting users from an email campaign. Additionally, always set the popup type to Hidden to avoid unwanted triggers. This setup ensures that only users who meet your specific criteria will see the popup, improving conversion rates.

What happens if I forget to set the URL parameter in the Popup Builder?

If you forget to set the URL parameter, the popup will not display for the intended audience. Users will miss out on the targeted content you designed for them. It's essential to double-check that the parameter is correctly entered in the Popup Builder settings to ensure the popup functions as intended.

Does the Nexter Blocks Popup Builder work with other page builders?

The Nexter Blocks Popup Builder is primarily designed for use with Gutenberg, as NexterWP is built exclusively for the Gutenberg WordPress ecosystem. While it supports Elementor and Bricks, the full functionality and integration are optimized for Gutenberg. If you are using another builder, you may not have access to all features.

Are there any limitations when using the Popup Builder with URL parameters?

One limitation is that the Popup Builder requires the Nexter Blocks to be installed and activated. Additionally, if there are multiple popup triggers on the page, it can lead to conflicts. Always ensure that only the desired popup is set to show based on the URL parameter to avoid confusion for users.

Last reviewed: April 14, 2026

Related Docs