Improve Google Analytics pattern

See also #390.
main
q-- 11 years ago committed by q--
parent f5a06feffd
commit a98c339276

@ -1083,7 +1083,7 @@
"website": "google.com/analytics", "website": "google.com/analytics",
"cats": [ 10 ], "cats": [ 10 ],
"html": "_gaq\\.push\\(\\['_setAccount|i\\['GoogleAnalyticsObject'\\]|ga\\.async = true", "html": "_gaq\\.push\\(\\['_setAccount|i\\['GoogleAnalyticsObject'\\]|ga\\.async = true",
"script": "(?:\\.google-analytics\\.com\/ga\\.js|\/urchin\\.js|\\.google-analytics\\.com\/analytics\\.js)", "script": "^https?://[^\/]+\\.google-analytics\\.com\/(?:ga|urchin|(analytics))\\.js\\;version:\\1?Universal Analytics:",
"headers": { "Set-Cookie": "__utma" }, "headers": { "Set-Cookie": "__utma" },
"env": "^gaGlobal$" "env": "^gaGlobal$"
}, },