Real-Time CDP Insights data model B2B Edition
The Real-Time CDP Insights data model for the B2B Edition exposes the data models and SQL that power the insights for account profiles. You can customize these SQL query templates to create Real-Time CDP reports for your B2B marketing and key performance indicator (KPI) use cases. These insights can then be used as custom widgets for your dashboards.
Prerequisites
This guide requires a working understanding of custom dashboards. Read the documentation on how to create a custom dashboard before continuing with this guide.
Real-Time CDP B2B insight reports and use cases B2B-insight-reports-and-use-cases
Real-Time CDP B2B reporting provides insights into your account profiles data and the relationship between accounts and opportunities. The following star schema models were developed to answer a variety of common marketing use cases and each data model can support several use cases.
Account Profile model account-profile-model
The Account Profile model is comprised of eight datasets:
adwh_dim_industryadwh_dim_account_nameadwh_dim_geoadwh_dim_account_typeadwh_fact_accountaccount_revenue_employee
The diagram below displays the relevant data fields in each dataset, their data type, and the foreign keys linking the datasets together.
The new accounts by industry use case accounts-by-industry
The logic used for the New accounts by industry insight returns the top five industries according to their number of account profiles and their relative size to each other. See the New accounts By Industry widget documentation for more information.
The SQL that generates the New accounts by industry insight is seen in the collapsible section below.
| code language-sql |
|---|
|
The New accounts by type use case accounts-by-type
The logic used for the New accounts by type insight returns the numerical breakdown of accounts by their type. This insight can help to guide business strategy and operations, including resource allocation or marketing strategies. See the New accounts by type widget documentation for more information.
The SQL that generates the New accounts by type insight is seen in the collapsible section below.
| code language-sql |
|---|
|
Opportunity model opportunity-model
The Opportunity model is comprised of seven datasets:
adwh_dim_opportunity_stageadwh_dim_person_roleadwh_dim_opportunity_source_typeadwh_dim_opportunity_nameadwh_fact_opportunityadwh_opportunity_amountadwh_fact_opportunity_person
The diagram below displays the relevant data fields in each dataset.