Identifiers & Hashing
Identifiers are the foundation of BPP. They let the platform resolve user identities across multiple data sources and unify events and attributes into a single customer profile — the Bytek ID.
This page is the practical reference for which identifiers to provide, how BPP normalizes and hashes PII, and how identifiers are mapped. For the conceptual walkthrough of how matching and stitching work, see User Reconciliation.
How identifiers map to the Bytek ID
When you map your dataset in the Data Source Manager, each column that represents an identifier is declared with:
- Identifier type — a canonical name (e.g.
email,cookie_id,crm_contact_id). - External sharing — whether the column's values may leave the platform (to an enrichment provider or a language model). Identifier columns are not shared by default; Bytek staff change the setting on request. Each destination hashes what it requires at send time.
BPP matches identifiers by their type and value, not by column name. If the same identifier type appears in multiple tables, all of them are linked to the same Bytek ID — even when the underlying columns are named differently.
Example: a column named
users_mainand a column nameduser_emailinevents_webcan both be declared as identifier type
| table_name | field_name | identifier_type |
|---|---|---|
| users_main | email | email |
| events_web | user_email | email |
| events_web | fp_cookie_id | cookie_id |
If a single event row contains both user_email and fp_cookie_id, both are linked to the same Bytek ID.
:::warning User-level identifiers only
Map only user-level identifiers (email, phone, cookie, CRM contact ID). Entity-level IDs — subscription_id, account_id, order_id, crm_account_id — must not be declared as user identifiers.
:::
Automatic PII normalization and hashing
BPP's _bpp copy inside your dataset is a faithful, clear copy of your source data: nothing is hashed in your warehouse. Identity resolution also runs inside your own BigQuery project: BPP does not copy your identifiers into its own database. Hashing happens only when data leaves your perimeter, at send time, in the format each destination requires.
For matching (identity resolution)
Before two values are compared, BPP cleans them with one rule for every identifier type, whatever the type is called. What decides the cleaning is the shape of the value:
| Value | Cleaning before matching |
|---|---|
| A SHA-256 hash (64 hex characters) | Trimmed and lowercased. |
| Shaped like an email address | Trimmed and lowercased. For @gmail.com / @googlemail.com, the dots and any +suffix of the local part are removed, so John.Doe+news@gmail.com and johndoe@gmail.com are one person. |
| Anything else | Surrounding spaces removed; the value is matched exactly as written, case included (a 15-character Salesforce ID is case-sensitive). |
Phone numbers are not reformatted before matching: +39 333 1234567 and 3331234567 are two different values. Store phones in one format across your tables.
A hashed column and a clear column of the same type do not match each other — declare them under the same type only if they are both clear or both hashed.
For ad platforms (at send time)
Google Ads, Meta Ads, Microsoft Ads and OpenAI Ads receive emails and phone numbers normalized and hashed with SHA-256 (hex, lowercase), each platform with its own rules:
- Trim, lowercase.
- Google Ads: for
@gmail.com/@googlemail.com, the dots and the+suffixof the local part are removed. - Microsoft Ads: the dots and the
+aliasof the local part are removed on every domain. - Meta Ads and OpenAI Ads: trim and lowercase only.
- You may provide pre-hashed emails (SHA-256) or raw emails — BPP hashes raw values and sends hashed values as they are.
Emails in clear (multi-hash)
When an identifier column holds email addresses in clear, the Data Source Manager marks it Multi-hash. For these columns BPP stores, for each address, every hashed spelling an ad platform accepts (the basic one, Google's and Microsoft's) and sends them all: the platform's own spelling of each address first, the most recently seen address first, then the other spellings, never the same hash twice. A platform that keeps only a few values per person therefore gets its preferred spelling of as many addresses as it keeps. Microsoft's spelling of a non-Gmail address is sent to Microsoft Ads only, because on other domains it can be someone else's mailbox.
Signal and audience identifier pickers show the same Multi-hash badge on the types that hold emails in clear. A column of emails already hashed at source has one spelling only: the one it was hashed with.
Phone number
- Converted to E.164 format (e.g.
+14155552671) using your account's default country for numbers without a prefix; Meta and OpenAI receive it without the leading+. - Invalid numbers are dropped.
Names, city, zip, date of birth (Meta, OpenAI) — lowercased and cleaned per the platform's specification, then hashed.
Device identifiers (non-PII) — GA Client ID, GA4 user pseudo-ID, first-party cookie, mobile advertising ID (IDFA, GAID)
- Already anonymized; sent as they are.
Destinations inside your perimeter (BigQuery, API) and Google Analytics 4 (Measurement Protocol) receive values as they are.
Common identifier types
Identifier types are your account's own catalogue, not a fixed platform list — see Step 2 — User Identifiers. There are no built-in types: the analysis proposes types from your data, and you rename them or add your own (a loyalty card number, a franchise account code, anything that points at a person). Each type is saved to your catalogue for future tables. A type's name has no effect on how its values are cleaned or matched.
Declare each field by what it represents. The one exception is email: a column already hashed at source goes under its own type (the analysis proposes hashed_email), because a hash never matches the clear value it came from.
| Example type | Example field names | Description | Typically PII |
|---|---|---|---|
email | email, user_email, contact_email | Email address in clear | Yes |
hashed_email | hem, hashed_email, email_sha256 | Email address SHA-256 hashed at source | Yes |
phone | phone, mobile_number, mobile | Phone number: a hashed phone never matches a clear one, and clear phones match only when written the same way | Yes |
crm_id | crm_contact_id, hubspot_vid, domain_id | Account/CRM-issued identifier | No |
ga_client_id | fp_cookie_id, ga_client_id, idfa, gaid | First-party cookie / device identifier | No |
Every identifier is cleaned per the matching rules above and resolved inside your own BigQuery project.
Click ids (gclid, gbraid, wbraid, dclid, fbclid, msclkid, ttclid, …) change on every visit and are never identifiers of a person: the Data Source Manager flags them, and activation refuses a column whose name or ID type says it is a click id.
The Bytek ID
The Bytek ID is the system-generated, anonymized user key created during identity resolution.
- Each unique person receives one Bytek ID.
- All their sub-identifiers (email, phone, cookie, CRM contact ID, …) link to it.
- When new identifiers appear, the identity graph is updated and merged on the next daily run.
- BPP writes the resolved key back to your warehouse as a
bpp_user_idcolumn on the enriched copy of each table.
This unified key enables consistent joins, aggregations, and model training across time, channels, and systems. See User Reconciliation for merge rules and coverage metrics.
Best practices
- Include at least one stable user identifier in every user and event table.
- Use consistent identifier types across datasets — the same concept must share the same identifier type everywhere.
- Ensure user identifiers form the primary key of the user table: at least one always populated, no duplicates.
- Provide multiple identifiers where possible to maximize match rates.
- Never tag entity-level IDs (
subscription_id,order_id,account_id) as user identifiers. - Prefer emails in clear: BPP then sends every spelling each platform accepts. If you hash at source, hash consistently (correct casing, whitespace, Gmail normalization, E.164 phones) so hashes match Google and Meta. There is no per-column hashing toggle: each destination hashes what it requires at send time.
- Store phone numbers in one format in every table: they are matched as written.
Summary
- BPP performs identity resolution to unify users across sources.
- Each user receives a unique Bytek ID, surfaced as a
bpp_user_idcolumn. - Normalization keeps matching deterministic; hashing happens at send time, per destination.
- Identifiers are mapped in the Data Source Manager UI — by identifier type — not by column name.