# Web Analytics History for Contacts

**URL:** <https://community.hubspot.com/t/web-analytics-history-for-contacts/98571>\
**Category:** APIs & Integrations\
**Tags:** python\
**Created:** [January 24, 2024, 5:27pm UTC](https://community.hubspot.com/t/web-analytics-history-for-contacts/98571 "2024-01-24T17:27:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JFernandez06](https://avatars.discourse-cdn.com/v4/letter/j/858c86/32.png) [@JFernandez06](https://community.hubspot.com/u/JFernandez06)\
**Post date:** [January 24, 2024, 5:27pm UTC](https://community.hubspot.com/t/web-analytics-history-for-contacts/98571/1 "2024-01-24T17:27:31Z")

</div>

Hello, is there a way via API to get all contacts that had Number of Sessions \> 0?

Ideally I would like Contact Email, Number of Sessions, Time of Last Session.

---

<div class="post-metadata">

**Author:** ![cameroncollecti](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cameroncollecti/32/76053_2.png) [@cameroncollecti](https://community.hubspot.com/u/cameroncollecti)\
**Post date:** [January 25, 2024, 3:35am UTC](https://community.hubspot.com/t/web-analytics-history-for-contacts/98571/2 "2024-01-25T03:35:48Z")

</div>

You should be able to create a list with a filter for Number of sessions greater then 0, then view the records in that list.

> **[Accounts Dashboard | HubSpot](https://app.hubspot.com/myaccounts?next=developerdocs&redirect=%2Fapi-reference%2Fcrm-lists-v3%2Fguide)**

Hope this helps!

---

<div class="post-metadata">

**Author:** ![JFernandez06](https://avatars.discourse-cdn.com/v4/letter/j/858c86/32.png) [@JFernandez06](https://community.hubspot.com/u/JFernandez06)\
**Post date:** [January 26, 2024, 5:22pm UTC](https://community.hubspot.com/t/web-analytics-history-for-contacts/98571/3 "2024-01-26T17:22:11Z")

</div>

Great thanks, that worked!
