At the moment, when a user saves a page as favorite, I'm adding this info to the user profile. However now I want to retrieve the top 5 most saved pages.
I thought of just adding a field to the page that I could increment but every time I'd publish the page, this value would be overridden - Even if I wanted to save this value in both master and web, CD doesn't have access to master so they would be out of sync.
I also thought about extending xDB to include this info but not really sure how I can do this? Just create a facet on the contact?
I could check all the users' favorite pages but I imagine that it might be a better way of doing this?
EDIT Still looking for suggestions but for now I've just created a new collection in xDB just to store this data.