I installed this along with the sandbox gotwo_link https://drupal.org/sandbox/baumeier.it/2089583, and very much like it.

On the staging site, behind server auth, reporting seems normal. On the live site we get massive over-reporting. I am guessing the /go/ link is being hit by bots.

Support request: what is the best way to exclude bots?

It would be useful to add a feature to the module which does this.

Alternatively perhaps the best option is to add a line the Varnish configuration, I am not sure how it would look but in effect saying (if user is a bot AND hits a link with '/go/') { return an HTML error }

Any thoughts about the best solution will be gratefully received!

Comments

john_b’s picture

I have added Disallow: /go/ to robots.txt.

I am also concerned about spam filters are following the link in our marketing emails, and adding to the massive over-reporting. Not sure whether they respect robots.txt, or how to deal with it.

ressa’s picture

I add rel="nofollow" in my links, but the links are auto-generated and not added manually, which would be unfeasible. Thanks @John_B, I have now also added Disallow: /go/ in my robots.txt, belt-and-braces!

hass’s picture

Issue summary: View changes
Status: Active » Fixed

Try google analytics

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.