Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-browsing activity for favorite counting #7

Open
doublejosh opened this issue Oct 30, 2014 · 1 comment
Open

Non-browsing activity for favorite counting #7

doublejosh opened this issue Oct 30, 2014 · 1 comment

Comments

@doublejosh
Copy link
Contributor

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
Copy link
Contributor Author

doublejosh commented Oct 30, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants