Support » Plugin: Matomo Tracker » JS tracking mode doesn’t work since v 1.2.0

  • Resolved nicoter

    (@nicoter)


    Hi,

    After updating to the new 1.2.0 version yesterday, I today realized that traffic does not get recorded on the server.

    I tried async, defer and none. I also disabled minifying and caching. And I tried on different browsers. To no avail. Only when switching to the PHP tracking mode it works.

    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • It stopped working for me too after upgrading.

    I found that switching to Async and clearing the cache (Autoptimize) made the tracking code appear again, but it’s now putting the wrong site ID into the code. I’m using it on a multisite install, and it’s using the ID from a different site on the network.

    Is there a way to go back to the old version?

    Plugin Author nir0ma

    (@nir0ma)

    Sorry guys didn’t have the notice about this issue. I’ll investigate and fix that quickly.

    Plugin Author nir0ma

    (@nir0ma)

    Please check v1.2.1, this might solve your issues.
    @jefff66 you can now choose to inline javascript tracking code as in previous version
    @nicoter let me know if still not reporting views for you
    Thank you for your feedback

    nicoter

    (@nicoter)

    @nir0ma Looks like with one website it started working and with another one it’s still not working.

    I noticed the last few visitors all had the same IP which is the IP of the server where the website is hosted.

    Let me know if you want to have a look at the site (and what’s the best way to contact you).

    Thanks

    • This reply was modified 7 months ago by  nicoter.
    Plugin Author nir0ma

    (@nir0ma)

    Hi,
    I’ll investigate and fix that asap.
    To contact me just mention @niroma as you did I’ll get the notices.
    I’m having the same issue with one site so I can figure out the problem. I’ll let you know if I need your url.
    Thank you for your feedback 😉

    I’m sorry out of topic here.

    Hi @nicoter,

    Sorry i cannot reply on your review. I have fix and update the theme today.
    can you please update your review regarding “Multiple H1 tags on homepage” on this page https://wordpress.org/support/theme/marlin-lite/reviews/?filter=1?

    Thanks

    Joe

    Plugin Author nir0ma

    (@nir0ma)

    @jefff66 and @nicoter
    This is fixed in the new 1.2.2 (please ensure there is no javascript error in your pages caused by another plugin or some js code issue in your theme as this will prevent the tracker from loading)
    Have a nice day

    Hey @nir0ma,

    I can confirm this is fixed.

    Unfortunately it stopped working with the Caching plugin named “Fast Velocity Minify”. I had to exclude the JS path from the minifying to get it working.

    Also I noticed it’s now included in the header, not in the footer anymore. I think this is not perfect because now it will render block the page.

    But these are different issues, thus marking this one as resolved 🙂

    Thanks

    Plugin Author nir0ma

    (@nir0ma)

    Hi @nicoter,
    Glad this is working !

    For the script this is included in the header because it uses wordpress enqueue_script function. Most of optimization plugin move js to footer, and work with the plugin / or generate a custom js file and include it in the footer. Thus this was not a good criteria from my pov. But I’ll make some tests to see if I can had add the argument in the enqueue_script function to include the script in the footer … I’ll let you know 😉

    Have a nice day !

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘JS tracking mode doesn’t work since v 1.2.0’ is closed to new replies.