Attempting to initialize a second container - error in Piwik Pro script?

I have quite some errors originating from https://***.containers.piwik.pro/fed2ff69-c01e-4a2d-b4ba-759869f6bf75.js:8:190728

Uncaught Error: Attempting to initialize a second container. Multiple PPAS async containers on one page are not supported. Make sure container code is added to the site only once.

What is causing this and how can I fix them?

1 Like

Two installation codes on the same page. For some reason, the code is executed twice.

It’s not the case. The error only appears on some random pages, randomly over time, without intermediate modifications to the code. So there should something else that triggers this?

I’d look around your CMS system / website. Maybe it somehow compiles / caches the javascript code.

Can you share at least one URL when it can be reproduced?