![]() ![]() If you track multiple sub-domains in the same website, you may want your page titles to be prefixed by the sub-domain make it easy for you to see the traffic and data for each sub-domain. 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')
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |