Use HTTPS analytics on secure environments

Hot fix for another mixed content warning for Identity pages, however, there is a secure domain for this one so we don't need to remove it completely.

If this is needed elsewhere in future, it might go into a property?