payload: {"action":"created","comment":{"url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/pulls/comments/356097644","pull_request_review_id":329913978,"id":356097644,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM1NjA5NzY0NA==","diff_hunk":"@@ -211,10 +230,23 @@ export class ComScoreStreamingAnalytics {\n       ns_st_ia: this.metadata.advertisementLoad ? '1' : null,\n       ns_st_cl: Math.round(assetLength * 1000),\n     };\n-\n+    this.decorateUserContent(data);\n     return data;\n   }\n \n+  private decorateUserContent(metadata: any): void {","path":"src/ComScoreStreamingAnalytics.ts","position":91,"original_position":91,"commit_id":"7d5c43453e94c687ad50d97c52362c0584e0817e","original_commit_id":"7d5c43453e94c687ad50d97c52362c0584e0817e","user":{"login":"zachmanc","id":447500,"node_id":"MDQ6VXNlcjQ0NzUwMA==","avatar_url":"https://avatars3.githubusercontent.com/u/447500?v=4","gravatar_id":"","url":"https://api.github.com/users/zachmanc","html_url":"https://github.com/zachmanc","followers_url":"https://api.github.com/users/zachmanc/followers","following_url":"https://api.github.com/users/zachmanc/following{/other_user}","gists_url":"https://api.github.com/users/zachmanc/gists{/gist_id}","starred_url":"https://api.github.com/users/zachmanc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachmanc/subscriptions","organizations_url":"https://api.github.com/users/zachmanc/orgs","repos_url":"https://api.github.com/users/zachmanc/repos","events_url":"https://api.github.com/users/zachmanc/events{/privacy}","received_events_url":"https://api.github.com/users/zachmanc/received_events","type":"User","site_admin":false},"body":"If the user hasn't explicitly granted or denied access, we do not want to include the `cs_ucfr` property in the `data` object","created_at":"2019-12-10T15:17:58Z","updated_at":"2019-12-10T15:17:59Z","html_url":"https://github.com/bitmovin/bitmovin-player-analytics-comscore/pull/14#discussion_r356097644","pull_request_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/pulls/14","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/pulls/comments/356097644"},"html":{"href":"https://github.com/bitmovin/bitmovin-player-analytics-comscore/pull/14#discussion_r356097644"},"pull_request":{"href":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/pulls/14"}},"in_reply_to_id":355885458},"pull_request":{"url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/pulls/14","id":351177732,"node_id":"MDExOlB1bGxSZXF1ZXN0MzUxMTc3NzMy","html_url":"https://github.com/bitmovin/bitmovin-player-analytics-comscore/pull/14","diff_url":"https://github.com/bitmovin/bitmovin-player-analytics-comscore/pull/14.diff","patch_url":"https://github.com/bitmovin/bitmovin-player-analytics-comscore/pull/14.patch","issue_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/issues/14","number":14,"state":"open","locked":false,"title":"Added ComScoreUserConsent functionality","user":{"login":"zachmanc","id":447500,"node_id":"MDQ6VXNlcjQ0NzUwMA==","avatar_url":"https://avatars3.githubusercontent.com/u/447500?v=4","gravatar_id":"","url":"https://api.github.com/users/zachmanc","html_url":"https://github.com/zachmanc","followers_url":"https://api.github.com/users/zachmanc/followers","following_url":"https://api.github.com/users/zachmanc/following{/other_user}","gists_url":"https://api.github.com/users/zachmanc/gists{/gist_id}","starred_url":"https://api.github.com/users/zachmanc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachmanc/subscriptions","organizations_url":"https://api.github.com/users/zachmanc/orgs","repos_url":"https://api.github.com/users/zachmanc/repos","events_url":"https://api.github.com/users/zachmanc/events{/privacy}","received_events_url":"https://api.github.com/users/zachmanc/received_events","type":"User","site_admin":false},"body":"In order to comply with CCPA and GDPR guidelines, we have implemented a way for users of this sdk to communicate whether the user has consented to ComScore analytics being active. \r\n\r\n- Users can now pass a `userConsent` parameter into the `ComScoreConfiguration` object. \r\n- Users can call `userConsentGranted()` and `userConsentDenied()` to update the user consent status after a `ComScoreAnalytics` or `ComScoreStreamingAnalytics` object has been instantiated. \r\n- If `userConsent` is granted on a `ComScoreStreamingAnalytics` object, we will set the `cs_ucfr` flag on the `ComScoreStreamingAnalytics` metadata.\r\n - If `userConsent` is granted on a `ComScoreAnalytics` object, we will set the `cs_ucfr` label on the `ns_.comScore` object\r\n\r\n- Bumped to version `1.1.0`","created_at":"2019-12-10T03:17:51Z","updated_at":"2019-12-10T15:17:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2956ab8954596fa6fcaa1218aa5c40357f4a76f0","assignee":null,"assignees":[],"requested_reviewers":[{"login":"aneurinc","id":35877937,"node_id":"MDQ6VXNlcjM1ODc3OTM3","avatar_url":"https://avatars3.githubusercontent.com/u/35877937?v=4","gravatar_id":"","url":"https://api.github.com/users/aneurinc","html_url":"https://github.com/aneurinc","followers_url":"https://api.github.com/users/aneurinc/followers","following_url":"https://api.github.com/users/aneurinc/following{/other_user}","gists_url":"https://api.github.com/users/aneurinc/gists{/gist_id}","starred_url":"https://api.github.com/users/aneurinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aneurinc/subscriptions","organizations_url":"https://api.github.com/users/aneurinc/orgs","repos_url":"https://api.github.com/users/aneurinc/repos","events_url":"https://api.github.com/users/aneurinc/events{/privacy}","received_events_url":"https://api.github.com/users/aneurinc/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/pulls/14/commits","review_comments_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/pulls/14/comments","review_comment_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/issues/14/comments","statuses_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/statuses/7d5c43453e94c687ad50d97c52362c0584e0817e","head":{"label":"bitmovin:feature/comscore_user_consent","ref":"feature/comscore_user_consent","sha":"7d5c43453e94c687ad50d97c52362c0584e0817e","user":{"login":"bitmovin","id":3273006,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyNzMwMDY=","avatar_url":"https://avatars1.githubusercontent.com/u/3273006?v=4","gravatar_id":"","url":"https://api.github.com/users/bitmovin","html_url":"https://github.com/bitmovin","followers_url":"https://api.github.com/users/bitmovin/followers","following_url":"https://api.github.com/users/bitmovin/following{/other_user}","gists_url":"https://api.github.com/users/bitmovin/gists{/gist_id}","starred_url":"https://api.github.com/users/bitmovin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitmovin/subscriptions","organizations_url":"https://api.github.com/users/bitmovin/orgs","repos_url":"https://api.github.com/users/bitmovin/repos","events_url":"https://api.github.com/users/bitmovin/events{/privacy}","received_events_url":"https://api.github.com/users/bitmovin/received_events","type":"Organization","site_admin":false},"repo":{"id":114373014,"node_id":"MDEwOlJlcG9zaXRvcnkxMTQzNzMwMTQ=","name":"bitmovin-player-analytics-comscore","full_name":"bitmovin/bitmovin-player-analytics-comscore","private":false,"owner":{"login":"bitmovin","id":3273006,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyNzMwMDY=","avatar_url":"https://avatars1.githubusercontent.com/u/3273006?v=4","gravatar_id":"","url":"https://api.github.com/users/bitmovin","html_url":"https://github.com/bitmovin","followers_url":"https://api.github.com/users/bitmovin/followers","following_url":"https://api.github.com/users/bitmovin/following{/other_user}","gists_url":"https://api.github.com/users/bitmovin/gists{/gist_id}","starred_url":"https://api.github.com/users/bitmovin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitmovin/subscriptions","organizations_url":"https://api.github.com/users/bitmovin/orgs","repos_url":"https://api.github.com/users/bitmovin/repos","events_url":"https://api.github.com/users/bitmovin/events{/privacy}","received_events_url":"https://api.github.com/users/bitmovin/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/bitmovin/bitmovin-player-analytics-comscore","description":"Integration of the Bitmovin Video Player with ComScore","fork":false,"url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore","forks_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/forks","keys_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/teams","hooks_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/hooks","issue_events_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/issues/events{/number}","events_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/events","assignees_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/assignees{/user}","branches_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/branches{/branch}","tags_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/tags","blobs_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/statuses/{sha}","languages_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/languages","stargazers_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/stargazers","contributors_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/contributors","subscribers_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/subscribers","subscription_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/subscription","commits_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/contents/{+path}","compare_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/merges","archive_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/downloads","issues_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/issues{/number}","pulls_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/pulls{/number}","milestones_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/milestones{/number}","notifications_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/labels{/name}","releases_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/releases{/id}","deployments_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/deployments","created_at":"2017-12-15T13:21:39Z","updated_at":"2019-11-18T15:17:14Z","pushed_at":"2019-12-10T03:17:52Z","git_url":"git://github.com/bitmovin/bitmovin-player-analytics-comscore.git","ssh_url":"git@github.com:bitmovin/bitmovin-player-analytics-comscore.git","clone_url":"https://github.com/bitmovin/bitmovin-player-analytics-comscore.git","svn_url":"https://github.com/bitmovin/bitmovin-player-analytics-comscore","homepage":"","size":2822,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"bitmovin:develop","ref":"develop","sha":"281d14b7950352a6ba585ae10f073a7b3c2ed097","user":{"login":"bitmovin","id":3273006,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyNzMwMDY=","avatar_url":"https://avatars1.githubusercontent.com/u/3273006?v=4","gravatar_id":"","url":"https://api.github.com/users/bitmovin","html_url":"https://github.com/bitmovin","followers_url":"https://api.github.com/users/bitmovin/followers","following_url":"https://api.github.com/users/bitmovin/following{/other_user}","gists_url":"https://api.github.com/users/bitmovin/gists{/gist_id}","starred_url":"https://api.github.com/users/bitmovin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitmovin/subscriptions","organizations_url":"https://api.github.com/users/bitmovin/orgs","repos_url":"https://api.github.com/users/bitmovin/repos","events_url":"https://api.github.com/users/bitmovin/events{/privacy}","received_events_url":"https://api.github.com/users/bitmovin/received_events","type":"Organization","site_admin":false},"repo":{"id":114373014,"node_id":"MDEwOlJlcG9zaXRvcnkxMTQzNzMwMTQ=","name":"bitmovin-player-analytics-comscore","full_name":"bitmovin/bitmovin-player-analytics-comscore","private":false,"owner":{"login":"bitmovin","id":3273006,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyNzMwMDY=","avatar_url":"https://avatars1.githubusercontent.com/u/3273006?v=4","gravatar_id":"","url":"https://api.github.com/users/bitmovin","html_url":"https://github.com/bitmovin","followers_url":"https://api.github.com/users/bitmovin/followers","following_url":"https://api.github.com/users/bitmovin/following{/other_user}","gists_url":"https://api.github.com/users/bitmovin/gists{/gist_id}","starred_url":"https://api.github.com/users/bitmovin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitmovin/subscriptions","organizations_url":"https://api.github.com/users/bitmovin/orgs","repos_url":"https://api.github.com/users/bitmovin/repos","events_url":"https://api.github.com/users/bitmovin/events{/privacy}","received_events_url":"https://api.github.com/users/bitmovin/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/bitmovin/bitmovin-player-analytics-comscore","description":"Integration of the Bitmovin Video Player with ComScore","fork":false,"url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore","forks_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/forks","keys_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/teams","hooks_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/hooks","issue_events_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/issues/events{/number}","events_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/events","assignees_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/assignees{/user}","branches_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/branches{/branch}","tags_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/tags","blobs_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/statuses/{sha}","languages_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/languages","stargazers_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/stargazers","contributors_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/contributors","subscribers_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/subscribers","subscription_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/subscription","commits_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/contents/{+path}","compare_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/merges","archive_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/downloads","issues_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/issues{/number}","pulls_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/pulls{/number}","milestones_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/milestones{/number}","notifications_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/labels{/name}","releases_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/releases{/id}","deployments_url":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/deployments","created_at":"2017-12-15T13:21:39Z","updated_at":"2019-11-18T15:17:14Z","pushed_at":"2019-12-10T03:17:52Z","git_url":"git://github.com/bitmovin/bitmovin-player-analytics-comscore.git","ssh_url":"git@github.com:bitmovin/bitmovin-player-analytics-comscore.git","clone_url":"https://github.com/bitmovin/bitmovin-player-analytics-comscore.git","svn_url":"https://github.com/bitmovin/bitmovin-player-analytics-comscore","homepage":"","size":2822,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/pulls/14"},"html":{"href":"https://github.com/bitmovin/bitmovin-player-analytics-comscore/pull/14"},"issue":{"href":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/issues/14"},"comments":{"href":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/bitmovin/bitmovin-player-analytics-comscore/statuses/7d5c43453e94c687ad50d97c52362c0584e0817e"}},"author_association":"CONTRIBUTOR"}}
other: {"actor":{"display_login":"zachmanc"}}