Source analytics v2 dataset
1. Dataset Name
Source Analytics v2 dataset
2. Description
A candidate-and-application-level dataset that traces every application back to its source (application channel, referral status, sourcing recruiter) while also capturing candidates who have a profile in the talent network but have not yet applied. Each row represents one application, or, for profiles with no applications, one profile. This dataset powers source-channel reporting, recruiter and referrer attribution, referral program tracking, and talent network growth metrics on the Source Analytics v2 Dashboard.
3. Source Tables
- customer_views.profile (aliased pr) — base table; every profile appears at least once regardless of whether it has an application.
- customer_views.applications (aliased a) — LEFT JOINed on profile_id; provides application details, source, credited-to, hire outcome, and match score.
- customer_views.positions (aliased pos) — LEFT JOINed on position_id (from applications); provides business_unit, job_function, position_title, location_country, and the calibration flags used to derive is_calibrated.
- emp CTE (sourced from customer_views.employee, deduplicated by lowercased email) — joined twice: once to resolve application_credited_to to a display name, once to resolve profile_sourced_by to a display name.
4. Grain
One row per application. A profile with no applications still produces exactly one row (a profile-only row), with all application- and position-level fields NULL. A profile with multiple applications produces multiple rows, one per application.
5. Dashboards Supported
- Source Analytics v2 Dashboard
6. Metrics Supported
Key metrics shown; several additional widgets on this dashboard also draw from this dataset.
| Metric | Supported Breakdowns |
| Total Application Count | application_source, application_source_category, application_credited_to, business_unit, job_function, location_country |
| Total Hire Count | application_source, application_source_category, application_credited_to, business_unit, job_function, location_country |
| Avg Match Score of Applications | application_source, application_source_category, application_credited_to, business_unit, job_function, location_country |
| Applications Share by Source Category | application_source, application_credited_to, job_function, business_unit, location_country |
| Recruiter/Referrer Performance | application_source, application_source_category, business_unit, job_function, location_country |
| Total Unique Applications with Referral | location_country, job_function, business_unit |
| Talent Network Growth | profile_source_category, profile_sourced_by_email, profile_sourced_by, business_unit, job_function, location_country |
| Source Category Performance | business_unit, job_function, location_country, profile_source, profile_sourced_by |
7. Known Exclusions / Filters Applied
- The emp CTE deduplicates customer_views.employee by lowercased email, taking MAX(first_name)/MAX(last_name) as a tie-breaker when duplicate employee records share the same email — this is a dedup mechanism, not a meaningful aggregation.
- application_credited_to is enriched to a 'First Last (email-prefix)' display format when a match is found in the employee table; it falls back to the raw credited-to value when no match exists.
- profile_sourced_by is enriched the same way from person_sourced_by.
- is_referral is derived from a simple case-insensitive check that application_source_category equals 'Referral'.
- is_calibrated requires at least 4 of the 5 position calibration flags (location, skills, titles, similar candidates, work experience) to be true.
- earliest_profile_creation_ts is computed via a window function (earliest profile_created_ts, partitioned by the coalesced canonical/profile ID) to resolve the true earliest creation date across merged or duplicate profile records.
- LEFT JOINs to applications, positions, and emp mean a profile with no matching application still appears as one row, with NULLs for all application- and position-level fields, rather than being dropped.
8. Schema
| Column Name | Data Type | Notes |
| application_id | varchar | Unique application identifier. NULL for profile-only rows. |
| profile_id | bigint | Candidate's profile identifier. |
| canonical_profile_id | bigint | Canonical profile identifier after duplicate/merge resolution. |
| application_ts | datetime | Application submission timestamp. |
| hired_ts | datetime | Hire timestamp. |
| offer_ts | datetime | Offer timestamp. |
| is_hired | bigint | 1 = application resulted in a hire. |
| profile_created_ts | datetime | Raw profile creation timestamp for this specific profile record. |
| earliest_profile_creation_ts | datetime | Derived: earliest creation timestamp across merged/duplicate profile records for the same candidate. |
| application_source | varchar | Raw source the application came from. |
| application_source_category | varchar | Categorized application source. |
| application_credited_to_email | varchar | Raw email of the recruiter/referrer credited on the application. |
| application_credited_to | varchar | Derived: display name of the recruiter/referrer credited on the application, formatted as 'First Last (email-prefix)' when a matching employee record is found; falls back to the raw credited-to value otherwise. |
| utm_source | varchar | UTM source parameter on the application. |
| utm_campaign | varchar | UTM campaign parameter on the application. |
| profile_source | varchar | Raw source the candidate profile came from. |
| profile_source_category | varchar | Categorized profile source. |
| profile_sourced_by_email | varchar | Raw email of the recruiter who sourced the profile. |
| profile_sourced_by | varchar | Derived: display name of the recruiter who sourced the profile, formatted the same way as application_credited_to. |
| is_referral | bigint | Derived: 1 when the application's source category is Referral. |
| match_score | double | AI-generated match score for the application, on a 1-5 scale. |
| stage_group | varchar | Last recruitment stage group reached by the application. |
| application_status | varchar | Current status of the application. |
| is_internal | bigint | 1 = candidate applied via an internal/employee channel. |
| is_career_site | bigint | 1 = application came through the career site. |
| in_talent_network | bigint | 1 = candidate had a pre-existing talent network profile prior to this application. |
| is_rediscovered_applicant | bigint | 1 = candidate was rediscovered from a prior application/profile. |
| is_calibrated | bigint | Derived: 1 when at least 4 of the position's 5 calibration flags (location, skills, titles, similar candidates, work experience) are true. |
| position_id | bigint | Position associated with the application. |
| business_unit | varchar | Business unit of the position. |
| job_function | varchar | Job function of the position. |
| position_title | varchar | Title of the position. |
| location_country | varchar | Country of the position. |