Matomo Preload
Security covered
Matomo ecosystem
This module automatically adds preload link tags to your site to ensure the Matomo tracking script loads as quickly as possible in the browser. It requires no configuration and works automatically if the Matomo module is set up.
Features
This module automatically adds preload link tags to every page:
<link rel="dns-prefetch" href="https://matomo.example.com/" />
<link rel="preload" href="https://matomo.example.com/matomo.js" as="script" />
This ensures the browser starts loading the Matomo script as soon as possible.
Post-Installation
The module does not require any configuration. It should work automatically if the matomo module is configured.