Sub topic 12
Proving Acceptance: What to Record and Keep
This chapter assumes you know how clickwrap, browsewrap, and sign-in-wrap differ, and how courts apply the reasonable-notice and assent test. It also assumes you can read short TypeScript. The earlier chapters cover what makes an interface produce assent. This chapter covers how to prove, years later, that it did.
Why the burden falls on you
The party that wants to enforce online terms must show that the other side agreed to them. A user who denies ever seeing the terms puts that question in front of the court. In Meyer v. Uber, the Second Circuit enforced the terms because the registration screens gave reasonable notice. That conclusion rested on evidence of what those screens looked like. In Specht v. Netscape and Nguyen v. Barnes & Noble, the business could not show that users had notice and assent, and the terms were not enforced.
A clickwrap flow is therefore only half the job. If your records cannot show which terms were accepted, in what interface, by whom, and when, a well-designed flow can still lose in court.
E-SIGN and UETA help here, and they also set conditions:
- Under UETA section 9, an electronic record or signature is attributable to a person if it was that person's act. That can be shown in any manner, including by the efficacy of a security procedure.
- Under E-SIGN, 15 U.S.C. section 7001(d), a record that must be retained has to accurately reflect the information and stay accessible to the people entitled to it. It must also be reproducible accurately later.
What a good record must answer
Treat each acceptance as an evidence package that answers six questions.
| Question | Evidence | Why it matters |
|---|---|---|
| Who accepted? | User ID, verified email, authentication event | Attribution to a specific person |
| What did they accept? | Document ID, version, SHA-256 hash, archived text | Terms change, and you must show which ones applied |
| How was it presented? | Interface version, screenshot or template snapshot | Notice depends on layout, not only on words |
| What action signaled assent? | Method (checkbox, button, scroll), event ID | Assent must be an affirmative, observable act |
| When? | Server timestamp in UTC | Order of events relative to the dispute |
| From where? | IP address, user agent, session ID | Corroborates identity and device |
The "how was it presented" row is the one teams skip most often. A hash proves which text was accepted. It does not prove the user saw a clear notice next to the button. Courts applying the notice test look at font size, placement, and contrast. Keep a versioned copy of the sign-up template, and ideally rendered screenshots of the flow on desktop and mobile for each release.
The acceptance flow
The key rule is that the server writes the record, not the browser. Client-supplied timestamps and version strings can be wrong or forged.
Two design points follow from the diagram:
- Reject the submission if the checkbox is missing, even if the browser's
requiredattribute was bypassed. - Write the record before or in the same transaction as account creation. An account with no acceptance record is the situation you most need to avoid.
Versioning and hashing the terms
Never overwrite a published terms document. Store each version as an immutable file, with an ID, an effective date, and the SHA-256 hash of its exact bytes. Hash the stored bytes, not a re-rendered page, so the hash can be recomputed later from the archive. Decide on one text normalization (for example, UTF-8 with LF line endings) and apply it before hashing and before storing.
When you present the terms through a link, as in the clickwrap example, pin the link to a version, such as /terms/v3. A link to /terms that always shows the latest text breaks the connection between what the user clicked and what the archive holds.
A tamper-evident record in code
The earlier buildAcceptanceRecord function shows the basic fields. The next example adds two things: the interface version, and a hash chain. In a hash chain, each record includes the hash of the one before it, so editing or deleting a record breaks every later link. A verification function then checks both the chain and the archived terms.
import { createHash } from 'node:crypto';
interface AcceptanceRecord {
userId: string;
documentId: string;
documentVersion: string;
documentHash: string;
uiVersion: string;
acceptedAt: string;
ipAddress: string;
userAgent: string;
method: 'clickwrap' | 'sign-in-wrap';
previousRecordHash: string;
recordHash: string;
}
type AcceptanceInput = Omit<AcceptanceRecord, 'previousRecordHash' | 'recordHash'>;
const GENESIS = '0'.repeat(64);
function sha256(text: string): string {
return createHash('sha256').update(text, 'utf8').digest('hex');
}
function appendRecord(chain: AcceptanceRecord[], input: AcceptanceInput): AcceptanceRecord {
const previousRecordHash =
chain.length > 0 ? chain[chain.length - 1].recordHash : GENESIS;
const body = { ...input, previousRecordHash };
const record: AcceptanceRecord = { ...body, recordHash: sha256(JSON.stringify(body)) };
chain.push(record);
return record;
}
function verifyChain(chain: AcceptanceRecord[], archive: Map<string, string>): string[] {
const problems: string[] = [];
let expectedPrevious = GENESIS;
chain.forEach((record, i) => {
const { recordHash, ...body } = record;
if (record.previousRecordHash !== expectedPrevious) {
problems.push(`record ${i}: chain link broken`);
}
if (sha256(JSON.stringify(body)) !== recordHash) {
problems.push(`record ${i}: contents were altered`);
}
const text = archive.get(`${record.documentId}@${record.documentVersion}`);
if (text === undefined || sha256(text) !== record.documentHash) {
problems.push(`record ${i}: archived terms missing or changed`);
}
expectedPrevious = recordHash;
});
return problems;
}
const terms = 'Terms of Service, version 3 full text...';
const archive = new Map([['tos@3', terms]]);
const chain: AcceptanceRecord[] = [];
appendRecord(chain, {
userId: 'u-1001',
documentId: 'tos',
documentVersion: '3',
documentHash: sha256(terms),
uiVersion: 'signup-2026-11',
acceptedAt: new Date().toISOString(),
ipAddress: '203.0.113.7',
userAgent: 'Mozilla/5.0',
method: 'clickwrap',
});
console.log(verifyChain(chain, archive)); // []
chain[0].userId = 'u-9999';
console.log(verifyChain(chain, archive)); // [ 'record 0: contents were altered' ]In production, JSON.stringify key order must be stable, so use a canonical serialization. A chain in application memory proves little. Store records in append-only storage, such as a database table with no update or delete permission for the application role, or object storage with write-once retention. Periodically copy the latest chain hash to a separate system, so that rewriting the whole chain is also detectable.
Common failure modes
- Storing only a boolean. A column
accepted_terms = trueshows that something happened. It does not show what, when, or in which interface. - Overwriting on re-acceptance. When terms change and users accept again, add a new record. Updating the old row destroys the history.
- Trusting client data. Take the time and document version on the server. Behind a proxy or CDN, read the client IP only from headers your own infrastructure sets, not from a header the client can send.
- Recording page views for browsewrap. Logs of visits to the terms page, or of site usage, do not show notice or assent. Without an affirmative act, there is nothing strong to record. This is another practical reason to prefer clickwrap.
- Losing non-web paths. Sign-ups through single sign-on, mobile apps, and APIs need the same record, with
methodand interface version reflecting each path. - Log rotation. Acceptance data kept only in application logs that expire after 30 days will be gone when a dispute arrives.
Retention, privacy, and admissibility
Keep acceptance records for the life of the account plus the longest limitation period that could apply to a contract claim. Those periods vary by state and by claim type, often several years, so confirm them with counsel. Suspend deletion when a dispute is anticipated (a legal hold).
Retention has to be balanced against privacy law. An IP address and user agent are personal data under laws such as the GDPR, and the CCPA treats them similarly. Collect them for a stated purpose, limit access, and delete them when the retention period ends. You can often keep the hash and timestamp longer than the network details.
For use in court, the records must be authenticated and fit an exception to the hearsay rule. In U.S. federal courts, business records can qualify under Federal Rule of Evidence 803(6). Rule 902(13) lets a qualified person certify records generated by an electronic process, which avoids live testimony from an engineer. Records produced by a documented, consistent process are easier to certify than reconstructed ones.
Exercise
A company stores, for each user, a boolean accepted_terms and a created_at timestamp. It updates the terms page in place every few months. A user sues, denying that they agreed to an arbitration clause added in the latest update. List three pieces of evidence the company is missing, and say how to capture each.
Show answer
(1) Which version was accepted: store an immutable terms archive with version IDs, and record the version ID and SHA-256 hash with each acceptance. (2) How the terms were presented: keep a versioned copy or screenshots of the sign-up interface and record the interface version in each record. (3) That the user took an affirmative action at a known time: write a server-side record with the method (for example, clickwrap checkbox), a UTC timestamp, and session details, in append-only storage. Because the page is edited in place, the company also cannot show which text the user saw, so each re-acceptance after a terms change should be a new record.