Force SSL in Piwik

  • navigate to Piwik installation folder
  • edit the file: config/config.ini.php
  • add the following in the general section
[General]
force_ssl = 1

Alternatively, you can download the Force-SSL plugin from the Marketplace.