When Matomo (Piwik) does not record your secure SSL traffic, you need to check that your Matomo server is correctly configured to be accessed over SSL / HTTPS.