{"action":"opened","number":1102,"pull_request":{"url":"https://api.github.com/repos/goalgorilla/open_social/pulls/1102","id":229947877,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5OTQ3ODc3","html_url":"https://github.com/goalgorilla/open_social/pull/1102","diff_url":"https://github.com/goalgorilla/open_social/pull/1102.diff","patch_url":"https://github.com/goalgorilla/open_social/pull/1102.patch","issue_url":"https://api.github.com/repos/goalgorilla/open_social/issues/1102","number":1102,"state":"open","locked":false,"title":"SHN-132 - node view statistics","user":{"login":"bramtenhove","id":7124754,"node_id":"MDQ6VXNlcjcxMjQ3NTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/7124754?v=4","gravatar_id":"","url":"https://api.github.com/users/bramtenhove","html_url":"https://github.com/bramtenhove","followers_url":"https://api.github.com/users/bramtenhove/followers","following_url":"https://api.github.com/users/bramtenhove/following{/other_user}","gists_url":"https://api.github.com/users/bramtenhove/gists{/gist_id}","starred_url":"https://api.github.com/users/bramtenhove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bramtenhove/subscriptions","organizations_url":"https://api.github.com/users/bramtenhove/orgs","repos_url":"https://api.github.com/users/bramtenhove/repos","events_url":"https://api.github.com/users/bramtenhove/events{/privacy}","received_events_url":"https://api.github.com/users/bramtenhove/received_events","type":"User","site_admin":false},"body":"## Problem\r\nTo increase and measure engagement we want to track views per node. And we want to display them on full node display.\r\n\r\n## Solution\r\nAn optional module that tracks page views per user, displays the amount in full node display and adds a new KPI block if the `social_kpi_lite` module is enabled.\r\n\r\n## Issue tracker\r\n- https://jira.goalgorilla.com/browse/SHN-132\r\n\r\n## HTT\r\n- [ ] Check out the code changes\r\n- [ ] Login as SM and configure node types that should be tracked (default is event and topic) at /config/opensocial/node-statistics\r\n- [ ] Create public topic and view it a couple of times as LU, AN, etc.\r\n- [ ] Create community topic and view it a couple of times as LU\r\n- [ ] View the community topic as AN, observe (e.g. in the database) that it won't count as a page view\r\n- [ ] At the full node display see the amount of views for node types that are enabled\r\n- [ ] See that the page is still cached and amount of views does not visually increase\r\n- [ ] Wait 15 minutes (and 7-10 page views) or clear the cache to see the amount of views increasing\r\n- [ ] Go to the KPI analytics report to see a block on the right with th amount of views per month\r\n\r\n## Release notes\r\nA new optional module is added that can be used to track and display the amount of the page views per node type. On the full view display of the node the page views are shown. And if you use the Social KPI Lite module you will also get a new KPI block.\r\n","created_at":"2018-11-11T12:05:53Z","updated_at":"2018-11-11T12:05:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":627874040,"node_id":"MDU6TGFiZWw2Mjc4NzQwNDA=","url":"https://api.github.com/repos/goalgorilla/open_social/labels/eci","name":"eci","color":"f9d0c4","default":false},{"id":674822987,"node_id":"MDU6TGFiZWw2NzQ4MjI5ODc=","url":"https://api.github.com/repos/goalgorilla/open_social/labels/feature%20request","name":"feature request","color":"0052cc","default":false},{"id":1071200881,"node_id":"MDU6TGFiZWwxMDcxMjAwODgx","url":"https://api.github.com/repos/goalgorilla/open_social/labels/needs%20language%20review","name":"needs language review","color":"c883f7","default":false},{"id":1010229679,"node_id":"MDU6TGFiZWwxMDEwMjI5Njc5","url":"https://api.github.com/repos/goalgorilla/open_social/labels/needs%20review","name":"needs review","color":"30f444","default":false}],"milestone":{"url":"https://api.github.com/repos/goalgorilla/open_social/milestones/33","html_url":"https://github.com/goalgorilla/open_social/milestone/33","labels_url":"https://api.github.com/repos/goalgorilla/open_social/milestones/33/labels","id":3648817,"node_id":"MDk6TWlsZXN0b25lMzY0ODgxNw==","number":33,"title":"4.0","description":"","creator":{"login":"jaapjan","id":2848293,"node_id":"MDQ6VXNlcjI4NDgyOTM=","avatar_url":"https://avatars2.githubusercontent.com/u/2848293?v=4","gravatar_id":"","url":"https://api.github.com/users/jaapjan","html_url":"https://github.com/jaapjan","followers_url":"https://api.github.com/users/jaapjan/followers","following_url":"https://api.github.com/users/jaapjan/following{/other_user}","gists_url":"https://api.github.com/users/jaapjan/gists{/gist_id}","starred_url":"https://api.github.com/users/jaapjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaapjan/subscriptions","organizations_url":"https://api.github.com/users/jaapjan/orgs","repos_url":"https://api.github.com/users/jaapjan/repos","events_url":"https://api.github.com/users/jaapjan/events{/privacy}","received_events_url":"https://api.github.com/users/jaapjan/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":2,"state":"open","created_at":"2018-09-12T14:40:13Z","updated_at":"2018-11-11T12:05:53Z","due_on":"2018-12-04T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/goalgorilla/open_social/pulls/1102/commits","review_comments_url":"https://api.github.com/repos/goalgorilla/open_social/pulls/1102/comments","review_comment_url":"https://api.github.com/repos/goalgorilla/open_social/pulls/comments{/number}","comments_url":"https://api.github.com/repos/goalgorilla/open_social/issues/1102/comments","statuses_url":"https://api.github.com/repos/goalgorilla/open_social/statuses/5fe8cb62b1536df2684a6b3b1b8dcaf26e232777","head":{"label":"goalgorilla:feature/SHN-132-node-view-statistics","ref":"feature/SHN-132-node-view-statistics","sha":"5fe8cb62b1536df2684a6b3b1b8dcaf26e232777","user":{"login":"goalgorilla","id":16816975,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODE2OTc1","avatar_url":"https://avatars3.githubusercontent.com/u/16816975?v=4","gravatar_id":"","url":"https://api.github.com/users/goalgorilla","html_url":"https://github.com/goalgorilla","followers_url":"https://api.github.com/users/goalgorilla/followers","following_url":"https://api.github.com/users/goalgorilla/following{/other_user}","gists_url":"https://api.github.com/users/goalgorilla/gists{/gist_id}","starred_url":"https://api.github.com/users/goalgorilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goalgorilla/subscriptions","organizations_url":"https://api.github.com/users/goalgorilla/orgs","repos_url":"https://api.github.com/users/goalgorilla/repos","events_url":"https://api.github.com/users/goalgorilla/events{/privacy}","received_events_url":"https://api.github.com/users/goalgorilla/received_events","type":"Organization","site_admin":false},"repo":{"id":63693909,"node_id":"MDEwOlJlcG9zaXRvcnk2MzY5MzkwOQ==","name":"open_social","full_name":"goalgorilla/open_social","private":false,"owner":{"login":"goalgorilla","id":16816975,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODE2OTc1","avatar_url":"https://avatars3.githubusercontent.com/u/16816975?v=4","gravatar_id":"","url":"https://api.github.com/users/goalgorilla","html_url":"https://github.com/goalgorilla","followers_url":"https://api.github.com/users/goalgorilla/followers","following_url":"https://api.github.com/users/goalgorilla/following{/other_user}","gists_url":"https://api.github.com/users/goalgorilla/gists{/gist_id}","starred_url":"https://api.github.com/users/goalgorilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goalgorilla/subscriptions","organizations_url":"https://api.github.com/users/goalgorilla/orgs","repos_url":"https://api.github.com/users/goalgorilla/repos","events_url":"https://api.github.com/users/goalgorilla/events{/privacy}","received_events_url":"https://api.github.com/users/goalgorilla/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/goalgorilla/open_social","description":"Open Social install profile Drupal 8","fork":false,"url":"https://api.github.com/repos/goalgorilla/open_social","forks_url":"https://api.github.com/repos/goalgorilla/open_social/forks","keys_url":"https://api.github.com/repos/goalgorilla/open_social/keys{/key_id}","collaborators_url":"https://api.github.com/repos/goalgorilla/open_social/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/goalgorilla/open_social/teams","hooks_url":"https://api.github.com/repos/goalgorilla/open_social/hooks","issue_events_url":"https://api.github.com/repos/goalgorilla/open_social/issues/events{/number}","events_url":"https://api.github.com/repos/goalgorilla/open_social/events","assignees_url":"https://api.github.com/repos/goalgorilla/open_social/assignees{/user}","branches_url":"https://api.github.com/repos/goalgorilla/open_social/branches{/branch}","tags_url":"https://api.github.com/repos/goalgorilla/open_social/tags","blobs_url":"https://api.github.com/repos/goalgorilla/open_social/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/goalgorilla/open_social/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/goalgorilla/open_social/git/refs{/sha}","trees_url":"https://api.github.com/repos/goalgorilla/open_social/git/trees{/sha}","statuses_url":"https://api.github.com/repos/goalgorilla/open_social/statuses/{sha}","languages_url":"https://api.github.com/repos/goalgorilla/open_social/languages","stargazers_url":"https://api.github.com/repos/goalgorilla/open_social/stargazers","contributors_url":"https://api.github.com/repos/goalgorilla/open_social/contributors","subscribers_url":"https://api.github.com/repos/goalgorilla/open_social/subscribers","subscription_url":"https://api.github.com/repos/goalgorilla/open_social/subscription","commits_url":"https://api.github.com/repos/goalgorilla/open_social/commits{/sha}","git_commits_url":"https://api.github.com/repos/goalgorilla/open_social/git/commits{/sha}","comments_url":"https://api.github.com/repos/goalgorilla/open_social/comments{/number}","issue_comment_url":"https://api.github.com/repos/goalgorilla/open_social/issues/comments{/number}","contents_url":"https://api.github.com/repos/goalgorilla/open_social/contents/{+path}","compare_url":"https://api.github.com/repos/goalgorilla/open_social/compare/{base}...{head}","merges_url":"https://api.github.com/repos/goalgorilla/open_social/merges","archive_url":"https://api.github.com/repos/goalgorilla/open_social/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/goalgorilla/open_social/downloads","issues_url":"https://api.github.com/repos/goalgorilla/open_social/issues{/number}","pulls_url":"https://api.github.com/repos/goalgorilla/open_social/pulls{/number}","milestones_url":"https://api.github.com/repos/goalgorilla/open_social/milestones{/number}","notifications_url":"https://api.github.com/repos/goalgorilla/open_social/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/goalgorilla/open_social/labels{/name}","releases_url":"https://api.github.com/repos/goalgorilla/open_social/releases{/id}","deployments_url":"https://api.github.com/repos/goalgorilla/open_social/deployments","created_at":"2016-07-19T12:56:46Z","updated_at":"2018-11-09T07:55:37Z","pushed_at":"2018-11-11T11:47:38Z","git_url":"git://github.com/goalgorilla/open_social.git","ssh_url":"git@github.com:goalgorilla/open_social.git","clone_url":"https://github.com/goalgorilla/open_social.git","svn_url":"https://github.com/goalgorilla/open_social","homepage":"http://www.getopensocial.com","size":129759,"stargazers_count":68,"watchers_count":68,"language":"PHP","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":71,"mirror_url":null,"archived":false,"open_issues_count":58,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":71,"open_issues":58,"watchers":68,"default_branch":"8.x-3.x"}},"base":{"label":"goalgorilla:8.x-4.x","ref":"8.x-4.x","sha":"56a381fe40fb30fcaccdd74ca12e0fb006095081","user":{"login":"goalgorilla","id":16816975,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODE2OTc1","avatar_url":"https://avatars3.githubusercontent.com/u/16816975?v=4","gravatar_id":"","url":"https://api.github.com/users/goalgorilla","html_url":"https://github.com/goalgorilla","followers_url":"https://api.github.com/users/goalgorilla/followers","following_url":"https://api.github.com/users/goalgorilla/following{/other_user}","gists_url":"https://api.github.com/users/goalgorilla/gists{/gist_id}","starred_url":"https://api.github.com/users/goalgorilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goalgorilla/subscriptions","organizations_url":"https://api.github.com/users/goalgorilla/orgs","repos_url":"https://api.github.com/users/goalgorilla/repos","events_url":"https://api.github.com/users/goalgorilla/events{/privacy}","received_events_url":"https://api.github.com/users/goalgorilla/received_events","type":"Organization","site_admin":false},"repo":{"id":63693909,"node_id":"MDEwOlJlcG9zaXRvcnk2MzY5MzkwOQ==","name":"open_social","full_name":"goalgorilla/open_social","private":false,"owner":{"login":"goalgorilla","id":16816975,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2ODE2OTc1","avatar_url":"https://avatars3.githubusercontent.com/u/16816975?v=4","gravatar_id":"","url":"https://api.github.com/users/goalgorilla","html_url":"https://github.com/goalgorilla","followers_url":"https://api.github.com/users/goalgorilla/followers","following_url":"https://api.github.com/users/goalgorilla/following{/other_user}","gists_url":"https://api.github.com/users/goalgorilla/gists{/gist_id}","starred_url":"https://api.github.com/users/goalgorilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goalgorilla/subscriptions","organizations_url":"https://api.github.com/users/goalgorilla/orgs","repos_url":"https://api.github.com/users/goalgorilla/repos","events_url":"https://api.github.com/users/goalgorilla/events{/privacy}","received_events_url":"https://api.github.com/users/goalgorilla/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/goalgorilla/open_social","description":"Open Social install profile Drupal 8","fork":false,"url":"https://api.github.com/repos/goalgorilla/open_social","forks_url":"https://api.github.com/repos/goalgorilla/open_social/forks","keys_url":"https://api.github.com/repos/goalgorilla/open_social/keys{/key_id}","collaborators_url":"https://api.github.com/repos/goalgorilla/open_social/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/goalgorilla/open_social/teams","hooks_url":"https://api.github.com/repos/goalgorilla/open_social/hooks","issue_events_url":"https://api.github.com/repos/goalgorilla/open_social/issues/events{/number}","events_url":"https://api.github.com/repos/goalgorilla/open_social/events","assignees_url":"https://api.github.com/repos/goalgorilla/open_social/assignees{/user}","branches_url":"https://api.github.com/repos/goalgorilla/open_social/branches{/branch}","tags_url":"https://api.github.com/repos/goalgorilla/open_social/tags","blobs_url":"https://api.github.com/repos/goalgorilla/open_social/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/goalgorilla/open_social/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/goalgorilla/open_social/git/refs{/sha}","trees_url":"https://api.github.com/repos/goalgorilla/open_social/git/trees{/sha}","statuses_url":"https://api.github.com/repos/goalgorilla/open_social/statuses/{sha}","languages_url":"https://api.github.com/repos/goalgorilla/open_social/languages","stargazers_url":"https://api.github.com/repos/goalgorilla/open_social/stargazers","contributors_url":"https://api.github.com/repos/goalgorilla/open_social/contributors","subscribers_url":"https://api.github.com/repos/goalgorilla/open_social/subscribers","subscription_url":"https://api.github.com/repos/goalgorilla/open_social/subscription","commits_url":"https://api.github.com/repos/goalgorilla/open_social/commits{/sha}","git_commits_url":"https://api.github.com/repos/goalgorilla/open_social/git/commits{/sha}","comments_url":"https://api.github.com/repos/goalgorilla/open_social/comments{/number}","issue_comment_url":"https://api.github.com/repos/goalgorilla/open_social/issues/comments{/number}","contents_url":"https://api.github.com/repos/goalgorilla/open_social/contents/{+path}","compare_url":"https://api.github.com/repos/goalgorilla/open_social/compare/{base}...{head}","merges_url":"https://api.github.com/repos/goalgorilla/open_social/merges","archive_url":"https://api.github.com/repos/goalgorilla/open_social/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/goalgorilla/open_social/downloads","issues_url":"https://api.github.com/repos/goalgorilla/open_social/issues{/number}","pulls_url":"https://api.github.com/repos/goalgorilla/open_social/pulls{/number}","milestones_url":"https://api.github.com/repos/goalgorilla/open_social/milestones{/number}","notifications_url":"https://api.github.com/repos/goalgorilla/open_social/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/goalgorilla/open_social/labels{/name}","releases_url":"https://api.github.com/repos/goalgorilla/open_social/releases{/id}","deployments_url":"https://api.github.com/repos/goalgorilla/open_social/deployments","created_at":"2016-07-19T12:56:46Z","updated_at":"2018-11-09T07:55:37Z","pushed_at":"2018-11-11T11:47:38Z","git_url":"git://github.com/goalgorilla/open_social.git","ssh_url":"git@github.com:goalgorilla/open_social.git","clone_url":"https://github.com/goalgorilla/open_social.git","svn_url":"https://github.com/goalgorilla/open_social","homepage":"http://www.getopensocial.com","size":129759,"stargazers_count":68,"watchers_count":68,"language":"PHP","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":71,"mirror_url":null,"archived":false,"open_issues_count":58,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":71,"open_issues":58,"watchers":68,"default_branch":"8.x-3.x"}},"_links":{"self":{"href":"https://api.github.com/repos/goalgorilla/open_social/pulls/1102"},"html":{"href":"https://github.com/goalgorilla/open_social/pull/1102"},"issue":{"href":"https://api.github.com/repos/goalgorilla/open_social/issues/1102"},"comments":{"href":"https://api.github.com/repos/goalgorilla/open_social/issues/1102/comments"},"review_comments":{"href":"https://api.github.com/repos/goalgorilla/open_social/pulls/1102/comments"},"review_comment":{"href":"https://api.github.com/repos/goalgorilla/open_social/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/goalgorilla/open_social/pulls/1102/commits"},"statuses":{"href":"https://api.github.com/repos/goalgorilla/open_social/statuses/5fe8cb62b1536df2684a6b3b1b8dcaf26e232777"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":6,"additions":399,"deletions":2,"changed_files":16}}
{"actor":{"display_login":"bramtenhove"}}