Matomo, formally PIWIK is an opensource analytics platform built on the LAMP or LEMP stack… It provides full website analytics for small and medium size businesses… When you want to take full control of your own website analytics and data without using thirdparty solutions, like Google Analytics, then Matomo is a great place to start…
Matomo is the only analytics platform that gives you full control over your data and more:
Free open-source software
100% data ownership
User privacy protection
Customisable and extensible
Easy to use
No data limits
This brief tutorial is going to show students and new users how to install Matomo on Ubuntu 16.04 / 17.10 and 18.04.
To test Apache2 setup, open your browser and browse to the server hostname or IP address and you should see Apache2 default test page as shown below.. When you see that, then Apache2 is working as expected..
Step 2: Install MariaDB Database Server
MariaDB database server is a great place to start when looking at open source database servers to use with Magento… To install MariaDB run the commands below…
Next, open your brwoser and go to the URL.. and continue with the installation….
Click Next to start the installation wizard…
Type in the database connection info and create an administor account to manage the platform in the backend… and continue
After entering the info above, click Next to create a superuser account to manage the platform..
You’ll then be given the tracking code to add to the website you want to track…
To track your web traffic with Matomo you need to make sure some extra code is added to each of your webpages.
In most websites, blogs, CMS, etc. you can use a pre-made plugin to do the technical work for you. If no plugin exists you can edit your website templates and add this code to the </head> tag which is often defined in a ‘header.php’, ‘header.tpl’ or similar template file.
Make sure this code is on every page of your website. We recommend to paste it immediately before the closing </head> tag.
You’ll find the private website configuration system in http://example.com/index.php