내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards
해결됨

Preview Links Injecting Modifications Twice

Avatar

Level 2

I have an activity where I have inserted HTML using Insert After or Insert Before on an element. Whenever I use the preview links to load the activity, it is like it fires twice and anything I have inserted after or before another element shows twice. Is there any way to get the preview link to only fire changes once?

주제

토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 3

@MelissaMa7  I've reviewed the URL you provided and observed only a single call, with the experience rendering correctly on my end. However, I was able to replicate the double-loading issue you described when repeatedly changing cookie consent (accept → reject → accept). This happens because the page isn't reloading after the consent modifications. To resolve this, I suggest implementing a page reload after the second consent change.

원본 게시물의 솔루션 보기

4 답변 개

Avatar

Level 3

@MelissaMa7This issue may occur if the Adobe Target page load request is firing twice on the page or if the modifications were duplicated during the activity setup. If possible, please share the preview URL or the Target call response object so we can better understand the issue and provide a more accurate solution.

Avatar

Level 2

Yes, it seems like the page load request is firing twice. Here is the preview link: Cat® Filters & Fluids. We have Adobe Target set to fire after you accept cookies. I will say I am facing another issue too where I have to accept cookies, reject them, and then accept them again for the experience to show. After doing that it shows but inserts all my changes twice.

Avatar

정확한 답변 작성자:
Level 3

@MelissaMa7  I've reviewed the URL you provided and observed only a single call, with the experience rendering correctly on my end. However, I was able to replicate the double-loading issue you described when repeatedly changing cookie consent (accept → reject → accept). This happens because the page isn't reloading after the consent modifications. To resolve this, I suggest implementing a page reload after the second consent change.

Avatar

Level 4

This may be root cause of the Target script getting injected twice on the page on cookies acceptance. Once cookies are accepted, if you separately open new tab, it should show only single call for Adobe target.