{"action":"closed","number":322,"pull_request":{"url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/pulls/322","id":95186507,"html_url":"https://github.com/alphagov/govuk_prototype_kit/pull/322","diff_url":"https://github.com/alphagov/govuk_prototype_kit/pull/322.diff","patch_url":"https://github.com/alphagov/govuk_prototype_kit/pull/322.patch","issue_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/issues/322","number":322,"state":"closed","locked":false,"title":"Google analytics local fix - only run in promo mode","user":{"login":"joelanman","id":1132904,"avatar_url":"https://avatars.githubusercontent.com/u/1132904?v=3","gravatar_id":"","url":"https://api.github.com/users/joelanman","html_url":"https://github.com/joelanman","followers_url":"https://api.github.com/users/joelanman/followers","following_url":"https://api.github.com/users/joelanman/following{/other_user}","gists_url":"https://api.github.com/users/joelanman/gists{/gist_id}","starred_url":"https://api.github.com/users/joelanman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelanman/subscriptions","organizations_url":"https://api.github.com/users/joelanman/orgs","repos_url":"https://api.github.com/users/joelanman/repos","events_url":"https://api.github.com/users/joelanman/events{/privacy}","received_events_url":"https://api.github.com/users/joelanman/received_events","type":"User","site_admin":false},"body":"currently the google analytics code runs locally, which is not correct. This PR uses the promoMode variable to ensure it only runs when in promoMode (on heroku)","created_at":"2016-11-24T14:20:56Z","updated_at":"2016-11-25T13:03:55Z","closed_at":"2016-11-25T13:03:55Z","merged_at":"2016-11-25T13:03:55Z","merge_commit_sha":"ef9bed03bb2aaad1a90a1cde9c708dc02f61f06f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/pulls/322/commits","review_comments_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/pulls/322/comments","review_comment_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/issues/322/comments","statuses_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/statuses/ef9bed03bb2aaad1a90a1cde9c708dc02f61f06f","head":{"label":"alphagov:google-analytics-local-fix","ref":"google-analytics-local-fix","sha":"ef9bed03bb2aaad1a90a1cde9c708dc02f61f06f","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":21242339,"name":"govuk_prototype_kit","full_name":"alphagov/govuk_prototype_kit","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/govuk_prototype_kit","description":"Quickly create HTML prototypes of GOV.UK services","fork":false,"url":"https://api.github.com/repos/alphagov/govuk_prototype_kit","forks_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/forks","keys_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/events","assignees_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/merges","archive_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/deployments","created_at":"2014-06-26T13:54:09Z","updated_at":"2016-11-08T11:13:28Z","pushed_at":"2016-11-25T13:03:54Z","git_url":"git://github.com/alphagov/govuk_prototype_kit.git","ssh_url":"git@github.com:alphagov/govuk_prototype_kit.git","clone_url":"https://github.com/alphagov/govuk_prototype_kit.git","svn_url":"https://github.com/alphagov/govuk_prototype_kit","homepage":"https://govuk-prototype-kit.herokuapp.com","size":13345,"stargazers_count":79,"watchers_count":79,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":73,"mirror_url":null,"open_issues_count":50,"forks":73,"open_issues":50,"watchers":79,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"023ff40cf3d4061c2c2af9a40f4cc3b1750af409","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":21242339,"name":"govuk_prototype_kit","full_name":"alphagov/govuk_prototype_kit","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/govuk_prototype_kit","description":"Quickly create HTML prototypes of GOV.UK services","fork":false,"url":"https://api.github.com/repos/alphagov/govuk_prototype_kit","forks_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/forks","keys_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/events","assignees_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/merges","archive_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/govuk_prototype_kit/deployments","created_at":"2014-06-26T13:54:09Z","updated_at":"2016-11-08T11:13:28Z","pushed_at":"2016-11-25T13:03:54Z","git_url":"git://github.com/alphagov/govuk_prototype_kit.git","ssh_url":"git@github.com:alphagov/govuk_prototype_kit.git","clone_url":"https://github.com/alphagov/govuk_prototype_kit.git","svn_url":"https://github.com/alphagov/govuk_prototype_kit","homepage":"https://govuk-prototype-kit.herokuapp.com","size":13345,"stargazers_count":79,"watchers_count":79,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":73,"mirror_url":null,"open_issues_count":50,"forks":73,"open_issues":50,"watchers":79,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/govuk_prototype_kit/pulls/322"},"html":{"href":"https://github.com/alphagov/govuk_prototype_kit/pull/322"},"issue":{"href":"https://api.github.com/repos/alphagov/govuk_prototype_kit/issues/322"},"comments":{"href":"https://api.github.com/repos/alphagov/govuk_prototype_kit/issues/322/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/govuk_prototype_kit/pulls/322/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/govuk_prototype_kit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/govuk_prototype_kit/pulls/322/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/govuk_prototype_kit/statuses/ef9bed03bb2aaad1a90a1cde9c708dc02f61f06f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"joelanman","id":1132904,"avatar_url":"https://avatars.githubusercontent.com/u/1132904?v=3","gravatar_id":"","url":"https://api.github.com/users/joelanman","html_url":"https://github.com/joelanman","followers_url":"https://api.github.com/users/joelanman/followers","following_url":"https://api.github.com/users/joelanman/following{/other_user}","gists_url":"https://api.github.com/users/joelanman/gists{/gist_id}","starred_url":"https://api.github.com/users/joelanman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelanman/subscriptions","organizations_url":"https://api.github.com/users/joelanman/orgs","repos_url":"https://api.github.com/users/joelanman/repos","events_url":"https://api.github.com/users/joelanman/events{/privacy}","received_events_url":"https://api.github.com/users/joelanman/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":13,"deletions":8,"changed_files":2}}
{"actor":{"display_login":"joelanman"}}