Looking for session by dfullStoryId

  • 13 August 2023
  • 3 replies

Till a while ago I was able to search for a session according to the fullStoryId printed into our logs. I did it by manually changing the session URL with the id taken from this attribute.
But, seems like recently the format was changed and I can’t find it anymore.
Any way I can restore a session by using the fullstoryId? 


Best answer by lindsay 23 August 2023, 00:49

View original

3 replies

Userlevel 5

Hey @Lior.kooznits! Thanks so much for your question! 😊

It’s my understanding you may be searching for user sessions using information from data export. You are correct in that the format of session URLs did change. If you are looking to build a session url programmatically from your exports, you also need the session id from the export.

You can use this format to locate the session:

Please let me know if you have any more questions! If this is not what you’re looking to do, please reply with a bit more information about your use case as I’d be happy to work with you to find a solution! 


Thanks for answering.

I was trying to follow your suggestion. indeed, I‘m trying to programticly build a URL based on a fullstory id exported into our company logs.

I’ve tried to follow your suggestion but couldn’t build the appropriate URL. it will. 

I’ll try to give you a real-life example and if possible, can you advise how it should be formatted?


A URL copied from our company fullstory account:!2226405805421615497


A real fullStoryid stored in our logs:



How can I amend the URL (based on the fullStoryId) so I would be able to load the session? as mentioned? 


Userlevel 5

Hey @Lior.kooznits! Thanks so much for reaching out and providing that example!

I’m happy show you how to format this:

When looking at a session's URL while watching it in FullStory, you'll see a pattern that looks like this:<ORG_ID>/session/<FS_INTERNAL_USER_ID>:<SESSION_ID>!<PAGE_ID>
As an example:
However, the values provided in the browser at the time a session is captured are slightly different.
Let's take the value you provided from your logs. This is the contents of our `fs_uid` cookie. The cookie's pattern looks like this:
As an example:
As you can see though, the values in the cookie no longer match the values in the corresponding session URL where those IDs are numeric. In fact, if you call FS.getCurrentSessionURL() from your browser while you are capturing a session, you would get a URL that looks like this (based off the cookie above):
There is one key difference to point out: The URLs with the hashed IDs use the path `/client-session/` whereas the numeric IDs rely on the `/session/` path. You'll also note that visiting the hashed version redirects to the numeric.
So to summarize, if you're using cookie values like this:
Then you'll need to create the URL so that it looks like this:
And once you visit the session, you'll be redirected to a session with this URL:


I hope this helps! If you have any other questions, please don’t hesitate to let me know!