Skip to main content
Level 2
Nov 21, 2019 6:59 AM UTC
Solved

Redirection Offer-Adobe Target

In redirection activity, of users who are landing on https://www.xyz.com, I want to redirect to this https://www.xyz.com/ abc/#/auth URL.

If i am using the "redirect to URL" option in direct, it is not accepting the redirection URL coz it has Hash Fragment. How to solve this problem.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Gaureshk_Kodag
Gaureshk_KodagAccepted solution
Adobe Employee
Nov 22, 2019 6:10 AM UTC

Hi praveshn57004778 ,

You can try this in custom code option

// Simulate a mouse click:

<script>

window.location.href = "abc/#/auth";

</script>

<script>

// Simulate an HTTP redirect:

window.location.replace("abc/#/auth");

</script>

2 replies

Gaureshk_Kodag
Adobe Employee
Gaureshk_KodagAdobe EmployeeAccepted solution
Adobe Employee
Nov 22, 2019 6:10 AM UTC

Hi praveshn57004778 ,

You can try this in custom code option

// Simulate a mouse click:

<script>

window.location.href = "abc/#/auth";

</script>

<script>

// Simulate an HTTP redirect:

window.location.replace("abc/#/auth");

</script>

Translate
Level 2
Nov 22, 2019 6:25 AM UTC

Hi Gauresh,

The problem with this solution is that it creates a significant amount of flicker. Is there any other optimize way?

Translate