Target - 리디렉션 오퍼-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