22
0
Fork 0

ajout d'un nouveau cookie pour GA

This commit is contained in:
Gregory Colpart 2020-02-10 14:23:09 +01:00
parent bb7196ebe6
commit 91951b3039
1 changed files with 1 additions and 0 deletions

View File

@ -380,6 +380,7 @@ sub vcl_recv {
set req.http.Cookie = regsuball(req.http.Cookie, "_ga=[^;]+(; )?", ""); # Google Analytics
set req.http.Cookie = regsuball(req.http.Cookie, "_gaq=[^;]+(; )?", ""); # Google Analytics
set req.http.Cookie = regsuball(req.http.Cookie, "__utm[^=]*=[^;]+(; )?", ""); # Google Analytics
set req.http.Cookie = regsuball(req.http.Cookie, "_gid[^=]*=[^;]+(; )?", ""); # Google Analytics
if (req.http.cookie ~ "^ *$") {
unset req.http.cookie;