Merge pull request #540 from q--/patch-1

Improve Google Analytics pattern
main
Elbert Alias 11 years ago
commit c595f2bc8f

@ -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$"
}, },