Hi All,
We are planning to capture redirect data in Adobe analytics when there is traffic going to vanity URLs that redirects to our marketing site. For context, this is required to provide clarity to sources of traffic that currently appear as “Typed/Bookmarked”.
Below is the reference guide followed.
https://experienceleague.adobe.com/docs/analytics/technotes/redirects.html%3Flang%3Des
I have tried updating the rewrite rule used for ACS Redirect Mapper feature. But this is not helpful.
Basically I want to preserve HTTP Referrer when using a 301 Redirect.
Please share any thoughts or pointers here.
# Add authorable RewriteMap
RewriteMap usredirects "dbm:/etc/httpd/conf.d/redirectmaps/us.map"
RewriteCond ${usredirects:$1} !=""
RewriteRule ^(.*)$ ${usredirects:$1|/}?originref=%{HTTP_REFERER} [L,R=301]
Solved! Go to Solution.
Views
Replies
Total Likes
In context of 301 redirects, it's the client that decides whether to send the referrer information or not and it's not reliable. Some clients may omit to send referrer information and send the request as completely new request altogether.
Normally, If the referrer information is present, it is sent to the server as is.
This article may be helpful: https://serverfault.com/questions/977403/preserve-http-referer-when-using-a-301-redirect
@aanchal-sikka @Rezwanur @Saravanan_Dharmaraj @Sudheer_Sundalam @lukasz-m @Preetpal_Bindra Can you please review this unanswered question? Appreciate your thoughts on this.
Views
Replies
Total Likes
In context of 301 redirects, it's the client that decides whether to send the referrer information or not and it's not reliable. Some clients may omit to send referrer information and send the request as completely new request altogether.
Normally, If the referrer information is present, it is sent to the server as is.
This article may be helpful: https://serverfault.com/questions/977403/preserve-http-referer-when-using-a-301-redirect