Personyze Redirect to URL Action Guide

Personyze Redirect to URL Action Guide

This guide explains how to use the Redirect to URL action in Personyze. This action enables you to send visitors to a different page automatically, either by redirecting them completely or modifying part of the current URL dynamically. It’s useful for routing users based on segmentation, behavior, or campaign conditions.


Overview

With this action, you can:

  • Send visitors to a new landing page
  • Modify UTM parameters or query strings
  • Redirect only selected users based on targeting rules
  • Use dynamic URL values (e.g., based on user profile)

Redirects are executed client-side and can be immediate or conditional. You can trigger them only once per session or repeat based on logic.


Step 1: Define the Redirect

There are two ways to set up your redirect:

Option A: Full URL Redirect

Simply enter the complete URL (e.g., https://example.com/promo) in the URL field.

Option B: Modify Specific URL Parts

Toggle on “Redirect visitors to a new page or modify part of the current URL dynamically” to edit individual parts:

  • Protocol: Choose HTTP, HTTPS, or no change
  • Host and Port: Replace domain (optional)
  • Pathname: Change just the page path (e.g., /new-offer)
  • Search (Query Parameters): Add or replace values (e.g., ?utm_campaign=summer)
  • Hash: Set a page anchor or tracking fragment (e.g., #thankyou)

Use this option to preserve some of the visitor’s URL context while modifying only specific parts (e.g., replacing only query parameters).

Use query string redirection to personalize destination pages without full reload


Step 2: Define Redirect Conditions

The action will only execute when all campaign targeting rules and display conditions are met. You can also configure suppression logic directly in the action:

Don’t Show If…

  • Action was already shown (e.g., after 1 time)
  • Another action was or wasn’t shown
  • Stop showing after certain campaign logic triggers

You can also scope the redirect to specific devices and pagegroups using the “Show only on these pages and devices” section.


Advanced Event Triggering

Optionally, you can delay the redirect until a certain event occurs (e.g., after another action or timer completes). This is useful for redirecting after form submissions or countdowns.

To avoid flickering or timing issues, use the synchronous Personyze tracking code when triggering redirects at the start of page load.


Google Analytics Reporting

Enable the checkbox labeled “Send action execution events to Google Analytics” to track the redirect as an event. This is helpful for understanding when and how often the redirect is being triggered as part of campaign reports.


Best Practices

  • Use query string redirection to personalize destination pages without full reloads
  • Test redirects on all device types using Personyze’s preview
  • Use suppression logic to avoid loops or repeated redirects
  • Include dynamic variables in the URL if using profile-based personalization (e.g., ?user=${args->user_id})

Resources

Need help with redirect logic or variable interpolation? Contact Personyze support or request a setup review.