From c1450702fa9203198240ff2716194cec62c00165 Mon Sep 17 00:00:00 2001 From: kingthorin Date: Fri, 28 Sep 2018 19:53:29 -0400 Subject: [PATCH] Fix Issue 2419 (#2438) Removed seemingly unnecessary capturing group and non-numeric version tag in Google Analytics pattern to prevent falsely reporting "analytics" or "Universal Analytics" as a version identifier. I understand that there are `classic` (deprecated) and `universal` flavors offered (at some point) by Google so if you want this split into two different patterns let me know and I can tackle that too. However, with this not being what the majority in the IT industry would classify as a "version" identifier I figured this was a safe way to go. Fixes AliasIO/Wappalyzer#2419 --- src/apps.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps.json b/src/apps.json index 97732d876..ae804b0f9 100644 --- a/src/apps.json +++ b/src/apps.json @@ -3675,7 +3675,7 @@ "GoogleAnalyticsObject": "", "gaGlobal": "" }, - "script": "google-analytics\\.com\\/(?:ga|urchin|(analytics))\\.js\\;version:\\1?Universal Analytics:", + "script": "google-analytics\\.com\\/(?:ga|urchin|analytics)\\.js", "website": "http://google.com/analytics" }, "Google Analytics Enhanced eCommerce": {