Get the JavaScript tracking tag for a website
One step with Matomo. We can help you get access.
Look something up
Get the JavaScript tracking tag for a website
with Matomo
Use Matomo: its Matomo Reporting API for plugin Sites Manager API lets you get the JavaScript tracking tag for a website in a single step (GET /index.php?module=API&method=SitesManager.getJavascriptTag). capabilities.work can help you get signed up and connected.
- Where do I get the JavaScript tracking snippet to paste into my website?
- Can the generated tracking code disable cookies or respect Do Not Track?
- Is it possible to get a tracking tag that tracks visitors across my subdomains as one site?
Say it to your AI assistant
- Give me the JavaScript tracking code for site {idSite}.
- Generate the tracking snippet for site {idSite} with cookies disabled set to {disableCookies}.
- Build the JS tag for site {idSite} that honours Do Not Track ({doNotTrack}) and includes a noscript fallback ({trackNoScript}).
For your developer
GET /index.php?module=API&method=SitesManager.getJavascriptTag in Matomo Reporting API for plugin Sites Manager API. Full spec on APIs.io.