Per this law.stackexchange question it's possible to use google analytics without getting consent and still comply with the GDPR.
I was thinking about creating two GA properties for a single domain name. One that switches off all the features that the GDPR requires for non consent and another that tracks users that have consented and have an account setup where they can make opt out changes, manage cookies etc.
Is it possible to track the same GA property / browser client using two different GA ids that correspond to the different configuration settings?
In other words when the user is logged in, the user gets tracked by the consented GA id, but when the user is not logged in and anonymous the user gets tracked by the GDRP compliant non consent GA id?