feat(matomocloud): Improve cookieless tracking fallback #1249
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
tarteaucitron.user.matomoCookieLessFallback
boolean
parameter to allow tracking without cookies in fallback. For the moment, Matomo does not track anything unless consent has been given.Related to Le service matomocloud continue de track après refus #1085 Allow Matomo to be used without consent #1028
tarteaucitron.user.matomoCustomCookieDomain
string
parameter to changesetCookieDomain
option (https://developer.matomo.org/guides/tracking-javascript-guide#tracking-one-domain-and-its-subdomains-in-the-same-website)tarteaucitron.user.matomoWebsiteDomains
array<string>
parameter to declare same-site domains list tosetDomains
optiontarteaucitron.user.matomoFallbackId
number
parameter to use a different Site ID for fallback tracking. Website may use a different Matomo site to collect cookie-less statistics. If so, we add the fallback Site ID withaddTracker
option when consent is given.This PR should not break compatibility with existing
matomocloud
service. These features are optional and only triggered when defining parameters above.