Module to track the logged in users who viewed the entity

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
mrded's picture

Hi there,

I'm going to make module that will track the logged in users who viewed the entity.
With this module you will be able to make "People viewed your profile" block like Linkedin does.

What I need:

  • Relation user to entity
  • Store last viewing date
  • Integration with views

Does anyone want to stop me? :) Are there any modules that makes same thing?

Update: Too late, module is ready: Entity Visits

Comments

Did you try User Visits

anupom.gogoi's picture

Did you try User Visits Advanced (https://drupal.org/project/user_visits_adv) module? I think it does the same.

almost, but it tracks users

mrded's picture

Almost, but it tracks users to user. I need relation user to entity.

For example, it doesn't able to track impressions of profile2 entity without tracking user pages. Moreover, it doesn't support views.

Rules + flag would give what

ckng's picture

Rules + flag would give what you want, and views for display.

CK Ng | myFineJob.com

Can I save viewing date to

mrded's picture

Can I save viewing date to flag?

IIRC, Flag by default saves

Garrett Albright's picture

IIRC, Flag by default saves the timestamp of when a flag is created. I don't think it's the right approach here, though.

Agree.

mrded's picture

Agree.

module is ready

mrded's picture

Too late, the module is ready: Entity Visits :)

Contributed Module Ideas

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week