geolonia / docs.geolonia.com

https://docs.geolonia.com/
0 stars 3 forks source link

今アクセスを除外しているボットの UserAgent 一覧を明示しておいたほうがいい #57

Open champierre opened 1 year ago

champierre commented 1 year ago

除外しているボットの UserAgent の一覧をもらえるでしょうか? @keichan34

keichan34 commented 1 year ago

今除外しているボットのSQL文はこちらとなります

WHERE (
  user_agent NOT LIKE '%Googlebot%'
  AND user_agent NOT LIKE '%AdsBot-Google%'
  AND user_agent NOT LIKE '%Bingbot%'
  AND user_agent NOT LIKE '%DuckDuckBot%'
  AND user_agent NOT LIKE '%facebookexternalhit%'
  AND user_agent NOT LIKE '%Y!J%'
)
champierre commented 1 year ago

よくある質問、にまとめる

keichan34 commented 1 year ago

JavaScriptを実行しないとカウントされないことも追加する