Forum Moderators: goodroi
<script type="text/javascript" src="/a-tracking-script.php?d=tracking-code&mode=a-mode"></script>
<script type="text/javascript" src="/a-different-tracking-script.php?referrer-id=another-mode"></script>
Here is Googlebot's behavior on its last two visits. It's ignores new content pages altogether, looks for the tracking .php files and leaves.
GET / HTTP/1.0" 200 10780 "-" "Googlebot/2.1
GET /a-tracking-script.php?d=tracking-code&mode=a-mode HTTP/1.0" 302 0 "-" "Googlebot/2.1
GET /a-different-tracking-script.php?referrer-id=another-mode HTTP/1.0" 200 563 "-" "Googlebot/2.1
GET /a-tracking-script.php?d=tracking-code&mode=a-mode HTTP/1.0" 302 0 "-" "Googlebot/2.1
Will disallowing these files in robots.txt be sufficient to encourage Googlebot to ignore these scripts?
I've considered using the javascript above in an external script in a disallowed directory, maybe with document.write, but it seems like an awful kludge. Still I don't want Googlebot wasting time and ignoring real content....
What would be the best method to blind it to the presence of the scripts?