Target - Redirection Offer-Adobe Target

Description 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 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

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f