I’ve got a quick Question: The Cookie set by matomo, when a user opts out, mtm_consent_removed, has got a value. For me it’s a 13-digit number. Could somebody tell me, what this number represents. Is it a kind of id, and if so, for what.
From what I see in the documentation, it is fine to send the HTTP-Headers to the browser to define the following cookie:
30 years expiry
name: mtm_consent_removed
value: Timestamp in milliseconds (13 digit as of today).
Is that correct?
Or am I forced to do this with matomo’s js interface? From a stability point of view, it may be more stable to use Matomo’s built-in JS functions.
The reason I thought of doing this server-side is that I want to set other parameters in the same go server side, and all these actions need to happen at the same time. I might also simply return the JS that’s needed to effect this on the client side.