Open ambroisemaupate opened 3 months ago
This issue has been automatically marked as inactive because it has not had activity for 20 days. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.
Hi,
Thanks for your contribution and sorry for the delay to reply.
On the pro version, this is not possible to set as undefined a string option, so for example tarteaucitron.user.matomoCustomCookieDomain
and tarteaucitron.user.matomoFallbackId
will be empty and it will break the logic.
Can you change the check from undefined to empty string?
Thanks!
I've kept tests against undefined
and added tests against empty string
as requested.
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 #1085 #1028tarteaucitron.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.