great video, thank for sharing it !
Ahoy is a wonderfull gem when it comes to track !
I also use Ahoy::Event to track visit duration and sometimes to create heatmap of my page :p
more information if you want : http://www.tuto-ruby-gratui...
this is my free rails tutorial, it's in french but code is understandable :p
Hey, Chris! It looks like a lot has changed with
ahoy in the past two years. Any way you could update this?
I don't think a whole lot has changed. They have instructions for using it with Webpacker now, but it seems mostly the same to me. Are you talking about anything specific?
No, it turns out I have a Rails 5 app that uses Webpacker, and what I implemented was apparently causing confusion in my app. I took the Webpacker stuff out and it works fine now. Thanks, anyway!
Hey Chris, does ahoy_matey only integrate with the devise User model? My colleague and I have been attempting to integrate it with another model called Product -- ignoring the User model altogether. Changing t.references :user to t.references :product.
Our app does not have user auth, and we just want to track visits and events in our Product model.
Yeah, should be able to set it up without Users. That's what guests are anyways, they don't have a User. You can always ask on the GitHub issues for it and get tips from the author. 👍
Join 30,005+ developers who get early access to new screencasts, articles, guides, updates, and more.