updated readme

This commit is contained in:
Hannes Staffler 2013-12-13 10:39:14 +01:00
parent bad17466ee
commit 3494a040a2
1 changed files with 4 additions and 0 deletions

View File

@ -124,6 +124,10 @@ Usage
@widget.impressionist_count(:filter=>:all) @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 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 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 authenticated user, current_user.id will be written to the user_id field in the