Hi,
I would like to use setUserId
to merge matomo with a user base that I have. However, I would like to do that GDPR compliant.
Thus, I would like to link both data sets only if rememberConsentGiven
or rememberCookieConsentGiven
(preferably both) was executed.
How would I do/check that?
Kind regards
EDIT: Related/additionally: How can I let the tag manager create a container only if consent was given? I checked Require Cookie Consent
in the Matomo Configuration
container configuration variable.