1. Home
  2. Knowledge Base
  3. Personalization Rules
  4. Personalization by Query String

Personalization by Query String

PersonalizeWP offers powerful personalization rules as part of it’s feature-set that allow you to show and hide content based on who they are, where they have come from and their behavoiurs and actions on your site.

By using personalization, you can create a more engaging and relevant user experience by tailoring content, recommendations, and interactions to individual preferences. This leads to increased user satisfaction and retention.

How does a Query String-Based Rule help?

Query string personalization rules offer marketers a dynamic way to tailor website content based on specific parameters passed in a URL. By utilizing query strings, you can customize the user experience to align with the context of their visit, making your marketing efforts more targeted and effective.

For instance, if you’re running a targeted email campaign or an ad campaign on Google, you can include specific query strings in the links. When users click through, the query string can trigger personalized content on your site, such as displaying a unique discount offer or a tailored landing page that matches the campaign they came from. This ensures that your messaging is consistent and relevant, increasing the chances of conversion.

Moreover, query string rules can be used to segment your audience based on various parameters, such as location, campaign source, or even user preferences indicated in the query string. This allows you to present different content, offers, or messages to different segments, all from the same landing page, without needing separate URLs.

Query string personalization helps you deliver a more relevant and engaging experience to your visitors, driving better results from your marketing campaigns by aligning the on-site experience with the intent behind their visit.

Creating Query String-Based Rules

You can access PersonalizeWP’s personalization rule tools by going to WP-Admin > Personalize > Dashboard > Personalization.

On this screen, you can view a paginated list of all rules currently active and inactive, and an optional view by category.

Create Rule

Clicking on Create Rule takes you to the screen where you can create a new personalization rule. You enter a name for your rule, select the category you want to place it in, and then choose Conditions > Query String In from the dropdown.

Next, you can select the comparator, which for this rule type offers the options:

Equals

  • Does Not Equal
  • Contains
  • Does Not Contain
  • Key/Value

Then you can choose to enter a specific value in the value field. If you choose Key/Value, then you will be prompted to enter both of these values.

Click on the button to Create Rule and return to the list screen.

Using Query String-Based Rules

You can choose a rule in the Personalize sidebar for any block that you can selected in the Block Editor.

Rules has it’s own dropdown, and you can select any of the rules that are active. In this instance, select your chosen new visitor-based rule and then determine the behaviour for that block (show/hide) if the visitor meets that criteria.

If you wish, you can add multiple rules to the same block, even those of a different type and category – for instance, new visitor and location.

You can also combine a personalization rule with segments and lead score values to create highly targeted content.

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support