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...
Thanks!
Views
Replies
Total Likes
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.
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?
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
Hi @Krishna_Musku,
Wait I'm confused. So you don't use that downstream table. Then what do those queries point to?
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
Hi @Krishna_Musku,
It's different than ours. Ours is "adb_daily_web_traffic". Does your data team have that table?
Views
Replies
Total Likes
@skatofiabah No, I think the tables are specific to your org.
Views
Replies
Total Likes
Views
Likes
Replies