You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently developing a site using this, and noticed that if I reference the following:
this.$matomo.trackPageView()
I get an error because this.$matomo is not initialized (due to the bail out in module.js). Instead of doing this wouldn't it make sense for the application to just return a dummy proxy that does nothing instead? That way your code is able to run if you reference it without any errors.
The text was updated successfully, but these errors were encountered:
I am currently developing a site using this, and noticed that if I reference the following:
I get an error because
this.$matomo
is not initialized (due to the bail out inmodule.js
). Instead of doing this wouldn't it make sense for the application to just return a dummy proxy that does nothing instead? That way your code is able to run if you reference it without any errors.The text was updated successfully, but these errors were encountered: