01 Capture
A small script, loaded with one script tag, runs on the publisher's lead form. It has no dependencies. It records:
- The form's structure: which fields exist, by tag, type and name. Never their values.
- Events with time offsets: a field gaining focus, a field becoming filled or empty, clicks, checkbox changes, how far the page was scrolled, and the submit.
- The consent wording as shown: its exact text, whether it was rendered and on screen, its font size, and the contrast of its colour against its background.
- Whether the consent box was checked.
- For the phone number and the email address, a one way hash made in the browser at submit.
The script sends nothing when the page opens. It reports once, at submission. If the Consent Capsule service cannot be reached, the form still submits and the lead is not lost. The buyer then simply has no certificate for that lead.
02 Seal
At submission the server creates the certificate id, so no id exists before the consumer submits. It then hashes the record, encrypts it with the publisher account's key, and turns the phone and email hashes into keyed hashes that only the service can recompute. It writes the certificate and its first entry in the account's ledger in one step.
Every minute in which anything was sealed, the service combines the heads of all accounts' chains into one hash and asks an outside time authority (DigiCert, with another authority as a fallback) for an RFC 3161 timestamp on it. The anchor and its token are published, so anyone can check the time against the authority itself. Anchors that could not be stamped are stamped on the next cycle.
The ledger is a chain. Each entry includes the hash of the one before it, entries can only be added, and the method is written down so that a verifier can be built from the description alone. A change to any earlier entry breaks every entry after it.
03 Claim
The buyer of the lead claims the certificate with its API key, sending the certificate id and the phone number or email address it received. The service checks, in order, that the certificate has not been purged or revoked, that the contact matches, that the certificate is not older than the age limit the buyer sets, that the buyer's brand is among those who have consent to contact, that the wording was visible, and that the consent box was checked.
A pass returns the consent wording, who has consent to contact, the page address and the certificate's age and status. A failure returns only the reason, so a person guessing certificate ids learns nothing. Every attempt, pass or fail, is written to the ledger.
04 Verify
Anyone can ask whether a certificate exists. The answer shows whether it was found, its status, and when it was sealed, together with the sealed ledger entry, which holds only hashes and flags, and the first anchor that covers it, with the outside authority and its time. It shows no personal data. Because the method is published, anyone can recompute an entry's hash.
Planned, not built yet
These are on the plan and are not available: a replay viewer, an evidence pack for a legal file, automatic deletion at the end of retention, and a Lead Capsule connection that claims a certificate as a lead is sold.
Evidence, not a guarantee. A Consent Capsule certificate is a record of what a consumer saw and did on a form. It is evidence you can show. It does not guarantee that consent was valid, and it is not legal advice.