HAR files: your evidence, explained

What the recording of each evidence-scan visit holds, why it matters, how to check it wasn’t changed, and how to open and share it.

Every Pro evidence scan saves one HAR file for each of its four visits. This page explains what’s in them, why they matter, and how to check, open and share them.

What a HAR file is

HAR stands for HTTP Archive. It’s a plain-text JSON file that lists every request a browser made while it loaded pages: what it asked for, which server answered, what came back, and when.

The format was drafted at the W3C, the web’s standards body, by its Web Performance Working Group in 2012 (the draft). It was never finished as a formal standard, but browsers such as Chrome, Edge and Firefox all save and open HAR files. That makes it the usual way to hand someone an exact record of a browser’s traffic.

How GoConsent makes them

When you click Run evidence scan, the GoConsent Scanner (not your server) visits your site four times. Each visit starts a brand-new browser: no cookies, no history, no saved choice. It looks like an ordinary Chrome visitor from the United States, so firewalls treat it like anyone else. It opens your home page plus up to nine key pages, and records everything into one HAR file per visit.

VisitWhat happensWhat it proves
A. First visit
passA.har
Loads your pages and touches nothing.What loads before anyone makes a choice.
B. Reject All
passB.har
Clicks Reject All on your banner, then browses the pages.Whether anything still tracks after a visitor says no.
C. Accept All
passC.har
Clicks Accept All, then browses the pages.What your site loads with full consent. For the record; no pass or fail.
D. GPC
passD.har
A first visit with Global Privacy Control on (the browser sends Sec-GPC: 1).Whether advertising stays off for visitors who send the opt-out signal.

The scanner keeps itself out of your records: GoConsent’s own visit counter and consent log are answered inside its browser, so its visits never reach your stats.

What’s inside, and what isn’t

Inside each HAR file:

  1. Every request: the full address (including anything after the ?), the method, and usually the server’s IP address.
  2. Every response status: 200, 204, 404 and so on, and each redirect with where it pointed.
  3. Headers sent and received, such as Sec-GPC, Referer and Set-Cookie.
  4. Cookies sent with each request and set by each response.
  5. Timings: when each request started (to the millisecond, in UTC) and how long each step took.

Not inside:

  1. Page contents. The HTML, scripts and images that came back aren’t saved, only their type and size. Data sent in the body of a request isn’t saved either.
  2. Visitor data. There’s no real visitor. It’s GoConsent’s own test browser, so no visitor’s IP address, cookies or details are in it.
  3. Your admin. The scanner only visits your public pages, signed out.

Why it matters

A cookie demand letter or lawsuit, such as a California Invasion of Privacy Act (CIPA) or wiretap claim, usually says a site sent visitors’ data to trackers before they agreed, or after they said no. A HAR file is the kind of technical record experts and lawyers look at to check a claim like that. It shows:

  1. Which trackers loaded on a first visit, before any choice.
  2. Whether anything tracked after Reject All, or with GPC on.
  3. The exact time of every request, so “before” and “after” the click are clear.
  4. Which cookies were set, and by which company’s server.

A HAR file records what the scanner saw at that moment. It isn’t legal advice and doesn’t guarantee any outcome. Whether and how it’s used in a dispute is up to your lawyer.

How they’re protected

The PDF report’s Chain of custody table lists a SHA-256 fingerprint for each HAR file, and the share page shows one for the whole zip. Change even one byte and the fingerprint changes, so anyone can check a file is the original. To check one:

  1. Download All files (zip) and unzip it.
  2. Open Terminal (Mac or Linux) or Command Prompt (Windows) in that folder and run:
    shasum -a 256 passA.har
    CertUtil -hashfile passA.har SHA256
  3. Compare the result with the PDF. If they match, the file hasn’t changed since the scan.

On the GoConsent server, files are only handed out through signed links that expire, and are deleted after 90 days. Download the zip if you need it longer.

How to open one

  1. Chrome or Edge: open DevTools (F12), go to the Network tab, and drag the .har file onto the list, or click Import HAR in its toolbar.
  2. Firefox: open DevTools (F12), go to Network, open the menu at the right of its toolbar and choose Import HAR.
  3. Google’s HAR Analyzer: upload the file to filter by status, search, and see each request’s timing.

Tip: search for a tracker’s address, such as facebook or google-analytics, to jump straight to it. Any text editor can open a HAR file too.

Who to share them with

  1. Your lawyer, or the expert they work with: click Copy share link on the Scanner tab. The read-only page shows the results and downloads the PDF and zip. It works for 30 days, or until you copy a new one.
  2. Or send the zip itself (All files (zip)): the four HAR files, screenshots, cookies.json, summary.json and report.pdf.
  3. Your web developer, to see exactly what loaded too early and fix it.

Keep the files exactly as downloaded. Opening and re-saving a HAR file in another program can change its fingerprint.

Free vs Pro

What you getFree self-checkPro evidence scan
The same four visitsYesYes
Results and how to fix, on screenYesYes
HAR filesNo. Deleted as they arriveYes, one per visit
PDF report, screenshots, SHA-256 fingerprintsNoYes
Share linkNo30 days
KeptOnly the latest result, on your site90 days on the server; the zip is yours to keep

The free self-check is for fixing problems. When you need proof you can keep or send to a lawyer, GoConsent Pro saves it.

Still stuck? Contact support and tell us which page you were on.