From 3494a040a28530f609c734a61c9035a0a9946c10 Mon Sep 17 00:00:00 2001 From: Hannes Staffler Date: Fri, 13 Dec 2013 10:39:14 +0100 Subject: [PATCH] updated readme --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 1f2b451..13a56cc 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,10 @@ Usage @widget.impressionist_count(:filter=>:all) +9. Get impression count by message. This only counts impressions of the given message. + + @widget.impressionist_count(:message=>"pageview", :filter=>:all) + Logging impressions for authenticated users happens automatically. If you have a current_user helper or use @current_user in your before_filter to set your authenticated user, current_user.id will be written to the user_id field in the