Skip to content

People management analytics#4128

Merged
daniloercoli merged 3 commits intofeature/people-management-syncfrom
feature/people-management-analytics
May 26, 2016
Merged

People management analytics#4128
daniloercoli merged 3 commits intofeature/people-management-syncfrom
feature/people-management-analytics

Conversation

@oguzkocer
Copy link
Copy Markdown
Contributor

Relevant #3901. This PR adds the analytics events for people management. It follows the iOS counterpart. Thanks @jleandroperez!

P.S: I feel the AnalyticsTracker enum is a bit disordered. It's hard to decide where to put the event name and decide on the correct naming. It'd be great if we can maybe order it alphabetically and set some rules. Just my 2 cents.

/cc @astralbodies & @nbradbury

Needs review: @daniloercoli

@daniloercoli
Copy link
Copy Markdown
Contributor

P.S: I feel the AnalyticsTracker enum is a bit disordered. It's hard to decide where to put the event name and decide on the correct naming.

We can reorder the list if that helps. I think we've grouped items by functionalities.

Also, it' s not important the name you give to the enum item, the important part is the name given to the event, that should follow nosara rules.

Intent intent = new Intent(context, PeopleManagementActivity.class);
slideInFromRight(context, intent);
// TODO: add -> AnalyticsTracker.track(AnalyticsTracker.Stat.OPENED_PEOPLE_MANAGEMENT);
AnalyticsUtils.trackWithCurrentBlogDetails(AnalyticsTracker.Stat.OPENED_PEOPLE);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use the old name for this enum OPENED_PEOPLE_MANAGEMENT. It feels more clear to me what's used for.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hah, that was just a reminder comment I've added for myself, but sure we can 👍

@daniloercoli
Copy link
Copy Markdown
Contributor

:shipit:

@daniloercoli daniloercoli merged commit 6a20f71 into feature/people-management-sync May 26, 2016
@daniloercoli daniloercoli deleted the feature/people-management-analytics branch May 26, 2016 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants