# Unique session data

**URL:** <https://community.piwik.pro/t/unique-session-data/947>\
**Category:** Reports and working with data\
**Created:** [September 1, 2022, 11:55am UTC](https://community.piwik.pro/t/unique-session-data/947 "2022-09-01T11:55:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vladyslav\_Zhovklyi](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/vladyslav_zhovklyi/32/696_2.png) [@Vladyslav\_Zhovklyi](https://community.piwik.pro/u/Vladyslav_Zhovklyi)\
**Post date:** [September 1, 2022, 11:55am UTC](https://community.piwik.pro/t/unique-session-data/947/1 "2022-09-01T11:55:01Z")

</div>

HI, I’m trying to split data into unique sessions. Does PIWIK have something like session ID or session timestamp that is unique only for 1 user session? I tried to do it with Session time and session number, but still have some issues with it. Do you have an idea how can I solve it?

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/1X/3a1a1421ec1b777a4fc1c28d0342dcd4bbbd152d.jpeg)

---

<div class="post-metadata">

**Author:** ![Jarek](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/jarek/32/4408_2.png) [@Jarek](https://community.piwik.pro/u/Jarek)\
**Post date:** [September 1, 2022, 3:41pm UTC](https://community.piwik.pro/t/unique-session-data/947/2 "2022-09-01T15:41:56Z")

</div>

Hi @Vladyslav_Zhovklyi,  
reporting is designed to work on aggregated data so we didn’t provide any dimension that would allow showing raw data in a report (granularity where one row would be a single session or event).

If you need to access raw data you can either export it from a session log (screen below), pull it out via API (see [the docs](https://developers.piwik.pro/en/latest/custom_reports/http_api/http_api.html#tag/Raw-data)) or, if relevant to you, pull via [Tableau connector](https://help.piwik.pro/support/integrations/tableau-integration/).

 ![Screenshot 2022-09-01 at 17.34.42](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/1X/6352e87e0fe4afc5e9ff16008baf0da533726c5e.png)

---

<div class="post-metadata">

**Author:** ![Vladyslav\_Zhovklyi](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/vladyslav_zhovklyi/32/696_2.png) [@Vladyslav\_Zhovklyi](https://community.piwik.pro/u/Vladyslav_Zhovklyi)\
**Post date:** [September 1, 2022, 4:47pm UTC](https://community.piwik.pro/t/unique-session-data/947/3 "2022-09-01T16:47:59Z")

</div>

We use PIWIK API (btw is much-much better that GA) to present analytics data for our users (they create landing pages and later they can check analytics on that pages). We want to show user each session visitor created. So, with PIWIK API there is no option do to that?  
Something like that. With GA, we used Custom dimension with Timestamp to differentiate each session, and it worked well, but with PIWIK, session dimension is the latest value, so it’s not an option.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/1X/83c2e4d2c4c8edbe69de98e5ae85e62b29d74503.png)

---

<div class="post-metadata">

**Author:** ![Jarek](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/jarek/32/4408_2.png) [@Jarek](https://community.piwik.pro/u/Jarek)\
**Post date:** [September 2, 2022, 7:33am UTC](https://community.piwik.pro/t/unique-session-data/947/4 "2022-09-02T07:33:00Z")

</div>

It is possible to get that over an API. You should look into raw data API linked in my previous post. You can pull individual sessions or events data (btw. each event contains data of a session it belongs to).  
In order to differentiate sessions you can use session\_id that is returned by default in each response.

---

<div class="post-metadata">

**Author:** ![Vladyslav\_Zhovklyi](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/vladyslav_zhovklyi/32/696_2.png) [@Vladyslav\_Zhovklyi](https://community.piwik.pro/u/Vladyslav_Zhovklyi)\
**Post date:** [September 2, 2022, 9:56am UTC](https://community.piwik.pro/t/unique-session-data/947/5 "2022-09-02T09:56:52Z")

</div>

Wow, totally missed that. Works perfectly!!! Thanks!
