You might try asking in the Analytics community, but AppMeasurement has a variable you can set to force HTTPS connections. It is not exposed as a setting in the Analytics extension configuration, so you have to write some custom code, but I believe you just set s.ssl=true.