Set a Popup Condition Based on a Query Argument or Query Name-Value Pair

Internet requests to web sites are made through names that people can read and understand (e.g.
https://wppopupmaker.com takes you to the Popup Maker web site). Web sites contain a lot of searchable information that are stored in databases.

If a web site has a lot of information, users need a way to search the site in a targeted way. A ‘query string’ added after a web address allows for a specific search within a site. Each separate search term in a query string is called an ‘argument’, and is preceded by a question mark (‘?’). A web site address can search on one or more terms or arguments.

Query String Arguments

Here is an example of an imaginary web address that includes 3 arguments

https://www.online-store.com/?widgets&?colors&and?sizes

The argument are named ‘widgets’, ‘colors’, and ‘sizes’. [The ‘&amp’ separates the terms and is ignored by the browser.]

The query string argument are the characters that occur after the ‘?’;

?redirect_to=https%3A%2F%2Fwppopupmaker.com%2……….

Notice the equals sign between ‘?redirect_to’ and ‘https%3A%2A…..’ In this case, the name of the query string argument is assigned a specific value right in the web address! We call these types of query strings
‘name-value’ pairs. You might encounter other examples like:

Applying ‘Query Argument Is’ to Set a Popup Condition

Using the
Advanced Targeting Conditions plugin extension, you could activate a popup when a query string ‘name-value’ pair appears after a web address. This approach is more specific than the ‘Query Argument Exists’ condition described above.

In the Conditions box, choose:

URL >> Query Argument Is >>

{argument-name} // first input field

{argument-value} // second input field

Did this answer your question?Thanks for the feedbackThere was a problem submitting your feedback. Please try again later.