Skip to content

Commit 7fe5ae6

Browse files
author
MateuszKolankowski
committed
Keep Raptor Smart Advisor anonymous visitor identifier in Varnish configuration.
1 parent 14d3243 commit 7fe5ae6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/varnish/vcl/varnish6.vcl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ sub vcl_recv {
5353
set req.http.cookie = regsuball(req.http.cookie, "; +", ";");
5454
set req.http.cookie = regsuball(req.http.cookie, ";(IBX_SESSION_ID[^=]*)=", "; \1=");
5555
set req.http.cookie = regsuball(req.http.cookie, ";(ibexa[-_][^=]*)=", "; \1=");
56+
// Keep the Raptor Smart Advisor anonymous visitor identifier so CDP segmentation can resolve visitor segments.
57+
set req.http.cookie = regsuball(req.http.cookie, ";(rsa)=", "; \1=");
5658
set req.http.cookie = regsuball(req.http.cookie, ";[^ ][^;]*", "");
5759
set req.http.cookie = regsuball(req.http.cookie, "^[; ]+|[; ]+$", "");
5860

0 commit comments

Comments
 (0)