Title: wrong file names in script
Last modified: February 23, 2019

---

# wrong file names in script

 *  Resolved [severin10](https://wordpress.org/support/users/severin10/)
 * (@severin10)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/wrong-file-names-in-script/)
 * 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/&#8221](https://severindietschi.ch/matomo/&#8221);
   _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.](https://wordpress.org/support/users/sergiorcs82/)
 * (@sergiorcs82)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/wrong-file-names-in-script/#post-11243900)
 * Hi, [@severin10](https://wordpress.org/support/users/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](https://wordpress.org/support/users/sergiorcs82/)

Viewing 1 replies (of 1 total)

The topic ‘wrong file names in script’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/piwik-tracking-by-mente-binaria.svg)
 * [Tracking code for Matomo, by Sérgio Coelho Santos](https://wordpress.org/plugins/piwik-tracking-by-mente-binaria/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/piwik-tracking-by-mente-binaria/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/piwik-tracking-by-mente-binaria/)
 * [Active Topics](https://wordpress.org/support/plugin/piwik-tracking-by-mente-binaria/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/piwik-tracking-by-mente-binaria/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/piwik-tracking-by-mente-binaria/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Sérgio C.S.](https://wordpress.org/support/users/sergiorcs82/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/wrong-file-names-in-script/#post-11243900)
 * Status: resolved