Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Scenario: user goes to Google and performs a search - one of my old pages shows in the results (a page I have just created a 301 quick redirect for using an app within WordPress) - they click on my result and are redirected to the new page.

Question: will this user show-up in Google Analytics as a direct visitor? If not, how would they show as far as their traffic source?

share|improve this question

Server-side 301 redirects should retain the referrer, as captured via the JavaScript document.referrer, so the traffic source in this case should be "google.com" (the search engine).

This is covered under the Redirects and Self-referrals section here, including an example diagram of a redirect.

For a more detailed discussion on this, with some exceptions to the above (such as right-clicking on the link instead and selecting something like "Open link in new tab"), view the Google Analytics thread here.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.