# Pageviews

{% hint style="success" %}
**Access Type**: Analytics - Viewer
{% endhint %}

The pageviews metric is calculated by counting each time a web page is loaded and therefore the Didomi CMP web SDK is loaded. The relationship between the pageview metric your organization finds via Didomi CMP analytics and pageviews via your web analytics tracking tool depends on whether your web analytics tool is sychronized with end-user consent .

* [Web analytics synced with end-user consent](#web-analytics-synced-with-end-user-consent)
* [Web analytics not synced with end-user consent](#web-analytics-not-synced-with-end-user-consent)

***

### Web analytics synced with end-user consent

Generally, if your consent notice leverages a tag management integration with your Didomi CMP implementation then the consent notice is sending end-user consent (opt-in and opt-out) to the tag management integration. This configuration means that the triggering of the web analytics tag is synchronized with the end-user consent.

Under these circumstances, only pageviews from end-users with consent will be counted by the web analytics tool. The volume of pageviews from your organization's web analytics tool should be similar to the [Opt-in pageviews](/analytics/consent-management-platform-cmp-analytics/cmp-metrics/cmp-metric-glossary.md#cmp-traffic-scope) for Didomi CMP analytics.

{% hint style="warning" %}
**Note**: Be aware that the pageview count for Didomi CMP analytics is [sampled](/analytics/consent-management-platform-cmp-analytics.md#data-sampling) and the data detected by the bots may be different from that of your organization's web analytics tool. These factors can generate discrepencies between metrics.
{% endhint %}

### Web analytics not synced with end-user consent

If your consent notice does not leverage a tag management integration with your Didomi CMP implementation it is unlikely that the triggering of the web analytics tags will be synchronized with the end-user's consent.

In this case, the web analytics tool will collect all the pageviews without taking into account the end-user's consent. The volume of pageviews from your organization's web analytics tool should be similar to the pageviews for Didomi CMP analytics

{% hint style="warning" %}
**Note**: Some web analytics tools, such as AT Internet, offer consent exemption capabilities. In this case, the volume of pageviews will be similar to the volume of pageviews in the Didomi CMP analytics (pageviews with opt-ins plus pageviews without consent).
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.didomi.io/analytics/consent-management-platform-cmp-analytics/cmp-metrics/pageviews.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
