Updated Jul 14, 2026

Recon

Correlate sibling properties from shared UA IDs

Find related domains via shared Google Analytics IDs.

commit 56223e2 on Trickest · Go · GPL-3.0 license

Free plan: 1 user, 3 execution slots, no card.

overview

What analyticsrelationships does

Run analyticsrelationships when DNS and cert lineage miss sibling brands. It pulls a UA- ID from each URL in the file, then looks up other hosts reporting that ID.

This is an identifier pivot, not brute force. Enable -ch so output is hostnames only, then merge into scope for probing and subdomain enum.

Trickest hosts it as a managed Recon node: FILE of URLs in, FILE and FOLDER of related hosts out. Pair with amass-intel or favfreak for other ownership pivots.

source github.com/Josue87/AnalyticsRelationships · commit 56223e2 on Trickest

image quay.io/trickest/analyticsrelationships:56223e2

use cases

analyticsrelationships use cases

Pivot from one site to sibling properties

Extract a target's Google Analytics ID and find other domains reporting the same ID, surfacing siblings that share ownership but not DNS lineage.

Expand scope past DNS-discoverable assets

Reach related domains that subdomain enumeration cannot find because the link between them is a shared tracking identifier, not a name pattern.

Map an acquisition's spread-out footprint

After a merger or rebrand, an old Analytics ID often lingers across legacy properties, tying together domains that live on different registrars and hosts.

Feed discovered domains into enumeration

Run with -ch to emit clean hostnames, merge them into the target list, and let probing and subdomain discovery cover the wider footprint.

reference

analyticsrelationships inputs and flags

2 inputs
NameTypeFlagDescription
urlsFILE·File of URLs to scan for Google Analytics IDs (one per line).
chain-modeBOOLEAN-chOutput only the related hostnames with no banner or status lines, ready for chaining.

Showing key inputs. analyticsrelationships exposes 2 inputs in total.

example

analyticsrelationships command examples

analyticsrelationships · command
# urls.txt holds target URLs, one per line (e.g. https://example.com)
analyticsrelationships < urls.txt
Illustrative
[+] Testing: https://example.com
[+] Analytics ID found: UA-41528837-2
[+] Related domains and subdomains:

    example.org
    shop.example.net
    blog.example.com
    careers.example.com

[+] 4 related hosts found

guidance

analyticsrelationships vs alternatives

Use analyticsrelationships during scope expansion when you want related properties through shared Google Analytics IDs, a link name-based discovery cannot follow. Feed findings into probing and enumeration stages.

ToolPick it when
amass-intelFinds related domains via reverse whois, ASN, and CIDR. A different pivot than the Analytics-ID link.
subfinderEnumerates subdomains of a known domain. analyticsrelationships finds sibling domains across ownership instead.
favfreakCorrelates assets by favicon hash. Another identifier-based pivot to run alongside this one.

faq

analyticsrelationships FAQ

It requests each URL you give it, extracts the Universal Analytics tracking ID from page source, then queries a reverse-analytics index for other domains and subdomains reporting that same ID.

It pivots on the Universal Analytics UA- format that public reverse-analytics indexes catalog. Sites running only GA4 measurement IDs often return no relationships unless a legacy UA- tag remains in source.

It fetches the pages you supply to read tracking IDs, then looks up relationships against a third-party index. It sends no scanning traffic to the related hosts it discovers.

subfinder and amass enumerate subdomains under a domain you already know. analyticsrelationships works sideways across separate domains that share a common Analytics ID. Run it alongside them, not instead of them.

-ch drops the banner and status lines and prints only related hostnames, one per line. Use it when the node feeds httpx, subfinder, or another scanner.

Wire a FILE of URLs into the urls input, one URL per line. The node pivots the whole list in one run.

Run analyticsrelationships yourself

A list of URLs feeds analyticsrelationships, which finds domains sharing the same Analytics ID and passes them to httpx so live related hosts land as output.

Facts on this page come from the live Trickest tool library.