Documentation

Table of Contents

How Are the Cookie Solution Pageviews Calculated?

The iubenda Cookie Solution counts the number of pageviews generated by the website in order to establish the price of the Cookie Solution and provides the user with useful information regarding the collection of the consent, such as the percentage of consent on the total visits, the manner in which the consent was collected and so on.

All sites generating less than 25,000 page views/month are always free and are not counted in your account quota, ie. pageviews are only counted for sites that go beyond that threshold.

The count of the pageviews is carried on by counting the number of executions of the Cookie Solution script. Whenever the Cookie Solution code runs, our software records a pageview.

In order to find out the number of generated pageviews:

Why does the amount of pageviews calculated by iubenda not coincide with the pageviews calculated with Google Analytics?

The number of pageviews calculated by our software may differ from those calculated using other statistical software such as Google Analytics, ShinyStat or Matomo/Piwik. This difference is due to the fact that the Cookie Solution automatically excludes from the counting, the pageviews generated by bots.

Are the pageviews calculated only at the first visit of each user?

Once the consent has been collected, the banner will disappear and the scripts/cookies that were subjected to the prior consent are immediately released. This is possible because the Cookie Solution script continues working behind the scenes, recognizing the users who have already given their consent.

For this reason the pageview is not recorded only at the first visit of each user, but also during all subsequent visits. The Cookie Solution script, in fact, runs continuously – even if the banner is not displayed and the blocking of scripts not executed.

Can I avoid pageviews to be counted during the testing/development phases of my website?

Yes, simply deselect the Prior blocking and asynchronous re-activation checkbox in the Cookie Solution configurator:

Prior blocking checkbox - Configurator

This will add "priorConsent":false to your Cookie Solution snippet:

<script type="text/javascript">
    var _iub = _iub || [];
    _iub.csConfiguration = {
        "lang": "en",
        "siteId": XXXXXX, //use your siteId
        "cookiePolicyId": YYYYYY, //use your cookiePolicyId
        "priorConsent": false,
        "banner": {
            "acceptButtonDisplay": true,
            "customizeButtonDisplay": true,
            "position": "float-top-center"
        }
    };
</script>
<script type="text/javascript" src="//cdn.iubenda.com/cs/iubenda_cs.js" charset="UTF-8" async></script>

With "priorConsent":false, pageviews will not be counted and prior blocking will not be performed. Since we strongly advise against deselecting prior blocking if you want to be in compliance with EU legislation, be sure to remove "priorConsent":false (or switch it to its default value, true) once you publish your website.

Please note that if the prior blocking setting has been disabled server side (via the checkbox on the flow page), this parameter will be ineffective whether it’s set to true or false.

See also

Still have questions?

Visit our support forum Email us