Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 157 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

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
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 .