What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

Hi, When developing sites I sometimes post links to sites I have problems with. I don't want this information to appear in google analytics, is there a way I can prevent the question from appearing in the direct traffic section?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Ideas:

  1. Post links through tinyurl or some other link obfuscation service? (you should probably include a disclaimer in the post about why you did this, otherwise the community might suspect your motives.)

  2. Don't post clickable links, make them plain text?

share|improve this answer
    
Thanks, although the other answer was very useful, I still think this is probably the 100% safe way –  Moak Apr 30 '10 at 5:15

You should be able to exclude the traffic from stackoverflow.com using a custom filter in you Google Analytics configuration. On the main page, look for the "Filter Manager", which will take you to a screen like the one shown in the image below (sorry about the lack of freehand circles btw):


Filter screen

share|improve this answer
    
Thanks, I can accept this answer if it's the only way, however if I am not the admin of GA, is there anything I can do? –  Moak Apr 26 '10 at 7:33
    
If you can inject JavaScript, maybe you could check document.referrer and decide whether or not to run the GA tracking script. Seems pretty dodgy, though. –  Jørn Schou-Rode Apr 26 '10 at 7:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .