Mobile app version of vmapp.org
Login or Join
Holmes151

: 301 Redirects in a WordPress site: What will Google Analytics report? Scenario: user goes to Google and performs a search - one of my old pages shows in the results (a page I have just created

@Holmes151

Posted in: #301Redirect #Google #GoogleAnalytics #Wordpress

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Holmes151

1 Comments

Sorted by latest first Latest Oldest Best

 

@Nimeshi995

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme