{"action":"closed","number":864,"pull_request":{"url":"https://api.github.com/repos/alphagov/static/pulls/864","id":97995675,"html_url":"https://github.com/alphagov/static/pull/864","diff_url":"https://github.com/alphagov/static/pull/864.diff","patch_url":"https://github.com/alphagov/static/pull/864.patch","issue_url":"https://api.github.com/repos/alphagov/static/issues/864","number":864,"state":"closed","locked":false,"title":"Track breadcrumb clicks","user":{"login":"carvil","id":416701,"avatar_url":"https://avatars.githubusercontent.com/u/416701?v=3","gravatar_id":"","url":"https://api.github.com/users/carvil","html_url":"https://github.com/carvil","followers_url":"https://api.github.com/users/carvil/followers","following_url":"https://api.github.com/users/carvil/following{/other_user}","gists_url":"https://api.github.com/users/carvil/gists{/gist_id}","starred_url":"https://api.github.com/users/carvil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carvil/subscriptions","organizations_url":"https://api.github.com/users/carvil/orgs","repos_url":"https://api.github.com/users/carvil/repos","events_url":"https://api.github.com/users/carvil/events{/privacy}","received_events_url":"https://api.github.com/users/carvil/received_events","type":"User","site_admin":false},"body":"This PR adds a new tracker that tracks clicks on breadcrumb links. When a click occurs, it:\r\n- sets a custom dimension in order to report the title of the link clicked;\r\n- calls the `TrackLink` module to track a custom event (`trackEvent`) with the remaining data attributes (category, action and label).\r\n\r\n**NOTE**:\r\n\r\nBefore this can be merged, we need to:\r\n- [x] - change the dimension ID to a correct value (we agreed on 29);\r\n- [x] - merge https://github.com/alphagov/static/pull/863\r\n\r\nThis branch was created off https://github.com/alphagov/static/pull/863, hence the first 2 commits being the same.","created_at":"2016-12-14T17:13:50Z","updated_at":"2016-12-19T11:44:34Z","closed_at":"2016-12-19T11:44:34Z","merged_at":"2016-12-19T11:44:34Z","merge_commit_sha":"f1a5915e8d379165245857459439f41299c1d36b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/static/pulls/864/commits","review_comments_url":"https://api.github.com/repos/alphagov/static/pulls/864/comments","review_comment_url":"https://api.github.com/repos/alphagov/static/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/static/issues/864/comments","statuses_url":"https://api.github.com/repos/alphagov/static/statuses/ebe69aa77528fd669ff34ce1f093fa45026cd451","head":{"label":"alphagov:track-breadcrumb-clicks","ref":"track-breadcrumb-clicks","sha":"ebe69aa77528fd669ff34ce1f093fa45026cd451","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":1599151,"name":"static","full_name":"alphagov/static","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/static","description":"GOV.UK static files and resources","fork":false,"url":"https://api.github.com/repos/alphagov/static","forks_url":"https://api.github.com/repos/alphagov/static/forks","keys_url":"https://api.github.com/repos/alphagov/static/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/static/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/static/teams","hooks_url":"https://api.github.com/repos/alphagov/static/hooks","issue_events_url":"https://api.github.com/repos/alphagov/static/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/static/events","assignees_url":"https://api.github.com/repos/alphagov/static/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/static/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/static/tags","blobs_url":"https://api.github.com/repos/alphagov/static/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/static/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/static/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/static/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/static/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/static/languages","stargazers_url":"https://api.github.com/repos/alphagov/static/stargazers","contributors_url":"https://api.github.com/repos/alphagov/static/contributors","subscribers_url":"https://api.github.com/repos/alphagov/static/subscribers","subscription_url":"https://api.github.com/repos/alphagov/static/subscription","commits_url":"https://api.github.com/repos/alphagov/static/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/static/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/static/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/static/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/static/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/static/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/static/merges","archive_url":"https://api.github.com/repos/alphagov/static/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/static/downloads","issues_url":"https://api.github.com/repos/alphagov/static/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/static/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/static/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/static/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/static/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/static/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/static/deployments","created_at":"2011-04-11T13:42:56Z","updated_at":"2016-11-16T16:24:45Z","pushed_at":"2016-12-19T11:44:34Z","git_url":"git://github.com/alphagov/static.git","ssh_url":"git@github.com:alphagov/static.git","clone_url":"https://github.com/alphagov/static.git","svn_url":"https://github.com/alphagov/static","homepage":"","size":20783,"stargazers_count":86,"watchers_count":86,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":39,"mirror_url":null,"open_issues_count":12,"forks":39,"open_issues":12,"watchers":86,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"031b22b19c5343d06d512a7e0cdff47a955ae62e","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":1599151,"name":"static","full_name":"alphagov/static","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/static","description":"GOV.UK static files and resources","fork":false,"url":"https://api.github.com/repos/alphagov/static","forks_url":"https://api.github.com/repos/alphagov/static/forks","keys_url":"https://api.github.com/repos/alphagov/static/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/static/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/static/teams","hooks_url":"https://api.github.com/repos/alphagov/static/hooks","issue_events_url":"https://api.github.com/repos/alphagov/static/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/static/events","assignees_url":"https://api.github.com/repos/alphagov/static/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/static/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/static/tags","blobs_url":"https://api.github.com/repos/alphagov/static/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/static/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/static/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/static/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/static/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/static/languages","stargazers_url":"https://api.github.com/repos/alphagov/static/stargazers","contributors_url":"https://api.github.com/repos/alphagov/static/contributors","subscribers_url":"https://api.github.com/repos/alphagov/static/subscribers","subscription_url":"https://api.github.com/repos/alphagov/static/subscription","commits_url":"https://api.github.com/repos/alphagov/static/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/static/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/static/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/static/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/static/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/static/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/static/merges","archive_url":"https://api.github.com/repos/alphagov/static/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/static/downloads","issues_url":"https://api.github.com/repos/alphagov/static/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/static/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/static/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/static/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/static/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/static/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/static/deployments","created_at":"2011-04-11T13:42:56Z","updated_at":"2016-11-16T16:24:45Z","pushed_at":"2016-12-19T11:44:34Z","git_url":"git://github.com/alphagov/static.git","ssh_url":"git@github.com:alphagov/static.git","clone_url":"https://github.com/alphagov/static.git","svn_url":"https://github.com/alphagov/static","homepage":"","size":20783,"stargazers_count":86,"watchers_count":86,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":39,"mirror_url":null,"open_issues_count":12,"forks":39,"open_issues":12,"watchers":86,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/static/pulls/864"},"html":{"href":"https://github.com/alphagov/static/pull/864"},"issue":{"href":"https://api.github.com/repos/alphagov/static/issues/864"},"comments":{"href":"https://api.github.com/repos/alphagov/static/issues/864/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/static/pulls/864/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/static/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/static/pulls/864/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/static/statuses/ebe69aa77528fd669ff34ce1f093fa45026cd451"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"carvil","id":416701,"avatar_url":"https://avatars.githubusercontent.com/u/416701?v=3","gravatar_id":"","url":"https://api.github.com/users/carvil","html_url":"https://github.com/carvil","followers_url":"https://api.github.com/users/carvil/followers","following_url":"https://api.github.com/users/carvil/following{/other_user}","gists_url":"https://api.github.com/users/carvil/gists{/gist_id}","starred_url":"https://api.github.com/users/carvil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carvil/subscriptions","organizations_url":"https://api.github.com/users/carvil/orgs","repos_url":"https://api.github.com/users/carvil/repos","events_url":"https://api.github.com/users/carvil/events{/privacy}","received_events_url":"https://api.github.com/users/carvil/received_events","type":"User","site_admin":false},"comments":5,"review_comments":2,"commits":4,"additions":117,"deletions":1,"changed_files":6}}
{"actor":{"display_login":"carvil"}}