Piwik.getAsyncTrackers is not a function

Hi there,

I just installed the tracker code and experience an error on all of my browsers (Librewolf as main browser but also on Firefox, Chrome, Brave and Opera):

Script code from Install manually:

Uncaught TypeError: window.Piwik.getAsyncTrackers is not a function index.js:46:4 
    <anonymous> index.js:46
    <anonymous> index.js:67
    <anonymous> index.js:77

Scrpt code from No Piwik PRO Tag-Manager:

GET
https://your-account-name.piwik.pro/ppms.js
NS_ERROR_CORRUPTED_CONTENT

Die Ressource von "https://your-account-name.piwik.pro/ppms.js" wurde wegen eines MIME-Typ-Konfliktes ("text/html") blockiert (X-Content-Type-Options: nosniff).
home.html

Someone an idea what could be the problem?

Cheers

Hello @Croni, welcome to our community!

Can you make sure code is installed correctly or provide link to the website? I can take a look and check it.

Here is tutorial from our help center:

Hello @jfidala,

thanks for your help.

Here is the link.

Cheers.

@Croni

I see one crucial error in console - you have to change your-account-name part in your-account-name.piwik.pro in code. Add your account name it so it’s loaded correctly.

I have set this, but now I get the same error I had before I switched to “No Piwik PRO Tag-Manager”, i.e. “Install manuelly”:

Uncaught TypeError: window.Piwik.getAsyncTrackers is not a function

@Croni You have code in <body> and additional script in <head> of the website. I think that script in <head> might be causing some issues. According to instruction you are using:

Code in <body> itself should be enough. Let me know if this solves issue.

The script tag in the head ( https://cronistan.piwik.pro/ppms.js ) is generated by the script in the body.

Hello, @Croni

I see that your website completely changed. Is this issue still relevant? Doesn’t show up for me.

Hello,
yesterday is was still relevant, but I deactivated Piwik later as no one seems to have a solution.
Cheers