Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Redirection Offer-Adobe Target

praveshn5700477
Level 3
Level 3

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.

1 Accepted Solution
gaureshk3014423
Correct answer by
Level 9
Level 9

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>

1857532_pastedImage_5.png1857719_pastedImage_6.png

View solution in original post

2 Replies
gaureshk3014423
Correct answer by
Level 9
Level 9

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>

1857532_pastedImage_5.png1857719_pastedImage_6.png

View solution in original post

praveshn5700477
Level 3
Level 3

Hi Gauresh,

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