Repository navigation
Basic Recipes
Patrick@FullStory edited this page Jan 17, 2019
·
34 revisions
Keep two things in mind when analyzing your Data Export data:
- Rows are individual events created during sessions
- Distinct sessions can be found by grouping on a compound key of
sessionid+userid
select count(*) as "total recorded session count for your org"
from
(select sessionid, userid
from fsexport
group by sessionid, userid)
You can construct session replay URLs following the pattern in this example. You can find your org id by watching a session in FullStory and copying the org id out of the session replay URL. Your org id will be a short alpha-numeric string, for example: 1ENq.
select count(sessionid) as "events per session",
'https://app.fullstory.com/ui/'||'your org id'||'/session/'||userid||':'||sessionid as "session replay URL"
from fsexport
group by sessionid, userid
having "events per session" > 35
order by "events per session" desc
You can compute session length by finding the difference between the Min and Max eventstart values.
select trunc(extract(second from (Max(eventstart) - Min(eventstart)))/60, 2) as "session length (minutes)",
count(sessionid) as "events per session",
'https://app.fullstory.com/ui/'||'your org id'||'/session/'||userid||':'||sessionid as "session replay URL"
from fsexport
group by sessionid, userid
order by "session length (minutes)" desc