Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments

Regarding Capturing the Referrer in case of Redirects and Alias


Level 2

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.


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/"
RewriteCond ${usredirects:$1} !=""
RewriteRule ^(.*)$ ${usredirects:$1|/}?originref=%{HTTP_REFERER} [L,R=301]


0 Replies