Skip to content Matomo Dashboard All Websites Tag Manager Check for updates Personal Settings Email Reports System General settings Users Plugins Geolocation Mobile Messaging Privacy Anonymize data Users opt-out Asking for consent GDPR Overview GDPR Tools Websites Manage Settings Tracking Code Goals Platform Marketplace Widgets API Diagnostic System Check Tracking failures Custom Variables Config file Brute Force Log Device detection Tracking Code Matomo offers you various ways to embed the tracking code for your website, mobile app, and even for any device or application. Go to: JavaScript Tracking Image Tracking Importing Server Logs Mobile apps and SDKs HTTP Tracking API JavaScript Tracking You can track visitors to your website in many different ways. The recommended way to do it is through JavaScript. To use this method you must make sure every webpage of your website has some JavaScript code, which you can generate here. Once you have the JavaScript tracking code for your website, copy and paste it to all the pages you want to track with Matomo. In most websites, blogs, CMS, etc. you can use a pre-made plugin to do the technical work for you. (See our list of plugins used to integrate Matomo.) If no plugin exists you can edit your website templates and add the JavaScript tracking code to the tag which is often defined in a 'header.php', 'header.tpl' or similar template file. If you don't want to use JavaScript to track visitors, generate an image tracking link below. If you want to do more than track page views, please check out the Matomo Javascript Tracking documentation for the list of available functions. Using these functions you can track goals, custom variables, ecommerce orders, abandoned carts and more. Website Options So if one visitor visits and, they will be counted as a unique visitor. (learn more) So if someone visits the 'About' page on it will be recorded as 'blog / About'. This is the easiest way to get an overview of your traffic by sub-domain. So clicks on links to Alias URLs (eg. will not be counted as "Outlink". Advanced show JavaScript Tracking Code Make sure this code is on every page of your website. We recommend pasting it immediately before the closing tag. Image Tracking When a visitor has disabled JavaScript, or when JavaScript cannot be used, you can use an image tracking link to track visitors. Generate the link below and copy-paste the generated HTML in the page. If you're using this as a fallback for JavaScript tracking, you can surround it in tags. For the whole list of options you can use with an image tracking link, see the Tracking API Documentation. Website Options Page Name Image Tracking Link Importing Server Logs An alternative to tracking visitors through the browser (either via JavaScript or an image link) is to continuously import server logs. Learn more about Server Log File Analytics. Mobile apps and SDKs Not tracking a website? You can alternatively track a mobile app or any other type of application using one of the available SDKs. HTTP Tracking API The HTTP Tracking API allows you to track anything. This may be useful if you are using a programming language for which no SDK exists yet. It may also be useful when you want to track devices or application in a special way.

Contact Us

Talk to
in the United States

We will submit your request to licensed, pre-screened in United States who match your search criteria. We check the licenses of whom we connect clients with once a year and require them to maintain a zero misconduct record with the state agency issuing their license.

Thank you for confirming your phone number

Contact Our Support

Do you need technical support using our website or help with your attorney listing? Please contact us through our parent website, We respond to all messages within one business day.