Some initial configurations

matomoOnce you have installed Matomo, you will certainly want to make some configuration changes.  Here are some of the initial changes that I've made.

Force SSL

It is recommended to use SSL Certificates when accessing your Matomo analytics platform.

  1. Start by installing an SSL Certificate.  I use Let's Encrypt.
  2. Edit the /config/config.ini.php file
  3. Add the following line to the [General] section.
force_ssl = 1



You can improve Geolocation results by setting up the GeoLite city database.

  1. Go to Administration > Settings > Geolocation.
  2. Click the link to download the GeoLite City database.
  3. Upload and extract the GeoLiteCity.dat file into the /misc directory.
  4. Refresh the Administration > Settings > Geolocation page, and you will see GeoIP (Php) installed.
  5. Select GeoIP (Php).


Archiving Settings

For medium to high traffic websites, it's a good idea to adjust how Matomo archives data.

  1. Go to Administration > Settings > General.
  2. Set Archive reports at most every X seconds to 3600 (1 hour).


Exclude Your IP Address

A common configuration, is to exclude your IP address, especially if you are the Administrator of the site being tracked!

  1. Go to Administration > Websites.
  2. Enter your IP address in the Global list of Excluded IPs.
  3. Click Save.

Note that your IP address is helpfully displayed on this page.


Default Currency

By default Matomo will set US Dollar ($) for all new websites.  You can change this default value.

  1. Go to Administration > Websites.
  2. Scroll down to Default currency for new websites.
  3. Choose the currency that you use the most.
  4. Click Save.


Thanks for visiting.