コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards
解決済み

Metrics Downstream Questions

Avatar

Level 6

Hi Everyone,

 

I wanted to see if anybody has any SQL code handy for Adobe Downstream data for the following metrics? I am only able to find the basic ones here: https://experienceleague.adobe.com/en/docs/analytics/export/analytics-data-feed/data-feed-contents/d...

and here: https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-blogs/sample-sql-queries-to-query-a...

 

  • Visits
  • Visits by Referrer and Marketing Channel
  • # of repeat visits (and/or repeat visitors)
  • Avg. Time On Page
  • Avg. Pages Per Visit

 

Thanks!

1 受け入れられたソリューション

Avatar

正解者
Community Advisor

select "year_of_calendar",
"month_of_year",
"month_short_name",
"page_name",
"Unique_Visit_Count",
"PAGEVIEWCOUNT",
"TIMEONPAGE",
page_view_count/unique_visit_count as average_page_views_per_visit,
(timeonpage - coalesce(TIMEONPAGEBOUNCES))/(Unique_Visit_Count - coalesce(BOUNCES)) as average_time_spent_per_visit
from pre_data

 

@skatofiabah Try the above, This calculates visit counts, time on page, average page views per visit and average time spent per visit at the page level.

元の投稿で解決策を見る

7 返信

Avatar

正解者
Community Advisor

select "year_of_calendar",
"month_of_year",
"month_short_name",
"page_name",
"Unique_Visit_Count",
"PAGEVIEWCOUNT",
"TIMEONPAGE",
page_view_count/unique_visit_count as average_page_views_per_visit,
(timeonpage - coalesce(TIMEONPAGEBOUNCES))/(Unique_Visit_Count - coalesce(BOUNCES)) as average_time_spent_per_visit
from pre_data

 

@skatofiabah Try the above, This calculates visit counts, time on page, average page views per visit and average time spent per visit at the page level.

Avatar

Level 6

Hi @Krishna_Musku,

 

I need this for the "adb_daily_web_traffic" table. This doesn't appear to point to that. Also, can you break up the code for each inidividual metic separately?

Avatar

Community Advisor

I didn't use the data feeds much, I found this in my resources for some queries. I don't have the breakdown for individual metrics.

Avatar

Level 6

Hi @Krishna_Musku,

 

Wait I'm confused. So you don't use that downstream table. Then what do those queries point to?

Avatar

Community Advisor

Those queries are for visit counts, time on page, average page views per visit and average time spent per visit at the page level. They are used by my data team. I won't use them. I sent them for your reference. You can change them based on your needs.

Avatar

Level 6

Hi @Krishna_Musku,

 

It's different than ours. Ours is "adb_daily_web_traffic". Does your data team have that table?

Avatar

Community Advisor

@skatofiabah No, I think the tables are specific to your org.