In most cases, a site will drop from the rankings for a few days. Then Google picks up the 301 redirect, then your site will be back in the rankings. So wait a few days to see what happens.
Set your redirect correctly
If the redirect wasn’t set in your .htaccess for some reason, try to add it manually. GA might not register hits when the .htaccess redirect was not in place.
Configure Google Analytics for SSL
After you move to SSL, you should change your domain in Google Analytics to https. This way, GA starts registering your hits again.
For more detailed instructions on how to adjust this, read this article.