---
title: User Sessions
description: User Sessions
---

[Skip to content](https://help.pubstack.io/migration/user-sessions#main-content)

English

Show submenu for translations

[Contact us](https://help.pubstack.io/migration/kb-tickets/new?hsLang=en) [Customer portal](https://help.pubstack.io/tickets-view?hsLang=en)

![Logo Pubstack white.svg\]](https://help.pubstack.io/hubfs/Logo%20Pubstack%20white.svg)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Contact us](https://help.pubstack.io/migration/kb-tickets/new)
- [Customer portal](https://help.pubstack.io/tickets-view)
- Go to Pubstack

 Go to Pubstack

 Welcome on our knowledge base

- There are no suggestions because the search field is empty.

1. [Knowledge Base](https://help.pubstack.io/migration?hsLang=en)
2. [Ad Management (One)](https://help.pubstack.io/migration/ad-management-one?hsLang=en)
3. [Features](https://help.pubstack.io/migration/ad-management-one?hsLang=en#features)

# User Sessions

## User Sessions

### 🚀 Features

<iframe data-hsv-src="https://play.hubspotvideo.com/v/4565186/id/153208033890" referrerpolicy="origin" sandbox="allow-forms allow-scripts allow-same-origin allow-popups" allow="autoplay; fullscreen;" style="position: absolute !important; width: 100% !important; height: 100% !important; left: 0; top: 0; border: 0 none; pointer-events: initial" title="HubSpot Video" loading="lazy" data-hsv-id="153208033890" data-hsv-style="" data-hsv-width="688" data-hsv-height="353" data-hsv-autoplay="false" data-hsv-loop="false" data-hsv-muted="false" data-hsv-hidden-controls="false" data-hsv-full-width="false"></iframe>

**Number of sessions**

---

Total amount of unique sessions measured by Pubstack, if consent was given by the CMP.

Pubstack records a session every single time someone loads a page on your website. A session ends at midnight or after 30 minutes of inactivity.

This figure can be abnormally high if the User Session script is loaded several times per page, for example when using iframes.

**Session RPM**

---

$$ = 1000 \* Revenue / Sessions $$

**Impressions per session**

---

$$ = Impressions / Sessions $$

**Pageviews per session**

---

$$ = Page views / Sessions $$

**Impressions per page**

---

$$ = Impressions / Page views $$

Data can be filtered out and broken down by Site, Device and Country.

![Untitled (3)](https://help.pubstack.io/hs-fs/hubfs/Untitled%20(3).png?width=688&height=172&name=Untitled%20(3).png)

### 🏭 Implementation

Once the DPA has been signed, you only need to have your analytics tag. 

This information can be found there in the app (*Site ID* field): [https://app.pubstack.io/settings/sites](https://app.pubstack.io/settings/sites)

![Untitled (4)](https://help.pubstack.io/hs-fs/hubfs/Untitled%20(4).png?width=688&height=168&name=Untitled%20(4).png)

*Note: the tagId is different for each website*

💡 **The script should be loaded only once per page**, otherwise data will be double-counted. That includes paying attention to iframes.

Then, reach out to your Customer Success Manager to activate the feature.

### 👮 CMP compliance

The User Sessions feature relies on the CMP to know whether it can track specific data or not.

- **If the visitor consents to at least the purposes 1, 7 and 8:** Pubstack will track sessions data. Internally, we use the field sessionTracking to define whether we are able to track or not.
- **If the visitor doesn’t consent:** Pubstack doesn’t track sessions data. Only pageViews will be logged.

We also have an internal field consent that will eventually allow us to track the consent rate. It can take the following values:

- [What is Pubstack](https://help.pubstack.io/migration/what-is-pubstack?hsLang=en#main-content)

    - [Solutions description](https://help.pubstack.io/migration/what-is-pubstack?hsLang=en#solutions-description)
    - [Demo and trial](https://help.pubstack.io/migration/what-is-pubstack?hsLang=en#demo-and-trial)
- [Analytics](https://help.pubstack.io/migration/analytics?hsLang=en#main-content)

    - [The Pubstack interface](https://help.pubstack.io/migration/analytics?hsLang=en#the-pubstack-interface)
    - [Technical documentation](https://help.pubstack.io/migration/analytics?hsLang=en#technical-documentation)
    - [Use cases](https://help.pubstack.io/migration/analytics?hsLang=en#use-cases)
    - [Ad servers](https://help.pubstack.io/migration/analytics?hsLang=en#ad-servers)
    - [API](https://help.pubstack.io/migration/analytics?hsLang=en#api)
- [Ad Management (One)](https://help.pubstack.io/migration/ad-management-one?hsLang=en#main-content)

    - [Implementation](https://help.pubstack.io/migration/ad-management-one?hsLang=en#implementation)
    - [Technical Documentation](https://help.pubstack.io/migration/ad-management-one?hsLang=en#technical-documentation)
    - [Pubstack UI Ad Management](https://help.pubstack.io/migration/ad-management-one?hsLang=en#pubstack-ui-ad-management)
    - [Use Cases](https://help.pubstack.io/migration/ad-management-one?hsLang=en#use-cases)
    - [Features](https://help.pubstack.io/migration/ad-management-one?hsLang=en#features)
- [Knowledge](https://help.pubstack.io/migration/knowledge?hsLang=en#main-content)

    - [Infographics](https://help.pubstack.io/migration/knowledge?hsLang=en#infographics)
- [Technical Documentation](https://help.pubstack.io/migration/technical-documentation?hsLang=en)
- [The Pubstack Academy](https://help.pubstack.io/migration/the-pubstack-academy?hsLang=en#main-content)

    - [User-Guides](https://help.pubstack.io/migration/the-pubstack-academy?hsLang=en#user-guides)
    - [Webinar Episodes](https://help.pubstack.io/migration/the-pubstack-academy?hsLang=en#webinar-episodes)
- [How to contact Support ?](https://help.pubstack.io/migration/how-to-contact-support?hsLang=en)
- [Pubstack Node](https://help.pubstack.io/migration/pubstack-node?hsLang=en#main-content)

    - [Introduction](https://help.pubstack.io/migration/pubstack-node?hsLang=en#introduction)
    - [Getting Started](https://help.pubstack.io/migration/pubstack-node?hsLang=en#getting-started)
    - [Analytics](https://help.pubstack.io/migration/pubstack-node?hsLang=en#analytics)
    - [Rules](https://help.pubstack.io/migration/pubstack-node?hsLang=en#rules)
    - [Monetisation Management](https://help.pubstack.io/migration/pubstack-node?hsLang=en#monetisation-management)

[![Chill listening crop-3](https://help.pubstack.io/hs-fs/hubfs/pubstack_logo.png?width=89&height=24&name=pubstack_logo.png "Chill listening crop-3")](http://www.pubstack.io?hsLang=en)

We help publishers thrive in a complex programmatic world

Copyright © 2026, Pubstack

```json
{
  "@context" : "https://schema.org",
  "@type" : "VideoObject",
  "contentUrl" : "https://4565186.fs1.hubspotusercontent-na1.net/hubfs/4565186/Demo%20User%20Sessions.mov",
  "dateModified" : "2024-01-16T13:28:08.942Z",
  "duration" : "PT36S",
  "height" : 1720,
  "name" : "Demo User Sessions",
  "thumbnailUrl" : "https://4565186.fs1.hubspotusercontent-na1.net/hubfs/4565186/Demo%20User%20Sessions.mov/medium.jpg",
  "uploadDate" : "2024-01-16T13:27:56.577Z",
  "width" : 3350
}
```