Find related websites with analytics IDs and shared fingerprints
Websites run by the same people often share identifiers they forgot were visible. How to extract analytics, tag manager and advertising IDs from a page, look them up in reverse, use ads.txt, favicons and verification tags as fingerprints, and avoid the false links they produce.
· 7 min read
Someone who runs twenty websites does not set up twenty analytics accounts. They paste the same tracking snippet into each, connect each to the same advertising account, and reuse the same template. Those shared identifiers sit in the page source, readable by anyone, and they connect sites whose domain registrations are hidden behind privacy services.
This technique has exposed networks of fake news sites, scam shops and covert influence operations. It also produces false links more readily than most people realise. This guide covers both sides.
Identifiers worth collecting
Identifier | Looks like | Tied to |
|---|---|---|
Google Analytics 4 |
| An analytics property |
Universal Analytics (retired 2023) |
| An account. The middle digits are the account, the last number the property |
Google Tag Manager |
| A container that loads other tags |
Google AdSense |
| A publisher account that receives ad revenue |
Google Ads |
| An advertising account |
Meta Pixel | A 15 or 16 digit number near | An advertising account |
Yandex Metrica | A numeric counter ID | An analytics counter |
Affiliate tags | For example | An affiliate account that earns commission |
Site verification tags |
| A webmaster account |
The strongest are those connected to money. An AdSense publisher ID or an affiliate tag identifies who gets paid, and people do not share those casually.
The older UA- format deserves attention even though it no longer collects data. Many sites still carry the dead snippet, archives are full of it, and its structure is helpful: UA-1234567-1, UA-1234567-2 and UA-1234567-3 are three properties in one account.
Extracting them
View the page source in a browser and search for the prefixes, or pull them from the command line:
curl -sL -A "Mozilla/5.0" https://example.com | grep -oE "(UA-[0-9]+-[0-9]+|G-[A-Z0-9]{8,12}|GTM-[A-Z0-9]+|AW-[0-9]+|ca-pub-[0-9]{16})" | sort -uTwo places people miss:
Inside the Tag Manager container. A site may show only a
GTM-code, with everything else loaded through it. The container is itself a public file:
curl -s "https://www.googletagmanager.com/gtm.js?id=GTM-ABC1234" | grep -oE "(UA-[0-9]+-[0-9]+|G-[A-Z0-9]{8,12}|AW-[0-9]+)" | sort -uIn the site's past. Fetch archived copies and run the same search. A site that removed a shared ID last year carried it for five years before that. See our guide to the Wayback Machine for OSINT.
Check several pages. Checkout pages, blog templates and landing pages sometimes carry different tags from the home page. Sites that load tags only after a cookie banner is accepted may show nothing in the raw HTML, so look at the network requests in the browser's developer tools as well.
Looking them up in reverse
Once you have an ID, you need other sites that use it.
Source code search engines. PublicWWW and similar services index the HTML of millions of sites and let you search for any string, including an ID.
Technology profilers. BuiltWith's relationship view lists sites sharing analytics and advertising IDs, with the dates each was seen. DNSlytics and SpyOnWeb offer reverse lookups for analytics and AdSense IDs.
urlscan.io. Search its scan history for pages that requested a given ID.
Web search engines. An ID in quotation marks occasionally finds pages that print it, and reports that mention it.
Scan engines. Shodan's
http.html:filter searches page content on indexed servers. See Shodan for OSINT.
Coverage differs, and free tiers show partial results. Use two services and note the date each saw the link, since "these sites shared an ID in 2021" is a different statement from "they share one today".
Other fingerprints
ads.txt
Sites that sell advertising publish a file at /ads.txt listing the ad systems authorised to sell their space, with the site's seller account ID at each.
curl -s https://example.com/ads.txt | grep -v "^#" | head -20Lines marked DIRECT name accounts the site controls itself. Two sites listing the same direct seller ID at the same exchange are paid through the same account. Lines marked RESELLER are shared by thousands of sites and mean nothing. This is one of the most reliable ownership signals for content sites, and one of the least used.
Favicon
Sites built from the same template often keep the same icon. Scan engines index a hash of it. Our guide to lookalike domains shows how to calculate and search it.
Verification and ownership tags
google-site-verification and similar meta tags prove to a search engine that a webmaster account controls the site. The same token on two sites means the same account verified both. DNS TXT records carry the same kind of token, and are visible with dig +short TXT example.com.
Contact and payment details
Email addresses, phone numbers, company numbers, payment processor merchant IDs and cryptocurrency addresses in the page or its checkout. See OSINT pivoting.
Infrastructure
Shared name servers, hosting addresses, TLS certificates covering several domains and registration timing. These are covered in investigating a domain.
Content and code
Identical privacy policies with the wrong company name left in, the same spelling errors, the same unusual file paths, comments in source code, and the same custom script.
The false links
Other ways to go wrong:
Agencies and freelancers. A web developer may put client sites under their own analytics or Tag Manager account. The link is real, and it is to the developer.
Themes and templates. Purchased or pirated themes sometimes ship with the author's ID embedded. Hundreds of unrelated sites then share it.
Site builders and platforms. Hosted shop and blog platforms add their own tags to every customer site.
Deliberate planting. Anyone can paste anyone else's ID into a page. An operator who knows this technique can frame a rival, though the ID then sends its data to the rival, which limits the appeal.
Sold sites. A site that changed hands may carry the previous owner's tags for a while.
Reused IDs in tutorials. Example codes from documentation and blog posts get copied.
Tests to apply:
How many sites share the ID? Five is a network. Five thousand is a template or a platform.
Does it connect to money? AdSense, direct ads.txt entries and affiliate tags are stronger than analytics.
Which site had it first? Use archive dates. The earliest user is more likely the owner.
Do other fingerprints agree? Hosting, registration timing, content, design. One shared ID is a lead. Three independent features are a finding.
Is one of the sites an obvious copy of another? Then the shared ID is inherited.
A workflow
Save the page source of the starting site, and record the time. See preserving web evidence.
Extract IDs from the live page, the Tag Manager container and
ads.txt.Repeat on two or three archived versions from different years.
Run each ID through two reverse lookup services. List the sites and the dates seen.
Discard IDs shared by very large numbers of sites.
For each candidate site, look for a second and third fingerprint.
Sort the cluster by first-seen date to find where it started.
Write up the links with their strength, and the alternative explanations you ruled out. Our guide to Analysis of Competing Hypotheses helps here.
A worked example
A site publishing health scare stories has hidden registration details.
Its source shows only a
GTM-container. The container file reveals aG-analytics ID and anAW-advertising ID.ads.txtlists one direct seller ID at a major exchange.An archived copy from 2020 shows a
UA-code ending-4.Reverse lookups find seven other sites with the same direct seller ID. Five of them appear in archives with the same
UA-account, ending-1to-7.All eight share a privacy policy naming the same limited company, on a page the newest sites no longer link to.
The finding: eight sites are monetised through one advertising account and were tracked under one analytics account, and an archived policy names a company. That company can now be researched through its registry record. See how to check if a company is legitimate.
Frequently asked questions
How do I find other websites owned by the same person?
Extract analytics, Tag Manager and advertising IDs from the page source and look them up in reverse lookup services. Then confirm with independent features such as ads.txt entries, hosting and content.
What is a reverse Google Analytics lookup?
Searching for every website that uses a particular Google Analytics ID, on the basis that sites sharing an ID usually report to the same account.
Do Universal Analytics IDs still matter?
Yes. The service stopped processing data in 2023, but old snippets remain on live sites and in archives, and they still show which sites were grouped under one account.
Can a tracking ID prove who owns a website?
No. It shows that sites report to the same account, which may belong to an owner, an agency or the original author of a copied page. It needs corroboration.
What is ads.txt and why is it useful?
A public file listing which advertising accounts may sell a site's ad space. A direct seller ID shared between sites indicates they are paid through the same account.