Prompt
How do I build a single customer view across CRM, support, web analytics, and product events?
Latest observation
To build a single customer view (SCV) across CRM, support, web analytics, and product events, you need to combine identity resolution, data integration, and a customer data model that keeps both raw events and a curated customer profile.
Here’s a practical blueprint:
1) Define the business outcome first
Before architecture, decide what “single customer view” means for your teams.
Typical goals:
- Sales sees account history, key contacts, and product usage
- Support sees recent activity, open cases, and churn risk
- Marketing sees lifecycle stage, engagement, and attribution
- Product sees feature adoption, cohorts, and friction points
Define 5–10 core questions the SCV must answer, like:
- Is this customer active?
- What products/features do they use?
- What issues have they had recently?
- Which campaigns touched them?
- What is their company/account health?
2) Standardize your identity model
This is the hardest part.
You usually need to resolve identities at multiple levels:
Person-level IDs
- CRM contact ID
- Support user ID
- Website cookie ID
- App user ID
- Email address
Account-level IDs
- CRM account ID
- Billing account ID
- Organization/domain
- Workspace/tenant ID
Common identity graph
Create a table or service that maps:
anonymous_id -> known_user_idemail -> contact_iduser_id -> account_iddomain -> account_id
Rules to support:
- Deterministic matching first, like login/email/user ID
- Fuzzy matching only if needed, and with caution
- Track merge history so you can undo bad merges
3) Build an event and entity data layer
Use two layers:
A. Raw ingestion layer
Store everything as-is from each source:
- CRM objects: leads, contacts, accounts, opportunities
- Support objects: tickets, comments, satisfaction scores
- Web analytics: sessions, pageviews, campaign touches
- Product events: logins, clicks, feature usage, errors
Keep raw source fields intact for traceability.
B. Canonical customer model
Transform raw data into standardized entities:
customerpersonaccountsubscriptioninteractionticketeventcampaign_touch
This gives you one consistent schema for downstream use.
4) Choose your architecture
A common modern pattern is:
Source systems
CRM, support, analytics, product telemetry
Ingestion
- Batch ELT or streaming pipelines
- Tools like Fivetran, Airbyte, Segment, RudderStack, custom APIs
Storage
- Warehouse/lakehouse: Snowflake, BigQuery, Redshift, Databricks, etc.
Transformation
- dbt or equivalent to standardize models
Identity resolution
- Identity service/graph in warehouse or dedicated CDP/MDM
- Merge rules and survivorship logic
Serving layer
- BI tools, reverse ETL, app APIs, customer-facing dashboards
5) Design your canonical customer tables
A useful minimal model:
dim_person
- person_id
- primary_email
- name
- lifecycle_stage
- created_at
- updated_at
dim_account
- account_id
- company_name
- domain
- industry
- size
- plan
- ARR/MRR
- created_at
bridge_identity
- identity_type
- identity_value
- person_id
- account_id
- confidence_score
- source_system
- first_seen_at
- last_seen_at
fact_event
- event_id
- person_id
- account_id
- event_name
- event_timestamp
- source
- properties JSON
fact_support_ticket
- ticket_id
- person_id
- account_id
- status
- priority
- created_at
- resolved_at
- satisfaction_score
fact_web_session
- session_id
- person_id
- account_id
- landing_page
- referrer
- campaign
- session_start
- session_end
This lets you roll up a customer timeline easily.
6) Build survivorship and golden records
When two systems disagree, decide which source wins.
Examples:
- Email: CRM or authenticated app account may be more reliable than web tracking
- Company name: CRM or billing system
- Industry/size: enrichment or CRM
- Last activity: product events and support may be more current than CRM
Use rules like:
- Prefer authenticated identifiers over anonymous
- Prefer billing for plan and subscription
- Prefer product telemetry for usage
- Prefer support for issue status
- Prefer CRM for account ownership and pipeline stage
Keep:
- current value
- source of truth
- last updated timestamp
- change history
7) Create a unified customer timeline
This is where the SCV becomes useful.
Merge key events into one ordered timeline:
- signed up
- first login
- viewed pricing page
- opened support ticket
- received campaign email
- upgraded plan
- experienced error spike
Make it filterable by:
- account
- person
- date range
- source system
- event type
This is often the most valuable output for sales, support, and success teams.
8) Add segmentation and derived metrics
Once the foundation is in place, calculate reusable attributes:
- activation status
- last seen
- feature adoption score
- support burden
- engagement score
- product health score
- churn risk indicators
- expansion readiness
These should be derived from the canonical data model, not manually maintained.
9) Handle consent, privacy, and governance
This is critical.
Include:
- consent status by channel
- data retention policies
- PII classification
- access controls by role
- audit logs for merges and updates
- GDPR/CCPA delete workflows
Don’t expose raw PII broadly. Use masking and least-privilege access.
10) Operationalize it
A single customer view only matters if teams use it.
Common activation points:
- CRM sidebar with product usage and support history
- Support console with account health and prior interactions
- Marketing audience syncs
- Success dashboards
- Triggered workflows for churn risk, upsell, or ticket escalation
Use reverse ETL or APIs to push key SCV fields back into operational tools.
11) Start small, then expand
Don’t try to solve everything at once.
A good phased rollout:
- Phase 1: CRM + support + account identity
- Phase 2: Add web analytics and product events
- Phase 3: Add derived metrics and customer health scoring
- Phase 4: Activate to tools and automate workflows
- Phase 5: Add governance, ML, and advanced identity resolution
12) Common pitfalls
Watch out for:
- No consistent account/person hierarchy
- Over-merging identities
- Treating anonymous web data as authoritative
- Building dashboards before modeling data
- No source-of-truth rules
- Ignoring data freshness
- No governance for deletes and consent
- Too many one-off custom fields
A good target architecture in one sentence
Ingest all customer data into a warehouse, resolve identities into person/account graphs, transform into canonical entities and events, compute a golden record and timeline, then activate it back into operational systems.
If you want, I can also give you:
- a reference architecture diagram,
- a sample data model/schema, or
- a step-by-step implementation plan for a specific stack like Salesforce + Zendesk + GA4 + Segment + Snowflake.