README.md in keen-0.8.9 vs README.md in keen-0.8.10

- old
+ new

@@ -173,10 +173,11 @@ ##### Query Options Each query method or alias takes an optional hash of options as an additional parameter. Possible keys are: `:response` – Set to `:all_keys` to return the full API response (usually only the value of the `"result"` key is returned). +`:method` - Set to `:post` to enable post body based query (https://keen.io/docs/data-analysis/post-queries/). ##### Getting Query URLs Sometimes you just want the URL for a query, but don't actually need to run it. Maybe to paste into a dashboard, or open in your browser. In that case, use the `query_url` method: @@ -374,10 +375,21 @@ ##### publish_async in a script or worker If you write a script that uses `publish_async`, you need to keep the script alive long enough for the call(s) to complete. EventMachine itself won't do this because it runs in a different thread. Here's an [example gist](https://gist.github.com/dzello/7472823) that shows how to exit the process after the event has been recorded. +### Additional Considerations + +##### Bots + +It's not just us humans that browse the web. Spiders, crawlers, and bots share the pipes too. When it comes to analytics, this can cause a mild headache. Events generated by bots can inflate your metrics and eat up your event quota. + +If you want some bot protection, check out the [Voight-Kampff](https://github.com/biola/Voight-Kampff) gem. Use the gem's `request.bot?` method to detect bots and avoid logging events. + ### Changelog + +##### 0.8.10 ++ Added support for posting queries. Thanks [@soloman1124](https://github.com/soloman1124). ##### 0.8.9 + Fix proxy support for sync client. Thanks [@nvieirafelipe](https://github.com/nvieirafelipe)! ##### 0.8.8