I hope you can assist me with this! I've recently changed the preferred domain for my site `https://example.com`. Unfortunately, after doing so, it appears that views/visits are no longer being recorded by Google Analytics. I've edited the URL in GA's Admin settings to indicate that it is now `https://example.com` - perhaps it just needs some time to settle in?

Also, I'm not quite sure if I've set up the 301 redirect correctly after setting my preferred domain. 

```
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]
RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]

```

If I have an HTTPS site, do I need to add the 's' to the sections that contain 'HTTP'?