How to calculate reload using data feed
I refer to the definition in the documentation:
- The ‘Reloads’ metric shows the number of times a dimension item was present during a reload. A visitor refreshing their browser is the most common way to trigger a reload.
- This metric counts the number of hits where the Page dimension contains the same value as the previous hit.
So I use window function to calculate it:
LEAD(post_pagename, 1) OVER(PARTITION BY visid ORDER BY visit_page_num) as next_pagename
And then, if next_pagename = post_pagename, I mark this record as reload. But I got about 5 times larger the number than it's shown using the metric reload on the dashboard. Why?