Consent strings

A consent banner produces a record of the choices made. Under the Transparency and Consent Framework, a voluntary industry standard for European digital advertising, that record takes the form of an encoded string. It allows participating businesses to communicate information about consent and other grounds on which personal information may be processed.

The record can itself become a piece of personal information.

The banner writes it down

The TC String specification defines a series of fields recording the choices, the consent platform responsible for recording them and the version of the vendor list involved.

The core segment contains timestamps and fields representing purposes and vendors, among other information. Vendor consent can be represented using bit fields or ranges.

The following pseudocode illustrates a subset of the core fields:

day = utc_midnight(update_time)

core = encode(
    version,
    created=day,
    last_updated=day,
    cmp_id,
    cmp_version,
    consent_language,
    vendor_list_version,
    purposes_consented,
    vendors_consented
)

fields = decode(core)

The encoding uses Base64url. Its purpose is to represent the information compactly. A recipient familiar with the format can decode the fields without needing a secret key.

The complete current format also includes a mandatory Disclosed Vendors segment, recording which vendors were disclosed to the person making the choice.

The example here covers selected core fields only.

A clock with less precision

The timestamps occupy fields capable of expressing time in tenths of a second. That capacity once allowed consent records to contain remarkably precise information about when a choice was recorded.

IAB Europe subsequently reduced the required timestamp precision to the day. Under the current specification, Created and LastUpdated contain the same value, representing midnight UTC on the relevant update date.

The field still has room for greater precision. The rules governing its contents have changed.

An earlier version of this experiment overlooked that distinction. It generated answers across a day, recorded their timestamps to the decisecond and found that 94.29% of the answers had a unique update timestamp.

After correcting the implementation to follow the specification, the figure became zero.

Timestamp representation

Unique timestamps

Deciseconds, original incorrect implementation

94.29%

UTC day, corrected implementation

0.00%

All 50,000 generated answers occurred within the same day. Under the corrected rules, they share the same timestamp. Combining Created and LastUpdated adds no further distinction because the two fields contain the same value.

Further runs distributing the generated answers across an hour, a day and three days also produced no unique timestamps.

The correction illustrates what reducing the precision of collected information can accomplish. Nobody answering the banner needs to know how the timestamp is encoded or alter their behaviour. The change operates within the format itself.

Choosing the vendors

The greenhouse-attacks consent experiment also examines the patterns produced when people make different choices concerning advertising vendors.

It generates 50,000 answers to a banner using an illustrative mixture of acceptance, refusal and customised choices. The vendor universe contains 1,244 entries, corresponding to the size of version 187 of the Global Vendor List, retrieved on 2 December 2026.

The simulated vendor identifiers and choices are generated. They do not represent observations of actual visitors or their preferences concerning particular advertising companies.

The experiment counts how many answers contain a combination of values occurring only once in the generated population.

Alone in the population on

Share

Purposes agreed

0.86%

Vendors allowed

9.99%

Update timestamp

0.00%

Vendors and update timestamp

9.99%

Most of the population shares one of two vendor patterns. Examining the answers according to the type of choice reveals where the variation occurs.

At the banner

Alone on vendor bits

Accepted all

0.00%

Refused all

0.00%

Customised

100.00%

The customised answers are all unique in this particular generated population.

How readily that happens depends on the number of available choices and the way people make them. A further experiment generates answers in which exactly two vendors are refused, varying the number of vendors available.

Available vendors

Unique vendor patterns

5

0.00%

20

0.00%

100

1.80%

1,244

97.37%

Five vendors offer ten possible pairs. A universe of 1,244 vendors offers 773,146. The number of possible combinations grows rapidly as more vendors become available.

Real choices may be much more concentrated. People may tend to refuse the same familiar companies, follow recommendations from privacy organisations or select the same groups of vendors. The experiment contains no observations with which to establish those patterns.

The number of possible answers explains why unique combinations can emerge. Their actual frequency depends on how the available choices are presented and used.

Recognising an answer

A unique combination within a generated population says that no other record in that population contains the same combination.

Whether it helps a commercial recipient recognise somebody is a different question.

For a consent pattern to contribute to tracking across several encounters, a recipient would need to observe it repeatedly under conditions in which it remained recognisable. Different websites may disclose different vendors, use different consent platforms or present different choices. Preferences can change. Vendor lists are updated.

The consent record may also arrive alongside an IP address, a cookie or another identifier. Those neighbouring fields can provide connections to other records, as the identity matching experiment illustrates.

No such connections are made in the consent experiment. It contains no personal identifiers, independent observations or identity records. Its results describe the rarity of particular combinations within a constructed population.

The receipt is personal data

In March 2024, the Court of Justice examined the legal status of the consent string in IAB Europe.

The Court established that the string constitutes personal data where it can reasonably be associated with an identifier allowing the person concerned to be identified. An IP address is among the examples discussed in the judgment.

The Court also established that IAB Europe could be a joint controller in relation to the processing of the consent string, despite lacking direct access to the records itself. Its role in defining the framework and influencing how the information was processed was relevant to that assessment.

The judgment placed limits on that responsibility. Joint controllership concerning the recording of preferences does not automatically extend to all subsequent processing by advertising companies.

The legal significance of the consent string therefore rests partly on its connections with other information and on the responsibilities of the organisations involved. It does not depend on every visitor producing a unique string.

Nor does a correctly encoded string establish that valid consent was obtained. The circumstances under which the choice was made remain relevant.

Refusing, or never being asked

Refusing consent can produce a record carrying the refusal. That record still contains information about the choice and the circumstances in which it was recorded.

Blocking the scripts responsible for constructing or transmitting such records may prevent particular collection mechanisms from operating. Other mechanisms, including processing on the website’s own servers, can remain outside the reach of a browser extension.

The corrected experiment offers no basis for recommending acceptance or refusal over more selective choices as a means of avoiding identification. Doing so would require evidence about actual visitor behaviour, the stability of consent patterns and their use by commercial recipients. Acceptance would also permit additional processing that selective refusal might prevent.

The reduction in timestamp precision is a useful example of addressing the problem closer to its source. Other possibilities include limiting which fields recipients need, restricting their retention and establishing whether they are being used for purposes beyond communicating privacy preferences. The suitability of those measures depends on the information necessary for the consent mechanism to function and the arrangements through which it circulates.