elcuervo / minuteman

Fast analytics using Redis
elcuervo.github.com/minuteman
MIT License
629 stars 63 forks source link

Using Minuteman for anonymous events #8

Closed guyisra closed 9 years ago

guyisra commented 10 years ago

Hey

The examples show tracking of events made by a specific user

What about events made anonymously? Like entering a page, or clicking a specific button?

Is Minuteman suitable for such activity? as this can generate a lot of tracking data. Does Minuteman consolidate this somehow?

Thanks

elcuervo commented 10 years ago

That's one of the big issues with Minuteman. I'm currently working on a new version that handles anonymous users. The idea is to be able to do something like this:

user = minuteman.track("user:click") # => Returns a Minuteman::User
user.promote(67) # so you can promote the user to a user from your own system.
                 # This will add a relation to the internal users to your users

user.identity # This will return a unique id so you can create a cookie or
              # anything you want to follow the anonymous user

Does this sound good?

guyisra commented 10 years ago

Yes this is one aspect of what I meant.

The other aspect of anonymous events is to have an event not bound to a user like how many visits in a certain page (for all and any users). I don't have a page object (since its just a url), but I would like to track events that happen in a global level (and not a user level)

Also, in your example you show it with User. Is it possible with any object?

guyisra commented 10 years ago

Are there any new developments with this?

it would be much easier to use minuteman for page and event anayltics like "page.visited" and not having to bind it to a signed up user

elcuervo commented 10 years ago

@guyisra Yes. Currently I'm working on that. It's been a crazy year. Planning on a release soon

elcuervo commented 9 years ago

Can you check the current master to see if it suits your needs?