Skip to content
OSINTtools.io

Wayback Google Analytics

Verified 2d agoDormant

Bellingcat CLI that collects current and historic Google Analytics, GA4 and Tag Manager codes for a list of websites.

Python CLI · Open source · Infrastructure and domains · github.com

Takes
URL · Domain
Pricing
Free, open source
Footprint
Depends on configuration
Account
Not needed
API
No public API
Last verified
Nov 26, 2026
Summary

Bellingcat CLI that collects current and historic Google Analytics, GA4 and Tag Manager codes for a list of websites. It takes URL and domain. Read the cons before you build a workflow on it.

What it does

Wayback Google Analytics takes a list of website URLs and gathers the Universal Analytics, GA4 and Google Tag Manager identifiers each site uses now and used in the past, reading the historic ones from Wayback Machine snapshots over a date range you choose. Results are written to CSV, TXT, JSON or XLSX, with a spreadsheet layout that shows which sites share which codes.

Sites run by the same person or organisation often share an analytics account, even when they hide everything else. Bellingcat built the tool for exactly this kind of link analysis and has written about using it to uncover disinformation networks.

Footprint is depends: whether the target is contacted depends on which modules or transforms you run. No account is needed. There is no public API.

Pros
  • +Recovers analytics codes that sites removed long ago
  • +Built and documented by Bellingcat
  • +Installs from PyPI
  • +Free and open source (MIT)
Cons
  • −Only finds codes the Wayback Machine happened to capture
  • −Shared codes are a lead, not proof of common ownership
  • −Command-line only

When to use it

  1. 01Use it when you suspect several websites are run by the same operator and want to compare their analytics IDs.
  2. 02Use it when a site has dropped its tracking codes and you need the ones it used before.
Key featuresUA, GA4 and GTM code extractionHistoric codes from Wayback Machine snapshotsCustom date ranges and snapshot frequencyBatch input from the command line or a fileCSV, TXT, JSON and XLSX output

Next steps from this result

Suggested from the inputs Wayback Google Analytics takes
  • Found a resultConfirm it with a second, independent source before you record it
  • Found a new identifierPivot on it only if your scope covers the new target
    Depends

Quick start

Install with pip
pip install wayback-google-analytics
wayback-google-analytics -h

Technical details

Listing verified by an editor on Nov 26, 2026
API
No public API
Account
Not needed
Footprint
Depends on configuration
Pricing
Free, open source
Platforms
Python CLI
Repository
bellingcat/wayback-google-analytics 242 stars
Language
Python
Licence
MIT
Last commit
Feb 2024 (dormant)
Listed
Nov 26

Reviews

No reviews yet

Written by signed-in members. Each review appears here after an editor has read it.

Used Wayback Google Analytics? Sign in to say what you used it for and how it went.

Sign in to review

Alternatives to Wayback Google Analytics

Listed tools that take the same inputs, closest match first.

Wayback Google AnalyticsOpen source · verified 2d ago
Visit github.com (opens in new tab)