Calculate Entry Page Visits from Clickstream Data | Community
Skip to main content
September 29, 2023
Question

Calculate Entry Page Visits from Clickstream Data

  • September 29, 2023
  • 1 reply
  • 1325 views

Hello There,

I'm trying to calculate the entry page visits for clickstream data using SQL, but I'm receiving inconsistent results when attempting to reconcile with Adobe Analytics data. Please find below SQL query for the same,

select dd, count( distinct ( concat ( post_visid_high, post_visid_low, visit_num, visit_start_time_gmt ) ) ) as visits from `clickstream` where yy = 2023 and mm = 06 and entry_page_type = 'product page' and visit_page_num = = 1 group by dd


I also tried using prev_page fields but still the results are different. Can someone help me to correct this ?  Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
September 29, 2023

Did you factor in the exclude_hit column in your raw data? If there are hits that shouldn't be included, you may still be counting them in your SQL?

October 9, 2023

Thanks Jennifer. No I am not counting any extra hits in any of the case.