← Selected work
CASE STUDY · P&G · 2020 TO 2021
10 of 13
Brand-site feeds live
By July 2020: 10 live, 1 incoming and 2 planned for a later quarter.
1 tool
Received named profiles
Retention email was the only downstream tool to receive named profiles in the architecture I drew. Data science worked from de-identified data.
~115,000
Survey records cleaned
The first survey load, cleaned for the first analysis.
18M+
In-scope consumer profiles migrated
To the enterprise customer platform in 2020 to 2021, by my account at the time. The count is wider than my part: I was owner and approver for one brand program’s move.
ROLE
Data scientist and technical lead for the data integration and analytics workstream. A colleague led the overall project.
TEAM
A colleague led the project and business stakeholders set its phases. Vendor teams built the brand-site feeds into the integration layer. The enterprise customer platform team ran the later migration, with me as owner and approver for one brand program.
STACK
Google Cloud · data integration pipelines · customer data platform (CDP) · de-identified data lake · SQL · Python · data science workbench · scripted dashboards
MY PART
Started the source inventory, designed the architecture across seven feed types, cleaned about 115,000 survey records and set the direction for scripted standard dashboards. Later, I owned scope, architecture, source-precedence rules and sign-off for one brand program’s migration.
How the data moved, and where personal data stopped
Seven types of first-party feed pass through a cloud integration layer into the customer data platform, which holds the named profiles. A copy with personal identifiers removed lands in a de-identified data lake for analysis and scoring in the data science workbench. I also designed a route to return model scores for audience activation; that route was not verified in production. On the named side, only the retention email tool receives profiles, and opt-outs flow back to the registration system.
Collect, de-identify, score, activate
The problem
The business collected first-party consumer data in many places: brand-site clickstream, a diagnostic survey, registrations, subscriptions and purchases. Each set lived with the team that collected it, so no one could see one consumer across brands or categories. The goal was to bring those sources together for a cross-category view. A customer data platform is the system that holds customer profiles and sends audiences to tools like email.
Bringing the data together raised two design questions: which tools should ever see a named customer, and how people could get answers without an expert. Every question went through an analyst: pull the data with SQL, transform it in Python or KNIME, export to Excel, then build the chart. It was slow and prone to errors. Privacy requirements also shaped the design.
What I did
I was the data scientist and technical lead for the data integration and analytics workstream. A colleague led the overall project.
Architecture
Before integrating anything, I started a source inventory. For each source I captured its owner, application, data types, history, personal data fields, volume, connectors, existing users and destination. Then I designed the end-to-end flow across seven feed types: clickstream, survey, registrations, subscriptions, purchases, closed-loop tracking and opt-outs. The integration layer ran on Google Cloud, and vendor teams built the brand-site feeds into it.
Privacy split
Named profiles went to one downstream tool, retention email, which cannot send without them. Data science worked from a de-identified data lake, with direct personal identifiers removed, so scoring never needed a name. Opt-outs flowed back to the registration system.
First readout
I cleaned the first survey load, about 115,000 records, for the first analysis. I also mapped the manual cycle behind each answer: pull, transform, export and chart. That made the need for repeatable reporting clear.
Self-serve
Because every answer needed an analyst, I recommended standard dashboards generated by scripts so the views stayed consistent. Those dashboards were built. I set the order for further analytics: standard descriptive views first, then predictive models, then deeper diagnostic analysis.
The diagram below compares the manual workflow with the scripted dashboards, alongside the roadmap for further analytics.
What shipped, and what remained a design
By July 2020, 10 of the 13 planned brand-site clickstream feeds were live, 1 was incoming and 2 were planned for a later quarter.
The scripted standard dashboards were built, providing repeatable views of the consolidated data. The route returning model scores to the customer data platform remained a design and was not verified in production.
The architecture gave data science a de-identified lake to work from. By my account at the time, that scoring environment became the company’s first data science workbench, and consumer research and R&D started using it in 2020. I ran the session that introduced it to those teams.
For the later migration, I owned scope, architecture, data selection and sign-off for one brand program. I also defined the source-precedence rule: which record wins when two sources conflict. Across the wider migration, 18M+ in-scope consumer profiles moved to the enterprise customer platform in 2020 to 2021.
The design underneath
Three parts of the architecture I drew.
01
Personal data boundary
Named profiles went to one downstream tool: retention email. Data science worked from a de-identified data lake, so scoring never needed a named profile. Opt-outs flowed back to the registration system.
02
Track feed readiness
Feeds passed through an integration layer on Google Cloud before reaching the customer data platform. I tracked readiness at the feed level: by July 2020, 10 of 13 brand-site clickstream feeds were live, 1 was incoming and 2 were planned.
03
The scoring loop
I designed a route for the workbench’s scores to return to the customer data platform for audience activation, while data science worked from de-identified records.
Two calls I made
01
Keep personal data out of analytics
CONTEXT
The platform served two kinds of downstream use: a retention email tool that needs named customers, and data science models that do not. Giving both the same named profiles would have exposed personal data beyond what analytics needed.
WHAT I DID
In the architecture I drew, named profiles went only to the retention email tool, and data science worked from a de-identified data lake. Opt-outs flowed back to the registration system.
RESULT
The architecture gave data science a de-identified analytics path and a designed route from model scores to audience activation, without sending named profiles into analytics.
02
Put standard views before models
CONTEXT
Only analysts with cloud, SQL and Python skills could get answers from the consolidated data. Repeat questions meant repeating the same manual analysis.
WHAT I DID
I prioritized standard descriptive views before predictive models and deeper diagnostic analysis. I recommended scripts that generated consistent dashboards from the consolidated data.
RESULT
Standard dashboards were built to answer recurring questions with reusable views. Predictive models and deeper diagnostic analysis remained later steps in the roadmap.
What I would do differently
Write the privacy contract first
Write down the privacy contract and data ownership before the first feed connects. That means which fields each downstream tool may receive and which team owns each source. Those two rules decide what the lake can hold and who fixes a feed when it breaks.
Report feed health from day one
I tracked feed readiness: 10 of 13 clickstream feeds were live by July 2020. Next time I would report that count weekly from the first feed, with an owner and a target date for every feed not yet live.