groucho icon indicating copy to clipboard operation
groucho copied to clipboard

Non-browsing activity for favorite counting

Open doublejosh opened this issue 11 years ago • 1 comments
trafficstars

Right now getFavoriteTerms() only looks through browsing records. Should be able to access multiple activity records.

Proposing to set these on config or at call time.

doublejosh avatar Oct 30 '14 19:10 doublejosh

Could adjust which activities are used when counting taxonomy properties via config...

groucho.config = {
  'taxonomyProperty': 'tags',
  'trackExtent': 25,
  'trackProperties': ['pageId', 'title', 'type', 'tags'],
  'favoriteActivity': ['browsing', 'click']
};

Or that might be something that should be adjustable at call time...

var favActivity = ['browsing', 'click'];
getFavoriteTerms('*', false, threshold, favActivity);

...also, clearly this function needs to change to an options object.

This would affect the "static" favorites, which would be stashed in different forms.

doublejosh avatar Oct 30 '14 19:10 doublejosh