JavaScript tracker: change Piwik.addTracker()
to allow not setting an idSite
#14781
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
Regression
Indicates a feature used to work in a certain way but it no longer does even though it should.
Milestone
Could we change
Piwik.addTracker()
to allow not setting an idSite there, and only have the first parameter URL instead?This is needed to fix a big regression in Tag Manager.
Why needed now?
This started being an issue a few weeks since we changed: matomo-org/tag-manager@f0e368d as we are no longer setting the idsite.
Reproduce
Steps sent by a customer (haven't reproduced it myself, but can see the error live on their site):
(
data
could be eg.{ category: "clic-réseaux-sociaux", event: "clic-réseaux-sociaux", label: "nom-réseaux-facebook" }
JS Error when using tag manager:
The text was updated successfully, but these errors were encountered: