• Resolved severin10

    (@severin10)


    Hi
    I think that the plugin uses old file names, piwik.php (instead of matomo.php). The same with *.js.

    See this script excerpt that is produced by this plugin:
    (function() { var u=”https://severindietschi.ch/matomo/”
    _paq.push([“setTrackerUrl”, u+”piwik.php”])
    _paq.push([“setSiteId”, “1”])
    var d=document, g=d.createElement(“script”), s=d.getElementsByTagName(“script”)[0]
    g.type=”text/javascript”; g.defer=true; g.async=true; g.src=u+”piwik.js”
    s.parentNode.insertBefore(g,s)
    })()

Viewing 1 replies (of 1 total)
  • Plugin Author Sérgio C.S.

    (@sergiorcs82)

    Hi, @severin10 ,

    You are correct, my plugin does still use the old script file names.

    However, if you check the latest version (currently 3.8.1), you’ll see that it still includes piwik.js and piwik.php. Plus, if you look closer, you’ll see that matomo.php just calls piwik.php, and matomo.js just seems to be a copy of piwik.js.

    So, for the time being i’ll just leave the names as they are. I do plan to add in the future an option to allow users to use the new script names, though.

    Thanks for reaching out to me. This was a relevant question.
    Now that i know there are people concerned about this particular matter, i may just add that option a bit sooner. ??

    Kind regards,
    @sergiorcs82

Viewing 1 replies (of 1 total)
  • The topic ‘wrong file names in script’ is closed to new replies.