README.md in searchjoy-0.4.3 vs README.md in searchjoy-0.5.0
- old
+ new
@@ -1,11 +1,13 @@
# Searchjoy
Search analytics made easy
-[See it in action](https://searchjoy.herokuapp.com/)
+[See it in action](https://searchjoy.dokkuapp.com/)
+[![Screenshot](https://searchjoy.dokkuapp.com/assets/searchjoy-b65f1ee63cedb8e221780bcf494425432172613e05bf427ad19a9435b49d7e9f.png)](https://searchjoy.dokkuapp.com/)
+
- view searches in real-time
- track conversions week over week
- monitor the performance of top searches
Works with any search platform, including Elasticsearch, Sphinx, and Solr
@@ -54,10 +56,16 @@
```ruby
Item.search("apple", track: {user_id: 1})
```
-If you want to track more attributes, add them to the `searchjoy_searches` table. Then, pass the values to the `track` option.
+If you want to track more attributes, add them to the `searchjoy_searches` table.
+
+```ruby
+add_column :searchjoy_searches, :source, :string
+```
+
+Then, pass the values to the `track` option.
```ruby
Item.search("apple", track: {user_id: 1, source: "web"})
```