History: Open Web Analytics
Source of version: 2 (current)
Copy to clipboard
http://www.openwebanalytics.com/?p=226 http://www.openwebanalytics.com/?page_id=158 Similar to ((Piwik)) !#Sample Manual Setup Note: Manual integration is working as of 2020-10 tested in tikiwki 21.2 in doing below: *Install OWA and configure a tracking site to point by example to https://dev.tiki.org *Copy the resulting JS Code. *Open Admin Panel Look & Feel click on Customization and enter the JS Code into the __Custom Javascript__ field. **BUT: do not add the <script> tags! Only copy the JS code itself. *{CODE()} var owa_baseUrl = 'https://owa.sample.com/owa/'; var owa_cmds = owa_cmds || []; owa_cmds.push(['setSiteId', '<hash of site>']); owa_cmds.push(['trackPageView']); owa_cmds.push(['trackClicks']); (function() { var _owa = document.createElement('script'); _owa.type = 'text/javascript'; _owa.async = true; owa_baseUrl = ('https:' == document.location.protocol ? window.owa_baseSecUrl || owa_baseUrl.replace(/http:/, 'https:') : owa_baseUrl ); _owa.src = owa_baseUrl + 'modules/base/js/owa.tracker-combined-min.js'; var _owa_s = document.getElementsByTagName('script')[0]; _owa_s.parentNode.insertBefore(_owa, _owa_s); }()); {CODE} After this the tracking begins and you can view them in the OWA Reports section.