Target - Redirection Offer-Adobe Target

Last update: 2022-11-17

Description

In redirection activity, users who are landing on https://www.xyz.com, need to be redirected to https://www.xyz.com/abc/#/auth URL.

When using the “redirect to URL” option in direct, the redirection URL is not accepted because it has a Hash Fragment. How to solve this problem.

Resolution

To solve this, use a custom code option as:

// Simulate a mouse click:

script

window.location.href = “abc/#/auth”;

/script

script

// Simulate an HTTP redirect:

window.location.replace(“abc/#/auth”);

/script

On this page