{"action":"reopened","issue":{"url":"https://api.github.com/repos/empirical-org/Empirical-Core/issues/946","labels_url":"https://api.github.com/repos/empirical-org/Empirical-Core/issues/946/labels{/name}","comments_url":"https://api.github.com/repos/empirical-org/Empirical-Core/issues/946/comments","events_url":"https://api.github.com/repos/empirical-org/Empirical-Core/issues/946/events","html_url":"https://github.com/empirical-org/Empirical-Core/issues/946","id":112390187,"number":946,"title":"Intercom Needs to Be Changed - Do Not Count Students, Only Teachers","user":{"login":"elliotmandel","id":12731246,"avatar_url":"https://avatars.githubusercontent.com/u/12731246?v=3","gravatar_id":"","url":"https://api.github.com/users/elliotmandel","html_url":"https://github.com/elliotmandel","followers_url":"https://api.github.com/users/elliotmandel/followers","following_url":"https://api.github.com/users/elliotmandel/following{/other_user}","gists_url":"https://api.github.com/users/elliotmandel/gists{/gist_id}","starred_url":"https://api.github.com/users/elliotmandel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elliotmandel/subscriptions","organizations_url":"https://api.github.com/users/elliotmandel/orgs","repos_url":"https://api.github.com/users/elliotmandel/repos","events_url":"https://api.github.com/users/elliotmandel/events{/privacy}","received_events_url":"https://api.github.com/users/elliotmandel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/empirical-org/Empirical-Core/labels/Priority:%20%E2%98%85","name":"Priority: ★","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"RyanNovas","id":6655439,"avatar_url":"https://avatars.githubusercontent.com/u/6655439?v=3","gravatar_id":"","url":"https://api.github.com/users/RyanNovas","html_url":"https://github.com/RyanNovas","followers_url":"https://api.github.com/users/RyanNovas/followers","following_url":"https://api.github.com/users/RyanNovas/following{/other_user}","gists_url":"https://api.github.com/users/RyanNovas/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanNovas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanNovas/subscriptions","organizations_url":"https://api.github.com/users/RyanNovas/orgs","repos_url":"https://api.github.com/users/RyanNovas/repos","events_url":"https://api.github.com/users/RyanNovas/events{/privacy}","received_events_url":"https://api.github.com/users/RyanNovas/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-10-20T15:10:05Z","updated_at":"2015-11-11T20:48:31Z","closed_at":null,"body":"Right now, Intercom is picking up almost 20k users - it is including both students and teachers. We want it to only be tracking teachers. Can we please set the Intercom system to purge all students and only count teachers?\r\n\r\nThe problem is that when a student completes an activity, the segment tag identifies the student, and this adds the student to intercom. To fix:\r\n\r\n- [ ] Set up a new tag called \"teacher's student completes activity\"\r\n- [ ] The tag should identify the teacher when the student completes the activity. \r\n- [ ] Test on staging with intercom staging to make sure that the teacher receives the event. \r\n- [ ] Launch to production. \r\n- [ ] In segment, turn off the\"student completes an activity\" tag for intercom. \r\n- [ ] Delete all of the students (you can do this by searching for people whose role does not equal teacher. Delete them). Check 30 minutes later, there should be no more students. Teachers should start getting this property. \r\n\r\n<img width=\"987\" alt=\"screen shot 2015-10-20 at 11 08 56 am\" src=\"https://cloud.githubusercontent.com/assets/12731246/10611633/0210160e-771b-11e5-89c4-4d89a7983706.png\">\r\n"}}