impressionist
impressionist copied to clipboard
Is this gem Rails 4.2 friendly? and other questions
I have a Rails 4.2 app that I would love to use this with....can I with no compatibility issues?
Also, I am using heavy caching on my views - everytime a view is shown (given that it is a cached file and not necessarily a DB call) will this gem still work?
Also, if I wanted to track the number of times that a link is clicked...does this app capture that too?
Thanks.
I can confirm that the gem works with Rails 4.2.beta2. I've updated in development and impressions are being properly recorded.
Impressions should still be created despite caching, as far as I can tell. I'd definitely suggest testing this out to ensure they're being properly counted in your database.
I do not believe the gem allows for tracking the number of clicks on a link, technically, though you may be able to track this if the destination of a link is impressionable by checking the "referrer" column for the Impression object.
It does not work well with mongoid on Rails 4.2.3