Install Matomo Analytics

Matomo is an open source analytics software you can install on your server to learn more about those viewing your website. Those using a content management system (CMS) such as WordPress can manage it from the website dashboard. Formally Piwik Analytics, Matomo has few requirements needing adjustment on InMotion Hosting servers other than PHP 5.6 or later.

Note: shell_exec cannot be enabled on shared servers.

Those with Softaculous can install Matamo there and continue the setup from there. Those without Softaculous can upload the installation file within minutes and easily get started.

Upload Matomo Files

  1. Download the zip file from
  2. Upload the zip file to your server.
  3. Extract the zip file to the public_html directory. It’ll export Matomo to a /piwik folder and How to install Matomo.html file which redirects to Matomo official instructions.
  4. Change the folder name from /piwik if you’d prefer a different Matomo URL than You can create a subdomain in cPanel to use sub/
  5. Create a MySQL database and user with all privileges to the database.

    Note:The default port is 3306. If your server uses a different port, you can enter it after the hostname.

Setup Matomo

  1. Type the subdomain URL of the extracted Matomo installation in your web browser. For example, if you extracted Matomo in the “public_html/analytics” folder, the URL would be
  2. Press Next on the welcome screen.
    Press Next on the Welcome screen
  3. The next screen will show how your server meets Matomo’s requirements.
    Fix issues on System Check

  4. Fill in the database user, user password, and database name.
    Adding new database settings

    Select Next under the database creation confirmation.
    The tables were created

  5. Specify a super user name, password, and email account.
    Create an admin user
  6. Fill in your website, URL, preferred timezone, and whether its an Ecommerce site.
    Add website info
  7. Add the JavaScript tracking code to the header file (i.e. header.php) or bottom of the <head> section of your website index file.
    Copy the JavaScript tracking code

    Note: Those using a CMS can install an integration plugin recommended by Matomo instead.

    Alternatively, you can set up server-side analytics.

  8. Choose whether to leave Enable Do Not Track and Anonymize visitors IP addresses enabled before continuing to the Matomo login screen.
    Choose privacy settings

Login Matomo

  1. Login Matomo with your Admin user and password.
    Matomo login screen
  2. The following page states no tracking has been recorded yet and to ensure a tracking method – JavaScript, plugin, or server-side – is implemented.
    No data recorded yet notification

    You’ll have the following options on the top navigation bar:

    DashboardThe normal dashboard which shows after analytics are recorded.
    Matomo website dashboard

    All websitesShows analytics for all added websites
    Dashboard for all websites

    SettingsEdit Matomo settings
    Matomo support and resources

    InfoView Recommended resources
    Matomo settings system check

    LogoutReturn to the Matomo login screen

You can delete the and How to install Matomo.html files once the installation is successful. Check for more info on reputable integrations, customizing your JavaScript tracking, auto-archiving reports, optimizing the software, and more.

InMotion Hosting Contributor
InMotion Hosting Contributor Content Writer

InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!

More Articles by InMotion Hosting

Was this article helpful? Join the conversation!