Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Most url shorteners will redirect using an HTTP 3XX status code. It means that the browser follows the redirect to the new path but keeps the same HTTP Referrer as before.</p> <p>The HTTP Referrer is an HTTP field that is passed on every request indicating the previous page the user was in. This is also available through javascript using <code>document.referrer</code>.</p> <p>Google Analytics (and other Web Analytics tools) will use the <code>document.referrer</code> property to set traffic sources. Since the redirect using HTTP keeps the Referrer the shortner is pretty much invisible to Google Analytics.</p> <p>You didn't specify which url shortener you used, you just said it was "like bit.ly". I know that both bit.ly and goo.gl provide some statistics. If you just want to measure how many times people click on the link or some other basic info it should be enough. You just need to add a plus sign to the end of the link to see the stats.</p> <p>eg:</p> <ul> <li><a href="http://goo.gl/mR2d+" rel="nofollow">http://goo.gl/mR2d+</a></li> <li><a href="http://bit.ly/LmvF+" rel="nofollow">http://bit.ly/LmvF+</a></li> </ul> <p>If you want that information in Google Analytics you can use campaign parameters in the original url and minify it after you inserted the campaign parameters. With campaign parameters the referrer is ignored by Google Analytics and it will use those parameters to set the campaign source. </p> <p>More information about Custom Campaigns in Google Analytics:</p> <p><a href="http://support.google.com/analytics/bin/answer.py?hl=en&amp;answer=1033863" rel="nofollow">http://support.google.com/analytics/bin/answer.py?hl=en&amp;answer=1033863</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload