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.
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
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
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 :