NOTE: You can install Matomo on your account with a few clicks via the App Installer section of the Control Panel. You can check our App Installer article for more information.
If you prefer to install Matomo manually, you can follow the instructions listed in this article.
You need to follow these steps to install Matomo:
1. Download the installation from the site of the vendor. It can be obtained from:
2. Once you have downloaded the archive that contains the installation, you need to upload it into your disk space.
You can either extract all the files from the downloaded archive and upload them, or you can upload the archive and use the web hosting Control Panel's File Manager to extract the package.
The best way to upload big files or multiple files is via FTP. If you are not sure how to upload the files, please check the Uploading files section from our online documentation.
If you are installing the application in your main domain, or in a subdomain, you may need to delete the default index.php file first. You can do this either via FTP, or through your web hosting Control Panel's File Manager.
3. Create a new MySQL database and user for the Matomo application. For security reasons, MySQL databases and users can be created only through the hosting Control Panel. Detailed instructions on the process are available in our Creating a MySQL database/user article.
Once you have the database and MySQL user created, you should associate the MySQL user with the database by following the instructions from our Associating a MySQL user with a database article. Unless you have a reason to do otherwise, you can select all available privileges for the new MySQL user.
4. You should add the following line to a PHP configuration file (php.ini) in your hosting account:
You can learn more on how to change various PHP settings in our Changing PHP Settings article.
5. You need to access with your browser the directory in which the extracted files are located. You should see the first page of the installation. Click the "Next" button.
6. On the next page, Matomo will check whether the hosting server meets the installation requirements. Click "Next".
7. On the next step, you need to configure your database settings. You need to use the following values:
Database Server: You need to enter localhost for MySQL 5 or localhost:/tmp/mysql8.sock for MySQL 8.
Login: You need to enter the MySQL username you created at your web hosting Control Panel's MySQL section for your application.
Password: You need to enter the password you assigned to your MySQL user.
Database Name: You need to specify the MySQL database you created for your application.
table prefix: matomo_
Click the "Next" button. The installation script will connect to the database and create the MySQL tables. After the tables are created, click the "Next" button.
8. On the next step, you will need to create a super user. The super user has the highest permissions. Choose your username and password and enter your e-mail address. Check the option "email me with major Matomo community updates".
Click the "Next" button.
9. On the next step, you need to enter a name for your site and your site's URL. You need to also select your site timezone.
You can add more websites once the installation is complete.
Click the "Next" button.
Click the "Next" button to complete the installation.
Important notice: You should monitor the site of the software vendor for any security updates of your installed application.