Adding Matomo analytics to your website through CPanel
- Tips and Tricks
Tue Oct 26 2021
- Read Times: 137
- Shares: 0
- Likes: 0
So am going to show a pretty easy way to install Matomo analytics on CPanel using the Softaculous application installer.
Steps To Install
Log in to CPanel
In order to get started, you must first login to your CPanel. The login url is always located at cpanel.yourwebsite.com
Locate ‘Softcalous Apps Installer’ under the Software section of your CPanel and click on it.
Search for ‘matomo’ inside the search bar and click on it
Click on Install and fill in the options
When you click on install, it will show you a form which you are to fill in.
The installation url
This refers to the location on your website where you want the app to be installed. The recommended protocol is ”https://www.”
The domain option is used to select the domain on which the app is to be installed and finally, the directory shows the folder inside your domain where the application will be installed.
The CRON Job
This feature allows you to set a time to run the Matomo archiving script.
This allows you to create the user account which you will use to log into Matomo
This refers to the database name which you want Matomo to use to store your data. Remember that the name should not be the name of an existing database.
This allows you to set a name which will be prefixed to matomo table names
After filling in all the options, click on install.
Fixing Common Errors
Cannot Connect To Database Error
If you receive this error, open your file manager and locate the matomo installation folder. Open the config.ini.php file inside the config folder and change the host value to “127.0.0.1”.
Close the file and visit the application page again.
Sign In Error
It is very obvious that you will run into this error when installing Matomo from Softaculous but don’t worry, this is a solution.
Just clear your browser cache and you will be good to go.
So that’s how you can easily install matomo analytics on CPanel using Softaculous, if you faced any more challenges, please do state it in the comments section.
Happy Coding 😄