Mobile app version of vmapp.org
Login or Join
Shelley277

: Will Google Analytics show "google / organic" source correctly if a redirection happens in between? To be specific, when a user visit the target website homepage A through Google search:

@Shelley277

Posted in: #GoogleAnalytics

To be specific, when a user visit the target website homepage A through Google search:


It will show "google / organic" as source


But if a redirection rule is created from A to B:


Will it still be "google / organic"? or become "direct"?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Shelley277

1 Comments

Sorted by latest first Latest Oldest Best

 

@Shanna517

This depends on how the redirect is done. The source / medium is derived intelligently from the HTTP referrer header.

Generally:


A server side redirect will preserve the original referrer. A 30x redirect therefore will preserve the 'source / medium'.
A client-side redirect using meta refresh or javascript will remove the referrer. This will mean it appears as 'direct' as the header has been stripped.


There are bound to be exceptions to these with different clients/servers. There are actions that can cause this header to be stripped or modified. Some sites will do this on purpose in order to mask the origin. Facebook is an example, where it will redirect external URLs in order to strip out the exact origin.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme