CINXE.COM
Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v5
<!DOCTYPE html> <html lang="en"> <head> <title>Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v5</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="/css/bootstrap.min.css?106bca03" rel="stylesheet"> <link href="/css/font-awesome.min.css?106bca03" rel="stylesheet"> <link href="/css/highlight.obsidian.css?106bca03" rel="stylesheet" media="screen"> <link href="/css/app.css?106bca03" rel="stylesheet" media="screen"> <link href="/css/sidebar.css?106bca03" rel="stylesheet" media="screen"> <link href="/css/documentation.css?106bca03" rel="stylesheet" media="screen"> <!--[if lt IE 9]> <script src="/js/html5shiv.3.7.0.js?106bca03"></script> <script src="/js/respond.min.1.3.0.js?106bca03"></script> <![endif]--> <link rel="icon" type="image/png" href="/favicon.png"> </head> <body> <div id="menu" class="navbar navbar-inverse navbar-fixed-top"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand hidden-sm" href="/"><img height="20" width="124" src="/img/logo.png"/></a> </div> <div class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li > <a href="/integration">Integrate</a> </li> <li > <a href="/develop">Develop</a> </li> <li > <a href="/api-reference">API Reference</a> </li> <li > <a href="/piwik-in-depth">In Depth</a> </li> <li > <a href="/changelog">Changelog</a> </li> <li > <a href="/support">Support</a> </li> </ul> <ul class="nav navbar-nav pull-right"> <li> <div id="quick-search-typeahead"> <input type="text" data-action="/data/documents" placeholder="Quick search..."/> <select title="Select your Matomo version" class="piwik-version-select" name="piwik"> <option value="/4.x/" >Matomo 4.X</option> <option value="/" selected >Matomo 5.X</option> </select> </div> </li> </ul> </div> </div> </div> <div class="jumbotron"> <div class="container"> <h1> Code <span class="text-muted">|</span> Design <span class="text-muted">|</span> Innovate </h1> <p>Welcome to the Matomo Developer Zone (formerly Piwik), the center of innovation in analytics.</p> </div> </div> <section class="jumbotron-categories"> <div class="container"> <div class="row"> <div class="col-sm-6"> <h2> <i class="fa fa-plug"></i> Integrate </h2> <p> Track your application or access <br/> Matomo data using the HTTP API. </p> <p> <a class="btn btn-primary btn-lg" href="/integration">Integrate Matomo</a> </p> </div> <div class="col-sm-6"> <h2> <i class="fa fa-code"></i> Develop </h2> <p> Extend and customize Matomo by <br/> contributing or developing plugins. </p> <p> <a class="btn btn-primary btn-lg" href="/develop">Develop Matomo Plugins</a> </p> </div> </div> </div> </section> <div class="container"> <div class="row"> <div class="col-sm-6 col-md-4"> <h2> <span class="text-success">#</span> <a href="/api-reference">API Reference</a> </h2> <p>Check out the low-level documentation for the HTTP, JavaScript or PHP API.</p> </div> <div class="col-sm-6 col-md-4"> <h2> <span class="text-success">#</span> <a href="/changelog">Platform Changelog</a> </h2> <p>What has changed in the latest Matomo (Piwik) versions for the developers.</p> </div> <div class="col-sm-6 col-md-4"> <h2> <span class="text-success">#</span> <a href="/support">Community & Support</a> </h2> <p>Get support or get involved with the developer community.</p> </div> </div> <hr> </div> <footer> <div class="container"> <p class="pull-left"> Copyright © <a href="https://matomo.org">Matomo.org</a> | <a href="https://twitter.com/matomo_org"><i class="fa fa-twitter"></i> Twitter</a> | <a href="https://github.com/matomo-org"><i class="fa fa-github"></i> GitHub</a> </p> <p class="pull-right"></p> <p class="pull-right"> <a href="mailto:developer@matomo.org?subject=Feedback%20Developer%20Guides">Give Feedback</a> </p> <p class="pull-right"> <a href="https://matomo.org/privacy-policy" target="_blank">Privacy Policy</a> | </p> </div> </footer> <script src="/js/jquery.js?106bca03"></script> <script src="/js/bootstrap.min.js?106bca03"></script> <script src="/js/bootstrap3-typeahead.min.js?106bca03"></script> <script src="/js/app.js?106bca03"></script> <script src="/js/highlight.8.2.min.js?106bca03"></script> <script type="text/javascript"> $(document).ready(function () { // Disable language auto-detect on code blocks that don't have a language // This prevents a messy highlighting when the block doesn't contain code $('pre code:not([class])').addClass('no-highlight hljs'); hljs.initHighlightingOnLoad(); }); </script> <!-- Piwik --> <script type="text/javascript"> var _paq = _paq || []; _paq.push(["disableCookies"]); _paq.push(["setCustomVariable", 1, 'PiwikVersion', '5', 'page']); _paq.push(["trackPageView"]); _paq.push(["enableLinkTracking"]); function track() { (function() { var u="https://demo.matomo.org/"; _paq.push(["setTrackerUrl", u+"piwik.php"]); _paq.push(["setSiteId", "36"]); var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript"; g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s); })(); } if (window.addEventListener) { window.addEventListener("load", track, false); } else if (window.attachEvent) { window.attachEvent("onload",track); } else { track(); } </script> <!-- End Piwik Code --> </body> </html> <!-- Cached response -->