Acme Marketing Architecture

Data Classification Register

Data Classification Register

Classification levels: Public, Internal, Confidential (business-sensitive), Personal (identifies or relates to a natural person), Special (GDPR Article 9 or children; none expected, listed so it is checked).

Gate action is what the anonymisation gate in the Bronze loader does before any Bronze write (ADR 6): keep, drop, tokenise (vault lookup-or-create on the normalised identifier; the token replaces the value in the payload), generalise, aggregate (applied later in Gold). A column with no entry fails the run.

Salesforce

Object Field group Classification Personal? Gate action Notes
Lead, Contact Name, Email, Phone, MobilePhone, Street/City/PostalCode, Title Personal Yes drop (email → tokenise into person_key) Direct identifiers
Lead, Contact Country, State, Industry, LeadSource, Status, Rating, CreatedDate, ConvertedDate Internal Quasi generalise (country/region), keep Quasi-identifiers in combination
Lead, Contact Description, custom free-text Personal Yes drop Free text may contain anything
Lead, Contact gclid__c, utm_* custom fields Personal (when linked) Yes tokenise gclid, keep utm_* Attribution
Account Name, Website, Industry, NumberOfEmployees, BillingCountry Confidential No (unless person account) keep; generalise employee count to band Person accounts: treat as Contact
Opportunity Amount, StageName, CloseDate, Probability, CampaignId Confidential No keep Amount is business-sensitive, not personal
OpportunityHistory Stage transitions Confidential No keep Feeds fact_deal_stage_event
Campaign Name, Type, Status, Budget, Dates Internal No keep
CampaignMember LeadId/ContactId, CampaignId, Status, dates Personal (link) Yes tokenise person, keep campaign
User Name, Email, Username Personal (employee) Yes tokenise email (subject_type = employee); drop name and username; map to dim_owner_team Appears as OwnerId, CreatedById, LastModifiedById on every object
Task, Event Subject, Description, WhoId Personal Yes drop body; keep type, date, tokenised person Activity analytics only at type level

HubSpot

Object Field group Classification Personal? Gate action Notes
Contact email, firstname, lastname, phone, address, company, jobtitle Personal Yes drop (email → tokenise)
Contact lifecyclestage, hs_lead_status, createdate, lastmodifieddate, hs_analytics_source, original source drill-down Internal Quasi keep Funnel analytics
Contact ip_* (ip_city, ip_country, ip_state), hs_ip_timezone Personal Yes generalise to country; drop city Derived from IP
Contact hs_analytics_* visit counts, first/last visit timestamps Personal (behavioural) Yes keep at tokenised person level, or aggregate Behavioural profiling; DPO decision
Contact hs_email_optout, subscription statuses, legal basis properties Personal (consent) Yes keep as flags on dim_person_pseudo Needed to filter analyses lawfully
Contact hutk (visitor cookie), hs_object_id Personal Yes drop hutk; keep hs_object_id (source record id, linked to the subject in subject_link) Source object ids are not direct identifiers (ADR 6); the cookie adds nothing at campaign grain
Contact hs_google_click_id, utm_* analytics properties Personal (when linked) Yes tokenise click id, keep utm_* Attribution, as for Salesforce gclid__c
Company name, domain, industry, numberofemployees, country Confidential No keep; generalise employees to band
Deal amount, dealstage, pipeline, closedate, owner Confidential No keep; owner → team
Engagements (notes, calls, emails, meetings) body, subject, participants Personal Yes drop body and participants; keep type, timestamp, tokenised person
Email events recipient, event type, timestamp, IP, user agent, link URL Personal Yes tokenise recipient; drop IP and user agent; keep type, timestamp, email id, link domain Bulk of engagement facts
Form submissions values, page URL, IP Personal Yes drop values and IP; keep form id, page path, timestamp, tokenised person
Marketing emails, campaigns, lists names, send stats Internal No keep Aggregates
Owners name, email Personal (employee) Yes tokenise email (subject_type = employee); drop name; map to team
Resource Field group Classification Personal? Gate action Notes
campaign, ad_group, ad_group_ad, ad_group_criterion (keyword), campaign_budget names, status, bids, budgets, ad copy Internal / Confidential No keep Ad copy may contain a person's name in rare cases; accepted
Performance reports (campaign, ad_group, keyword_view, geographic_view, conversion views) metrics by date and segment Internal No (aggregate) keep / aggregate Not personal at campaign grain; geographic grain kept at region
change_event user_email, change details Personal (employee) Yes tokenise email (subject_type = employee); map to team; keep change Operational visibility
Customer Match user lists, enhanced conversions, offline conversion uploads hashed emails/phones, gclid Personal Yes not ingested Out of scope; if ever ingested, treat as Personal with tokenise
customer (account) descriptive name, currency, time zone Internal No keep

Special categories

None expected from these sources. The gate rejects any column whose name or classification is not in the Gold allow-list, so an unexpected special-category field cannot reach Gold without a classification entry.

Retention (proposal, to be confirmed with the DPO)

Layer Personal data retention Rationale
Landing files 7 days after successful promotion; subject's records deleted on erasure The only place with identifiers; recover window
Bronze Tokens only; mirrors the source's retention; maximum 3 years for engagement events; not touched on erasure (mapping deletion makes rows unattributable) Replay and audit
Silver As Bronze Reconciliation
Gold Tokenised person-level facts 3 years; aggregates indefinitely Analytics needs; minimisation
Token vault For the life of the subject's data; row erased on request; backups on a short clock agreed with the DPO The mapping is the personal data

⚠️ Requires stakeholder input (DPO): retention periods, jurisdictions, and whether behavioural visit metrics at person level are acceptable in Gold.