Analytics, tracking & HTTPS reminders

If you have recently updated your website to include an SSL certificate so your site is now https:// you need to verify a few more things so you don’t lose valuable tracking information. This previous post about an https transition covers more.

  1. Update domain to ensure that if anyone goes to your site without https:// they will be directed to https:// version.
  2. Make sure your analytics tracking is still in place – never hurts to check once in a while. You can do this in your site admin, the header file, theme options and more. You can also view the source code for your site (right click – view source/inspect) and look for your analytics code. Make sure it’s pulling in the correct UA number.
    <!– Global site tag (gtag.js) – Google Analytics –>
    <script async src=”https://www.googletagmanager.com/gtag/js?id=UA-54157124-1″></script>
    <script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}gtag(‘js’, new Date());

    gtag(‘config’, ‘UA-54157124-1’);
    </script>

    set up analytics to track https:// if you have added that.It’s really not a secret code, the secret with analytics is finding out who set it up and is the “owner” and can add more viewers to your analytics.

  3. Ensure your analytics are set up with https://
  4. Make sure your sitemap has been refreshed to include only https:// results.
  5. If you had any redirects set up because you had an old site or something, you need to make sure they redirect to the https:// location.
  6. If you make big changes to your site, make sure to add the annotation in analytics – like a diary.