Checking If Your Referring Domain Works
Debugging campaign experiences where the targeting is a certain link, you can use document.referrer which will return the URL that you were just directed from.
This is helpful with redirects to understand if there is referral information when coming from a page that is automatically directing to you a different site.
You can also use DY.serverUtils.getRef() to show the last page you navigated from when DY is implemented on each page.
Please sign in to leave a comment.
Comments
0 comments