Missing referrers after authentication


Hi all,

I’m currently trying to create a segment of logged in visitors for one of our clients. The user visits the website (magento). When a user wants to buy an item from the shop, he/she has to log in through a custom login system. This sytem returns the user to the same page through a SSL secured connection and has a distinct refferer url.

To create an overview of the logged in users, I made a segment where I stated the condition that the referrer url contains the given referrer url. This initially works, but the amount of logged in users is way off. For example: The custom authentication tool says that there were 2043 logged in users, but Piwik registered only 52 with the refferer url. Could have something to do with the switch from http to https. What am I missing here?