Skip to content

added analytics.google.com to domains#1133

Closed
jhpacker wants to merge 5 commits into
ghostery:mainfrom
jhpacker:main
Closed

added analytics.google.com to domains#1133
jhpacker wants to merge 5 commits into
ghostery:mainfrom
jhpacker:main

Conversation

@jhpacker

@jhpacker jhpacker commented Apr 7, 2026

Copy link
Copy Markdown

in many cases GA measurement requests are sent to analytics.google.com, e.g.:
https://analytics.google.com/g/collect?v=2&tid=G-xxx

jhpacker and others added 5 commits April 7, 2026 08:11
changed plausible_analytics to category site_analytics
The previous regex /metrics\..*\.(com|net|org)\/b\/(s|ss)\// required
"metrics." in the hostname and only matched .com/.net/.org TLDs. This
missed first-party Adobe Analytics proxies using other subdomain names
(e.g. smon.loc.gov) or other TLDs (.gov, .edu, etc.).

The /b/ss/{suite_id}/{version}/ path structure is unique to Adobe
Analytics (formerly Omniture SiteCatalyst), so matching on the path
alone is sufficient and avoids false negatives.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

@seia-soto seia-soto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

analytics.google.com is already listed in google_signals.eno.

db/patterns/google_signals.eno
7:analytics.google.com
11:||analytics.google.com^$third-party
12:||region1.analytics.google.com^$third-party

Regarding plausible_analytics re-categorisation, I suggest to open an issue if you think it's wrongly categorised.

||adoberesources.net/alloy/*/alloy^$3p
/h10000/cma/tms/metrics.js
/metrics\..*\.(com|net|org)\/b\/(s|ss)\//
/\/b\/ss?\/[^\/]+\/\d+\//

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, move this into a separate pull request. It seems like this has nothing to do with Google Analytics.

||stats.g.doubleclick.net/__utm.gif
||stats.g.doubleclick.net/dc.js
||googleanalytics.com/analytics.js
/\/g\/collect\?v=\d+&tid=G-/

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The regex filters have to be avoided if possible. Please, use: /g/collect^ instead.

@@ -1,5 +1,5 @@
name: Plausible Analytics
category: utilities
category: site_analytics

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I later found there's a separate pull request for this. Please, cancel this changes here.

@seia-soto

Copy link
Copy Markdown
Member

I see #1134 for the plausible. However, there's no more topic to proceed in this pull request without it. I see #1134 as a continuation pull request and closing this.

@seia-soto seia-soto closed this Apr 12, 2026
@seia-soto

Copy link
Copy Markdown
Member

Also, duplicate of #251.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants