Check if piwik.js is already loaded and if so, do not load again #6833
Labels
c: Performance
For when we could improve the performance / speed of Matomo.
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone
See this blog post: http://calendar.perfplanet.com/2014/the-pain-of-duplicate-scripts/
Eg by giving the script element an ID and checking whether it is already in the DOM before loading piwik.js again.
The text was updated successfully, but these errors were encountered: