Question

Google Analytics labeling organic traffic as direct traffic

Hello,

I recently migrated to a new server, and I noticed that my Google Analytics started labeling organic traffic as “direct traffic” immediately after I migrated.

I used WP Vivid to migrate the WordPress site over and kept everything the same, including the Google Analytics tag, so I’m sure why traffic is being mislabeled.

Any idea what’s going on?


Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
December 4, 2022

Hi there,

I can see that you have an HTTP to HTTPS redirect, if your referral traffic is coming directly to HTTP, it is possible that Google loses the track of the referral source after the redirect.

What you need to do is to make sure that your referring traffic points to the HTTPS version of your domain name rather than the HTTP version so the referrer domain does not get lost during the redirect.

Hope that this helps!

Best,

Bobby