Understand consent to analytics datas

Hello,

I have some trouble to understand datas from my cookie banner acceptance.
I’m under a full Piwik stack with CNIL/GDPR configuration.

When I’m looking at my audience report here what I have :

If I applied segment on the consent to analytics :

So we have 2019 visitors :

  • 213 are optin
  • 149 are optout
  • 688 are no consent (so I guess that the users landed on my page and leave immediately with no interaction with the form)
    What about the 969 others ?
    I have trafic coming from no GDPR but they are about less that 150 visitors.

Thank you for your help
Best regards

Hi @romainproximity,

it’s an event dimension, with which you try to filter sessions, this creates those discrepances.

The way to check what you are looking for is to create a segment based on IP address:

Gave a consent to Analytics:
IP address is not 0.0.0.0

Did not gave a consent to Analytics:
IP address is 0.0.0.0

I’ll create a Feature Request though to have consent types available as session dimensions.

Best,
Oliwer

Thank you @Oliwer_Kaczmarek

So I make a test for yesterday, I have 1228 sessions :

And If I split :


I have 669 sessions with an information about the consent.
Which leaves me 559 sessions with no information about the IP I guess ?
Is it because htey are private or using a proxy ?

Thank you

Could you please share with me the link to the report or the url address to your instance? (Via PM)

@romainproximity,

Those 559 sessions are due to the visitors having IPv6 instead of IPv4. This creates an issue for the solution I’ve mentioned as there will be no data for IPv4 hence it’s not 0.0.0.0 nor x.x.x.x value (x being value between 0-255).

Because of that. The workaround here would be to check if there is a city information, because in your case, visitors that gave a consent while having IPv4 and IPv6 will have the city data, while not consenting visitors will not.
Consenting


Not consenting

Disclaimer for people checking this thread for a solution
Why this is a workaround that works for you but might not for others:
For example, if someone would decide to change the collected geological data to Country level for consenting visitors then that you wouldn’t be able to use city nor region as a filter, and non consenting visitors have the information about country available so there would be no difference between consenting and nonconsenting

Best,
Oliwer

Thank you @Oliwer_Kaczmarek for your help.
So if I summarize :
The event consent to analytics is true or false can be applied only to the click on accept all or refuse the tracking (en event).
If I want the information at a session level the best is to applied a segment based on the city data (empty or not)

On my 1228 sessions when I applied the new segments (city)hre what I have :

= 1228, we are good!

1 Like