Error while using piwik tracking code in custom header



  • Re: How To: Piwik and NodeBB

    I tried to use the code mentioned in this topic, but am getting an error in console. Webpage where I added the code is: https://www.mbatious.com/recent

    Error:
    _paq.push() was used but Piwik tracker was not initialized before the piwik.js file was loaded. Make sure to configure the tracker via _paq.push before loading piwik.js. Alternatively, you can create a tracker via Piwik.addTracker() manually and then use _paq.push but it may not fully work as tracker methods may not be executed in the correct order. ["setCustomUrl", "https://www.mbatious.com/recent"]

    Can anybody help me come out of this?


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.