The insights derived from the analysis of your data model make your Adobe Real-Time CDP data more accessible, understandable, and impactful for decision-making.
Understand your destination insights by accessing the SQL that powers them, then generate your own insights to further explore the activation of data from Adobe Experience Platform to your destination platforms. Transform your raw data into new actionable insights by using the existing Real-Time CDP data model SQL as inspiration to create queries for your unique business needs.
See the View SQL documentation for more information on how to adapt your insights’ SQL directly through the PLatform UI.
The following insights are all available for you to use as part of the Destinations dashboard or a custom user-defined dashboard. See the customization overview for instructions on how to customize your dashboard or create and edit new widgets in the widget library and user-defined dashboard.
Questions answered by this insight:
SELECT
COUNT(segment_id) AS Activated_Audiences_Count
FROM
qsaccel.profile_agg.adwh_dim_br_segment_destinations
WHERE
(
SELECT
MAX(process_date)
FROM
qsaccel.profile_agg.adwh_lkup_process_delta_log
WHERE
process_name = 'FACT_TABLES_PROCESSING'
AND process_status = 'SUCCESSFUL'
) BETWEEN start_date AND end_date
AND destination_id = 1458738325;
See the Activated audiences widget documentation for information on the appearance and functionality of this insight.
Questions answered by this insight:
SELECT count(segment_id) AS Activated_Audiences_Count
FROM qsaccel.profile_agg.adwh_dim_br_segment_destinations
WHERE
(SELECT MAX(process_date)
FROM qsaccel.profile_agg.adwh_lkup_process_delta_log
WHERE process_name = 'FACT_TABLES_PROCESSING'
AND process_status = 'SUCCESSFUL' ) BETWEEN start_date AND end_date;
See the Activated audiences across all destinations widget documentation for information on the appearance and functionality of this insight.
Questions answered by this insight:
SELECT destination_platform_name AS Destination_Platform_Name,
COUNT(destination_id) AS Active_Destinations_Count
FROM qsaccel.profile_agg.adwh_dim_destination a
INNER JOIN qsaccel.profile_agg.adwh_dim_destination_platform b ON a.destination_platform_id = b.destination_platform_id
WHERE destination_status='enabled'
GROUP BY destination_platform_name
ORDER BY Active_Destinations_Count DESC
LIMIT 20;
See the Active destinations by destination platform widget documentation for information on the appearance and functionality of this insight.
Questions answered by this insight:
SELECT d.destination_name,
d.destination,
d.destination_id,
b.segment_name,
b.segment,
c.segment_id,
a.date_key,
sum(a.count_of_profiles) AS profile_count
FROM qsaccel.profile_agg.adwh_fact_profile_by_segment_trendlines a
INNER JOIN qsaccel.profile_agg.adwh_dim_segments b ON a.segment_id = b.segment_id
INNER JOIN qsaccel.profile_agg.adwh_dim_br_segment_destinations c ON a.segment_id = c.segment_id
INNER JOIN qsaccel.profile_agg.adwh_dim_destination d ON c.destination_id = d.destination_id
INNER JOIN
(SELECT MAX(process_date) last_process_date,
merge_policy_id
FROM qsaccel.profile_agg.adwh_lkup_process_delta_log
WHERE process_name = 'FACT_TABLES_PROCESSING'
AND process_status = 'SUCCESSFUL'
GROUP BY merge_policy_id) f ON a.merge_policy_id = f.merge_policy_id
WHERE a.date_key >= dateadd(DAY, -30-1, f.last_process_date)
AND d.destination_id = -1275507046
AND c.segment_id = -1452100519
GROUP BY d.destination_name,
d.destination,
d.destination_id,
b.segment_name,
b.segment,
c.segment_id,
a.date_key;
See the Audience size trend widget documentation for information on the appearance and functionality of this insight.
Questions answered by this insight:
SELECT k.destination_name1,
k.destination_1,
k.destination_id1,
k.destination_name2,
k.destination_2,
k.destination_id2,
b.segment_name,
b.segment,
b.segment_id,
sum(a.count_of_profiles) AS profile_count
FROM
(SELECT i.destination_name AS destination_name1,
i.destination AS destination_1,
i.destination_id AS destination_id1,
j.destination_name AS destination_name2,
j.destination AS destination_2,
j.destination_id AS destination_id2,
i.segment_id
FROM
(SELECT b.destination_name,
b.destination,
b.destination_id,
a.segment_id
FROM qsaccel.profile_agg.adwh_dim_br_segment_destinations a
INNER JOIN qsaccel.profile_agg.adwh_dim_destination b ON a.destination_id=b.destination_id
WHERE b.destination_id=1458738325) AS i
INNER JOIN
(SELECT b.destination_name,
b.destination,
b.destination_id,
a.segment_id
FROM qsaccel.profile_agg.adwh_dim_br_segment_destinations a
INNER JOIN qsaccel.profile_agg.adwh_dim_destination b ON a.destination_id=b.destination_id
WHERE b.destination_id=-635802802) AS j ON i.segment_id=j.segment_id) AS k
INNER JOIN qsaccel.profile_agg.adwh_fact_profile_by_segment a ON a.segment_id = k.segment_id
INNER JOIN qsaccel.profile_agg.adwh_dim_segments b ON b.segment_id = k.segment_id
INNER JOIN
(SELECT MAX(process_date) last_process_date,
merge_policy_id
FROM qsaccel.profile_agg.adwh_lkup_process_delta_log
WHERE process_name = 'FACT_TABLES_PROCESSING'
AND process_status = 'SUCCESSFUL'
GROUP BY merge_policy_id) c ON a.merge_policy_id = c.merge_policy_id
WHERE a.date_key = c.last_process_date
GROUP BY k.destination_name1,
k.destination_1,
k.destination_id1,
k.destination_name2,
k.destination_2,
k.destination_id2,
b.segment_name,
b.segment,
b.segment_id
ORDER BY profile_count DESC
LIMIT 20;
See the Common audiences widget documentation for information on the appearance and functionality of this insight.
Questions answered by this insight:
SELECT COUNT(CASE
WHEN destination_status='enabled' THEN 1
END) AS count_of_active_destinations,
COUNT(CASE
WHEN destination_status='disabled' THEN 1
END) AS count_of_inactive_destinations
FROM qsaccel.profile_agg.adwh_dim_destination;
See the Destination status widget documentation for information on the appearance and functionality of this insight.
Questions answered by this insight:
SELECT count(destination_id) AS total_number_of_destinations
FROM qsaccel.profile_agg.adwh_dim_destination;
See the Destinations count widget documentation for information on the appearance and functionality of this insight.
Questions answered by this insight:
SELECT destination_name,
SEGMENT,
segment_id,
segment_name,
avg_profile_count,
latest_profile_count,
stddev_profile_count,
profile_count_z_factor
FROM
(SELECT b.destination_name,
f.segment_id,
c.segment_name,
c.segment,
f.avg_profile_count,
f.latest_profile_count,
f.stddev_profile_count,
CASE
WHEN stddev_profile_count = 0 THEN 0 ELSE(f.latest_profile_count - f.avg_profile_count)/f.stddev_profile_count
END AS profile_count_z_factor
FROM
(SELECT segment_id,
avg(profile_count) AS avg_profile_count,
sum(CASE
WHEN last_process_date = date_key THEN profile_count
ELSE 0
END) AS latest_profile_count,
stdevp(profile_count) AS stddev_profile_count
FROM
(SELECT x.date_key,
x.segment_id,
d.last_process_date,
sum(x.count_of_profiles) AS profile_count
FROM qsaccel.profile_agg.adwh_fact_profile_by_segment_trendlines x
INNER JOIN
(SELECT MAX(process_date) last_process_date,
merge_policy_id
FROM qsaccel.profile_agg.adwh_lkup_process_delta_log
WHERE process_name = 'FACT_TABLES_PROCESSING'
AND process_status = 'SUCCESSFUL'
GROUP BY merge_policy_id) d ON x.merge_policy_id = d.merge_policy_id
WHERE x.date_key >= dateadd (DAY, -30, d.last_process_date)
GROUP BY x.date_key,
x.segment_id,
d.last_process_date) AS t
GROUP BY segment_id) AS f
INNER JOIN qsaccel.profile_agg.adwh_dim_segments c ON f.segment_id = c.segment_id
INNER JOIN qsaccel.profile_agg.adwh_dim_br_segment_destinations a ON a.segment_id = c.segment_id
INNER JOIN qsaccel.profile_agg.adwh_dim_destination b ON a.destination_id = b.destination_id
WHERE b.destination_id = 1458738325) AS m
WHERE abs(m.profile_count_z_factor) >= 1
ORDER BY m.latest_profile_count DESC
LIMIT 20;
See the Mapped audience health widget documentation for information on the appearance and functionality of this insight.
Questions answered by this insight:
SELECT COUNT(segment_id) AS mapped_audiences_count
FROM qsaccel.profile_agg.adwh_dim_br_segment_destinations
WHERE destination_id = 1458738325;
See the Mapped audiences widget documentation for information on the appearance and functionality of this insight.
Questions answered by this insight:
SELECT qsaccel.profile_agg.adwh_dim_destination.destination_name,
qsaccel.profile_agg.adwh_dim_destination.destination_id,
qsaccel.profile_agg.adwh_dim_destination.destination,
count(DISTINCT qsaccel.profile_agg.adwh_dim_br_segment_destinations.segment_id) segment_count
FROM qsaccel.profile_agg.adwh_dim_destination
JOIN qsaccel.profile_agg.adwh_dim_br_segment_destinations ON qsaccel.profile_agg.adwh_dim_destination.destination_id = qsaccel.profile_agg.adwh_dim_br_segment_destinations.destination_id
WHERE qsaccel.profile_agg.adwh_dim_destination.destination_name IS NOT NULL
GROUP BY qsaccel.profile_agg.adwh_dim_destination.destination_name,
qsaccel.profile_agg.adwh_dim_destination.destination,
qsaccel.profile_agg.adwh_dim_destination.destination_id
ORDER BY segment_count DESC
LIMIT 20;
See the Most used destinations widget documentation for information on the appearance and functionality of this insight.
Questions answered by this insight:
SELECT
segment_name,
segment,
destination_name,
a.create_time create_time
FROM
qsaccel.profile_agg.adwh_dim_br_segment_destinations a
INNER JOIN qsaccel.profile_agg.adwh_dim_segments b ON a.segment_id = b.segment_id
INNER JOIN qsaccel.profile_agg.adwh_dim_destination c ON a.destination_id = c.destination_id
ORDER BY
create_time DESC,
segment
LIMIT
20;
See the Recently activated audiences widget documentation for information on the appearance and functionality of this insight.
Questions answered by this insight:
SELECT c.destination_name,
c.destination,
c.destination_id,
b.segment_name,
b.segment,
b.segment_id,
a.create_time activated
FROM qsaccel.profile_agg.adwh_dim_br_segment_destinations a
INNER JOIN qsaccel.profile_agg.adwh_dim_segments b ON a.segment_id=b.segment_id
INNER JOIN qsaccel.profile_agg.adwh_dim_destination c ON a.destination_id=c.destination_id
WHERE c.destination_id=-1275507046
ORDER BY a.create_time DESC,
a.segment_id
LIMIT 20;
See the Recently activated audiences by destination widget documentation for information on the appearance and functionality of this insight.
Questions answered by this insight:
SELECT DISTINCT
destination,
destination_name,
create_time
FROM
qsaccel.profile_agg.adwh_dim_destination
WHERE
destination_status = 'enabled'
ORDER BY
create_time DESC
LIMIT
20;
See the Recently created destinations widget documentation for information on the appearance and functionality of this insight.
By reading this document, you now understand the SQL that generates dashboard insights and what common questions this analysis solves. You can now edit and iterate these SQL queries to generate your own insights.
See the View SQL documentation for more information on how to adapt your insights’ SQL directly through the PLatform UI.
You can also read and understand the SQL that generates insights for the Profiles, Account Profiles and Audiences dashboards.