Marketing Analytics Data - L2R Models

The L2R Models grouping is comprised of the core Lead to Revenue model and those models built directly from it.

Rpt_lead_to_revenue

The Lead to Revenue report is the consolidation of the major lifecycle objects/marts: Person, Opportunity, Account, and both types of Bizible Touchpoints. It is a one-stop shop for nearly all Sales and Marketing metrics and data on the joined objects. It allows for quick analysis of funnel progression, cohorting of data points and metrics, and allows for a true funnel from lead creation to opportunity close to be created from one table.

Use Cases

  1. Funnel stage progression of a given record
  2. Count of records in a given funnel stage
  3. Average velocity between funnel stages
  4. Cohorting data around a given attribute

Key Fields

  1. lead_to_revenue_id - The surrogate key that identifies a unique row in this model.
  2. [kpi]_date_range_* - KPI-specific date aggregations
  3. bizible_mql_* - Bizible TP data on the TP that occurs just prior to the MQL Date.
  4. bizible_most_recent_* - Bizible TP data on the most recent TP on a person/opportunity

Key Metrics

  1. Count of records by funnel stage
  2. Count of Touchpoints between specific funnel stages
  3. Overall velocity through the funnel
  4. Funnel stage conversion rates

Data Lineage

  1. Data is sourced from SFDC
  2. The full lineage can be seen here

DBT Solution

The dbt solution generates a dimensional model from RAW source data. The exceptions are the following fields that are calculated based on business logic implemented within specific dbt models:

Field Business Logic
lead_to_revenue_id Defined in model
[kpi]date_range* Defined in model

Rpt_l2r_campaign_interactions

The L2R Campaign Interactions report table uses a primary union between person/buyer and attribution/opportunity touchpoint and related mart fields to derive its base table. From there, various calculations on date/time fields and related dimensions are performed.

Use Cases

L2R is the base table of Campaign reporting at GitLab. It combines touchpoints allowing us to create a single view that shows the top of the funnel to Influenced SAO. It is used to track the conformance of email, content, and paid media efforts.

Key Fields

  1. Person_order_type
    1. A derived Order Type for the person record, based on the is_first_order_person SFDC field
  2. Touchpoint_type
    1. A denotation of whether the given touchpoint/record is a Person/Buyer or Opportunity/Attribution touchpoint.
  3. Custom attribution fields (i.e. custom_sao)
    1. Calculations to sum up the custom model weights of an opportunity’s touchpoints based on other criteria in the model
  4. Person_status_change
    1. A derived field to show the person record’s progression from one status to another.
  5. Is_mdf_campaign
    1. A T/F flag that shows whether or not the campaign associated with the record will have MDF funding or not.
  6. report_opportunity_*
    1. Derived fields to show the report-based attributes of the opportunity leveraging historical snapshot data where appropriate.
  7. Is_sales_dev_owned_record
    1. A T/F flag to show whether or not the record is owned by a Sales Dev rep in SFDC.
  8. *_date_range_*
    1. The pre-defined date aggregations of a given funnel-stage’s date for the given record.

Key Metrics

  1. Count of records/KPI totals by dimensions (campaign type, date, order type, etc.)
  2. Count of touchpoints at given stages or from specific campaigns
  3. Combined weighted Net ARR or Attributed touchpoints, by attribution model and dimension

Data Lineage

  1. Data is sourced from SFDC and L2R
  2. The full lineage can be seen here
Field Business Logic
Custom attribution fields (i.e. custom_sao) Defined in model
person_status_change Defined in model
is_mdf_campaign Defined in model
report_opportunity_* Defined in model
is_sales_dev_owned_record Defined in model

Rpt_l2r_campaign_interactions_paid_account

Filtered version of rpt_l2r_campaign_interactions on current paying accounts only.

Use Cases

L2R is the base table of Customer-specific Campaign reporting at GitLab. It combines touchpoints allowing us to create a single view that shows the top of the funnel to Influenced SAO. It is used to track the conformance of email, content, and paid media efforts.

Key Fields

  1. Person_order_type
    1. A derived Order Type for the person record, based on the is_first_order_person SFDC field
  2. Touchpoint_type
    1. A denotation of whether the given touchpoint/record is a Person/Buyer or Opportunity/Attribution touchpoint.
  3. Custom attribution fields (i.e. custom_sao)
    1. Calculations to sum up the custom model weights of an opportunity’s touchpoints based on other criteria in the model
  4. Person_status_change
    1. A derived field to show the person record’s progression from one status to another.
  5. Is_mdf_campaign
    1. A T/F flag that shows whether or not the campaign associated with the record will have MDF funding or not.
  6. report_opportunity_*
    1. Derived fields to show the report-based attributes of the opportunity leveraging historical snapshot data where appropriate.
  7. Is_sales_dev_owned_record
    1. A T/F flag to show whether or not the record is owned by a Sales Dev rep in SFDC.
  8. *_date_range_*
    1. The pre-defined date aggregations of a given funnel-stage’s date for the given record.

Key Metrics

  1. Count of records/KPI totals by dimensions (campaign type, date, order type, etc.)
  2. Count of touchpoints at given stages or from specific campaigns
  3. Combined weighted Net ARR or Attributed touchpoints, by attribution model and dimension

Data Lineage

  1. Data is sourced from SFDC
  2. The full lineage can be seen here

DBT Solution

The dbt solution generates a dimensional model from RAW source data. The exceptions are the following fields that are calculated based on business logic implemented within specific dbt models:

Field Business Logic
Custom attribution fields (i.e. custom_sao) Defined in model
person_status_change Defined in model
is_mdf_campaign Defined in model
report_opportunity_* Defined in model
is_sales_dev_owned_record Defined in model

Rpt_l2r_community_data

Tableau-specific table that joins Zuora, Opportunity, and Lead To Revenue data to hone in on the community-owned opportunities and their related data points.

Use Cases

  1. Calculating community-driven KPIs
  2. Split KPIs by Community project (SKU)

Key Fields

  1. Community_data_type - A grouping of SKUs (product_rate_plan_id) to determine which of the 3 Community projects this record belongs to.
  2. Number_of_seats - The count of user seats on a given account/namespace.
  3. *_date_range_* - KPI stage specific date aggregations
  4. Is_last_segment_version - T/F flag to indicate if the record in question is the most recent version of an invoice charge.
  5. Subscription_order - Incrementing number of subscriptions per Account
  6. Is_first_subscription_institution - T/F flag to show whether or not the record in question is the first subscription for a given Account

Key Metrics

  1. Number_of_seats by dimension
  2. Count of subscriptions per account
  3. Conversion rate of subscriptions/opportunities over time by dimensions

Data Lineage

  1. Data is sourced from SFDC
  2. The full lineage can be seen here

DBT Solution

The dbt solution generates a dimensional model from RAW source data. The exceptions are the following fields that are calculated based on business logic implemented within specific dbt models:

Field Business Logic
Community_data_type Defined in model
Number_of_seats Defined in model
Subscription_order Defined in model
Is_first_subscription_institution Defined in model

Rpt_l2r_prospects

Tableau-specific table that is a filtered view of rpt_lead_to_revenue, focused entirely on First Order Prospects.

Use Cases

  1. Funnel stage progression of a given record
  2. Count of records in a given funnel stage
  3. Average velocity between funnel stages
  4. Cohorting data around a given attribute

Key Fields

  1. lead_to_revenue_id - The surrogate key that identifies a unique row in this model.
  2. [kpi]_date_range_* - KPI-specific date aggregations
  3. bizible_mql_* - Bizible TP data on the TP that occurs just prior to the MQL Date.
  4. bizible_most_recent_* - Bizible TP data on the most recent TP on a person/opportunity

Key Metrics

  1. Count of records by funnel stage
  2. Count of Touchpoints between specific funnel stages
  3. Overall velocity through the funnel
  4. Funnel stage conversion rates

Data Lineage

  1. Data is sourced from SFDC
  2. The full lineage can be seen here

DBT Solution

The dbt solution generates a dimensional model from RAW source data. The exceptions are the following fields that are calculated based on business logic implemented within specific dbt models:

Field Business Logic
lead_to_revenue_id Defined in model
kpi_date_range_* Defined in model

Wk_rpt_l2r_cohort_model

A Tableau-specific table, currently a WIP, that Cohorts the rpt_lead_to_revenue data, pre-calculating velocity and lag time between funnel stages. This is entirely focused around determining cohorted conversion rates and KPI counts.

Use Cases

  1. Calculating cohorted velocity, conversion rate, and KPI counts

Key Fields

  1. lead_to_revenue_id - The surrogate key that identifies a unique row in this model.
  2. [kpi]_date_range_* - KPI-specific date aggregations
  3. Kpi_to_kpi_days - Lag time (in days) between specific KPIs/Funnel stages. Also represents conversion velocity.

Key Metrics

  1. Count of records by funnel stage
  2. Count of Touchpoints between specific funnel stages
  3. Overall velocity through the funnel
  4. Funnel stage conversion rates

Data Lineage

  1. Data is sourced from SFDC
  2. The full lineage can be seen here

DBT Solution

The dbt solution generates a dimensional model from RAW source data. The exceptions are the following fields that are calculated based on business logic implemented within specific dbt models:

Field Business Logic
lead_to_revenue_id Defined in model
[kpi]date_range* Defined in model
kpi_to_kpi_days Defined in model
Last modified February 24, 2025: Creating Marketing Analytics Data page (ec253af0)