Open SW-Vincent opened 2 months ago
Hi @SW-Vincent. Thanks for creating this issue. The feature was meant for pages that would like to track fully without consent only. In that case it might be required to not track any campaigns at all.
It is currently not possible to update the referer after the first page view. Therefore you may need to request consent before the first page view and disable campaign parameters only if consent is not provided.
Using a dummy campaign instead of fully removing the parameters would be something we could implement. But I'm unable to say if that would comply with certain privacy laws in case no consent was given.
Hi,
Thanks for your answer.
The feature was meant for pages that would like to track fully without consent only. In that case it might be required to not track any campaigns at all.
GDPR requires to not track UTMs at all or require consent for them. As things are now we can either be GDPR compliant or have an acceptable level of measurement, but not both as UTMs are consided a basic need for most of our 15 customers under Matomo (and some consent-exempted analytics tools have dedicated options that are satisfying).
It is currently not possible to update the referer after the first page view. Therefore you may need to request consent before the first page view and disable campaign parameters only if consent is not provided.
We are fully aware that it is not currently possible to update the referer after the first pageview, and this is precisely the feature we are askin for (in addintion for a way to differenciate campaign and organic trafic). This is why i was asking for UTMs to be processed like a visit-level custom dimension, which would probably require significant changes to Matomo.
Using a dummy campaign instead of fully removing the parameters would be something we could implement. But I'm unable to say if that would comply with certain privacy laws in case no consent was given.
I can ask CNIL about that, but i do not have a dedicated contact so i expect a few months would pass-by before i get an answer.
@sgiehl I got the chance to have a phone call with @SW-Vincent . So here is the situation, it is clearly written on CNIL website that the use of UTM parameters has to be under a consent mode. Correct me if i am wrong @SW-Vincent but what we would like to achieve here with Matomo is this:
Three tracking modes:
We need to find a way to:
--> Did I sum it up well? @SW-Vincent
@sgiehl what do you think about it?
Thanks @Chardonneaur, that's exactly the overall idea !
If i may add / specify a few points :
indicate when the visitor is in hybrid mode or in opt-in mode.
From my point of view, this issue looks very compatible with how visit-level custom dimensions work, so i assume the "easiest" way to solve this would be to store both consent and any information that would require consent (within opt-in scope but not hybrid scope) within a cookie that Matomo would read as a visit-level dimension (i.e. value for the last hit of the session is value for the session). It makes sense for UTMs at least but i'm not sure this is the perfect fit for visit log for example as i am not aware of the full technical process.
Translated CNIL message* :
The conditions under which audience measurement can be exempt from consent under Article 82 are defined in paragraphs 50, 51, and 52 of the CNIL guidelines on cookies and other trackers. These guidelines specifically state: "These trackers must not enable the overall tracking of the person’s navigation across different applications or websites." This is why, in its program to identify audience measurement solutions that can be used without consent, the CNIL has reiterated this criterion, specifying that "Any solution using the same identifier across multiple sites (e.g., cookies placed on a third-party domain loaded by multiple sites) to cross-reference, deduplicate, or measure a unified 'reach' of content is excluded." Therefore, the use of UTM cannot be considered within the context of the consent exemptions of Article 82. While collecting the "referrer" at the "host" level without consent is permissible, any collection of such identifiers for business contribution measurement is excluded. It remains possible, but user consent will be required.
Thank you @SW-Vincent for creating this issue 🙌
I have a question regarding (and some consent-exempted analytics tools have dedicated options that are satisfying).
-> would you be able to share more information, how other tools have dealt with this issue? What makes their options satisfying? Is their model something we could follow also in Matomo? (I'm curious what it would look like)
Btw regarding this suggestion Hybrid and opt-in consent status must be tracked in order to know the sample proportion of data with consent and filter data with opt-in consent (otherwise some data wont make sense at all) ;
-> this is (partially) being discussed in https://github.com/matomo-org/matomo/issues/16363
Regarding
From my point of view, this issue looks very compatible with how visit-level custom dimensions work, so i assume the "easiest" way to solve this would be to store both consent and any information that would require consent (within opt-in scope but not hybrid scope) within a cookie that Matomo would read as a visit-level dimension
As far as I understood, if it's not allowed to track the UTM parameters without consent, then similarly it may not be allowed to track the UTM parameters in a cookie... and if we can't store it in a cookie, then when the visitor consents later on another page, we've already lost the UTM parameters... That's why I'd be interested to see how other tools handle this 👍
Hi @mattab ,
Here are some examples of similar process's for other solutions. Note that i do not know how it technically works for the solution, i can only describe how it works for whoever is in charge of implementation. Additionnally, the main specificity for Matomo wouldn't be data collection but data agregation, considering a new dimension (with the value of consent) needs to be collected and agregated.
Lets start with the closest case scenario : Piano Analytics (i'll talk about the "old" consent mode as it has become more complex recently) :
Then we have Google Consent Mode. Whatever we think about its GDPR compliance, it has a similar functiunning (although it has a different purpose).
Then we have the Meta equivalent for consent mode. It is slightly different as it is still binary (granted : full hit, denied : nothing), but it works in a similar way as thanks to it users can handle tags and consent asynchronously and switch from one consent mode to the other with a simple line of code.
Then we have Beyable. It is quite peculiar, as it is composed of several modules, each one requiring a different tracking code (ex : analytics and ecommerce) and therefore each consent can be evaluated separately. The Analytics module is not supposed to require consent but just as Matomo does not handle the UTMs problematic at the moment.
Let me know if you need some more details or if the details i provided are unclear.
Regarding
From my point of view, this issue looks very compatible with how visit-level custom dimensions work, so i assume the "easiest" way to solve this would be to store both consent and any information that would require consent (within opt-in scope but not hybrid scope) within a cookie that Matomo would read as a visit-level dimension
As far as I understood, if it's not allowed to track the UTM parameters without consent, then similarly it may not be allowed to track the UTM parameters in a cookie... and if we can't store it in a cookie, then when the visitor consents later on another page, we've already lost the UTM parameters... That's why I'd be interested to see how other tools handle this 👍
As only the last value of consent for the session would impact wether UTMs will be stored within Matomo or not (which would only be the case when consent is granted at the moment of the last action of the visit) i dont think this leads to a GDPR issue but that's ti be confirmed.
On the other hand, examples of the market (see my above message) have a page-level consent rather than a visit-level consent, which doesn't require any cookie.
disableCampaignParameters()
function removes UTMs from the URL within Matomo tracking request. This means the issue is double :Summary
Using this feature as it is now will blend Paid and Organic trafic sources without any way to tell them apart, which is a big issue for most of my customers. The best case scenario would be :
An other decent scenario would be to still flood Organic data with paid data but give a dedicated visit-level dimension to tell them apart. There is no workaround with custom dimensions as it is now, because a visit-level custom dimension only considers its last value of the visit, while Matomo only handles UTM as the first pageview of the visit. If this is not acceptable in regards to GDPR, then Piano Analytics is in trouble because it has been a feature for some times (called hybrid consent).
Why are the above elements required ? Matomo pageview is expected to be sent before consent is given, as its main purpose in France is to be part of CNIL consent exemptions (which requires some of Matomo functions, such as e-commerce, Heatmaps and UTMs to be disabled or to require consent). Therefore, any element that requires consent -such as UTMs- needs to be able to change during the visit (this can be done for heatmaps and session recordings, but this is a special case). Delaying pageview until consent is given doesn't look like an acceptable workaround (plus it wouldn't solve tge "telling paid and organic apart" issue).
Your Environment