Integration with Google Analytics

How to see real time Google Analytics cookie statistics and other functionalities?

Nelson
Written by NelsonLast update 1 month ago

Google Analytics is one of the most powerful tools to analyze website users' behavior on the website. This guide shows how to read the cookie statistics of Google Analytics 4, the latest Google Analytics tool.

You can easily connect Google Analytics with a CookieScript pop-up on your website by selecting Google Analytics 4 as your main analytics tool.

All cookie banners’ statistics data, collected by CookieScript, is sent to Google Analytics and could be found in the Google Analytics Content section. See the instructions below on how to see your real time and historical Google Analytics cookie statistics data.

How to see real time Google Analytics cookie statistics?

To see your users’ real time cookie statistics, press the Reports icon, then click the Realtime button on the left panel of the Google Analytics dashboard:

There are several graphs with statistics. Choose the Event count by Event name graph and press the select_content tab. We send all cookie banners’ statistics data to the content section.

To see the user’s interaction with the cookie banner and what events the user selected at the cookie banner, press the content_type tab:

At the content_type tab, you can find four event parameters: “CookieScript accept”, “CookieScript acceptall”, “CookieScript close”, and “CookieScript reject”. Each of these parameters represents users’ interactions with the cookie banner in a real time and a corresponding user’s behavior.

To see what categories of cookies the user selected, go back to the Content section, and press the content_id tab.

Under the content_id tab, you can find the categories of cookies the user accepted like “Performance” or “Performance and targeting”.

How to see historical Google Analytics cookie statistics?

To see your users’ historical cookie statistics, click the Engagement, and then the Events buttons on the left panel of the Google Analytics dashboard:

In the table below, press the select_content tab:

If you select the content_type tab on the right side of the control panel, you can find four event parameters: “CookieScript accept”, “CookieScript acceptall”, “CookieScript close”, and “CookieScript reject”. Each of these parameters represents users’ historical interactions with the cookie banner and the corresponding user’s behavior.

If you select the content_id tab on the right side of the control panel, you can find the categories of cookies the user accepted over a selected time range in the past. The graph in the middle and the table on the right side represent which categories of cookies were accepted by users.

Note: If users ignore the banner and continue browsing the website without any selection, it will be counted as the ignore rate, since the banner will be shown but ignored.

Other functionalities of Google Analytics

In addition to the statistics presented above, you can use more Google Analytics data for your analysis:

  • Show how many visitors are reading/accepting/ignoring your cookie policy.

  • Show how many purchases (or other goals) are done with/without accepting/reading cookie policy.

  • Show if foreign country visitors accept/ignore/read the cookie policy.

  • Show how many mobile visitors accept/ignore/read the cookie policy.

  • Export all kinds of reports or send them by email.

  • And much much more.

Google Analytics also takes care of tracking Unique and non-Unique events. If you are not familiar with Google Analytics Events, you can read more about it on the Google Help page.

You also notice that there are two more choices for the “Enable Cookie Statistics” option:

  1. Enable – Uses Cookie Statistics tool to collect data about user behavior on the website. Not so advanced as Google Analytics, but can be used as an alternative.

  2. Disable – Disables any Cookie Statistics. Use this option if you do not care about monitoring user behavior. This will reduce the number of requests to our servers.

Did this answer your question?