![]() ![]() JavaScript tracker features Custom page titleīy default Matomo uses the title of the HTML page to track the page title, you can customise it by using the function setDocumentTitle: _paq.push() Workarounds are to either remove the prototype JS library or to overwrite the JSON object manually (see above e.g. prototype js library overwrites the browser's JSON API and causes issues for example with custom variables resulting in errors (see #16596).This polyfill would need to be loaded before the Matomo JS tracker is loaded. If you need to support IE7 and older then you could load a polyfill that makes window.JSON available such as JSON3. Click here to see a full list of supported browsers. The JavaScript tracker runs on all browsers that support the JSON API. Older versions still work as expected and will track your visitors, but we highly recommend that you update your pages to use the most recent tracking code. If your Matomo tracking code doesn't look like this one, you may be using the deprecated version. You can push to the _paq array even after the matomo.js file has been loaded and run. G.type='text/javascript' g.async=true g.src=u+'matomo.js' s.parentNode.insertBefore(g,s) Var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script') copy and paste the JavaScript tracking code into your pages, just after the opening tag (or within the section). ![]() click on "Tracking Code" in the left menu (under the "Measurables" or "Websites" menu).click on the "administration" (cog icon) in the top right menu.log in to Matomo with your admin or Super User account.To find the tracking code for your website, follow the steps below: To use all the features described in this page, you need to use the latest version of the tracking code. This guide will explain how you can use the JavaScript tracking client to customize the way some of the web analytics data is recorded in Matomo (formerly Piwik). You can use the JavaScript tracking client to track any application that supports JavaScript: for example websites! ![]()
0 Comments
Leave a Reply. |