• Hi, I have used this plugin for a while on various sites. One of my new sites was using WP 4, and the plugin did not work as usual. The code seemed to be incorrect

    One part was:

    (function() {
    var u=((“https:” == document.location.protocol) ? “https” : “http”) + “://artsandcraftschurch.org/wp-admin/” etc …

    rather than…

    (function() {
    var u=((“https:” == document.location.protocol) ? “https” : “http”) + “://artsandcraftschurch.org/piwik/” etc ….

    As soon as I manually inserted the correct code piwik started collecting data. Anyone know what the cause of this is?

    https://www.ads-software.com/plugins/wp-piwik/

Viewing 1 replies (of 1 total)
  • Plugin Author braekling

    (@braekling)

    Can you check the code shown by Piwik itself? Does ist show the correct or the wrong URL?

    Are the URLs configured well? Is the trusted hostname set correctly in Piwik, too?

Viewing 1 replies (of 1 total)
  • The topic ‘tracking code incorectly inserting’ is closed to new replies.