Forum Moderators: phranque
Yes if your are on a secure page then side resources should be loaded with the secure protocol.
You can use client side triggering so js can do an ajax request to track something which can happen after the whole page is loaded. Or you can use the server script when the request is made and then customize the piwik to process it that way directly from your php.
Might be worth flagging up as a bug or feature request over on the Piwik site. I hadn't noticed this before on my install.