Target — 重新導向Offer-Adobe Target

瞭解使用「重新導向至URL」選項時,為何不接受重新導向URL。

說明 description

環境

標記

問題/症狀

在重新導向活動中,您正在登陸https://www.xyz.com,且必須重新導向至https://www.xyz.com/abc/#/auth URL。

在Direct中使用「重新導向至URL」選項時,重新導向URL不被接受,因為它有雜湊片段。

如何解決這個問題。

解決方法 resolution

若要解決此問題,請使用自訂程式碼選項,如下所示:

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