{"action":"created","comment":{"url":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls/comments/234896135","pull_request_review_id":176634124,"id":234896135,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNDg5NjEzNQ==","diff_hunk":"@@ -0,0 +1,3 @@\n+<script>\n+  window.digitalData = {{ digitalData | dump | safe }};","path":"app/views/includes/digitalData.nunjucks","position":2,"original_position":2,"commit_id":"ce6ebe07019f3029893c25d239dc23cea02409a7","original_commit_id":"ce6ebe07019f3029893c25d239dc23cea02409a7","user":{"login":"st3v3nhunt","id":639706,"node_id":"MDQ6VXNlcjYzOTcwNg==","avatar_url":"https://avatars0.githubusercontent.com/u/639706?v=4","gravatar_id":"","url":"https://api.github.com/users/st3v3nhunt","html_url":"https://github.com/st3v3nhunt","followers_url":"https://api.github.com/users/st3v3nhunt/followers","following_url":"https://api.github.com/users/st3v3nhunt/following{/other_user}","gists_url":"https://api.github.com/users/st3v3nhunt/gists{/gist_id}","starred_url":"https://api.github.com/users/st3v3nhunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/st3v3nhunt/subscriptions","organizations_url":"https://api.github.com/users/st3v3nhunt/orgs","repos_url":"https://api.github.com/users/st3v3nhunt/repos","events_url":"https://api.github.com/users/st3v3nhunt/events{/privacy}","received_events_url":"https://api.github.com/users/st3v3nhunt/received_events","type":"User","site_admin":false},"body":"Yeah, it is intentional. `digitalData` is just a JSON object so in order for it to be correct when 'dumped' into the view it needs to run through `JSON.stringify`.","created_at":"2018-11-20T07:45:11Z","updated_at":"2018-11-20T07:45:11Z","html_url":"https://github.com/nhsuk/connecting-to-services/pull/527#discussion_r234896135","pull_request_url":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls/527","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls/comments/234896135"},"html":{"href":"https://github.com/nhsuk/connecting-to-services/pull/527#discussion_r234896135"},"pull_request":{"href":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls/527"}},"in_reply_to_id":234830594},"pull_request":{"url":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls/527","id":229641477,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5NjQxNDc3","html_url":"https://github.com/nhsuk/connecting-to-services/pull/527","diff_url":"https://github.com/nhsuk/connecting-to-services/pull/527.diff","patch_url":"https://github.com/nhsuk/connecting-to-services/pull/527.patch","issue_url":"https://api.github.com/repos/nhsuk/connecting-to-services/issues/527","number":527,"state":"open","locked":false,"title":"Add datalayer","user":{"login":"st3v3nhunt","id":639706,"node_id":"MDQ6VXNlcjYzOTcwNg==","avatar_url":"https://avatars0.githubusercontent.com/u/639706?v=4","gravatar_id":"","url":"https://api.github.com/users/st3v3nhunt","html_url":"https://github.com/st3v3nhunt","followers_url":"https://api.github.com/users/st3v3nhunt/followers","following_url":"https://api.github.com/users/st3v3nhunt/following{/other_user}","gists_url":"https://api.github.com/users/st3v3nhunt/gists{/gist_id}","starred_url":"https://api.github.com/users/st3v3nhunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/st3v3nhunt/subscriptions","organizations_url":"https://api.github.com/users/st3v3nhunt/orgs","repos_url":"https://api.github.com/users/st3v3nhunt/repos","events_url":"https://api.github.com/users/st3v3nhunt/events{/privacy}","received_events_url":"https://api.github.com/users/st3v3nhunt/received_events","type":"User","site_admin":false},"body":"Fixes #524 ","created_at":"2018-11-09T09:56:59Z","updated_at":"2018-11-20T07:45:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"022024e582a7103cdccb65cd6857cdda23aa4276","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls/527/commits","review_comments_url":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls/527/comments","review_comment_url":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nhsuk/connecting-to-services/issues/527/comments","statuses_url":"https://api.github.com/repos/nhsuk/connecting-to-services/statuses/ce6ebe07019f3029893c25d239dc23cea02409a7","head":{"label":"nhsuk:spike/adobe-cookies","ref":"spike/adobe-cookies","sha":"ce6ebe07019f3029893c25d239dc23cea02409a7","user":{"login":"nhsuk","id":18658529,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NjU4NTI5","avatar_url":"https://avatars2.githubusercontent.com/u/18658529?v=4","gravatar_id":"","url":"https://api.github.com/users/nhsuk","html_url":"https://github.com/nhsuk","followers_url":"https://api.github.com/users/nhsuk/followers","following_url":"https://api.github.com/users/nhsuk/following{/other_user}","gists_url":"https://api.github.com/users/nhsuk/gists{/gist_id}","starred_url":"https://api.github.com/users/nhsuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhsuk/subscriptions","organizations_url":"https://api.github.com/users/nhsuk/orgs","repos_url":"https://api.github.com/users/nhsuk/repos","events_url":"https://api.github.com/users/nhsuk/events{/privacy}","received_events_url":"https://api.github.com/users/nhsuk/received_events","type":"Organization","site_admin":false},"repo":{"id":67600520,"node_id":"MDEwOlJlcG9zaXRvcnk2NzYwMDUyMA==","name":"connecting-to-services","full_name":"nhsuk/connecting-to-services","private":false,"owner":{"login":"nhsuk","id":18658529,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NjU4NTI5","avatar_url":"https://avatars2.githubusercontent.com/u/18658529?v=4","gravatar_id":"","url":"https://api.github.com/users/nhsuk","html_url":"https://github.com/nhsuk","followers_url":"https://api.github.com/users/nhsuk/followers","following_url":"https://api.github.com/users/nhsuk/following{/other_user}","gists_url":"https://api.github.com/users/nhsuk/gists{/gist_id}","starred_url":"https://api.github.com/users/nhsuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhsuk/subscriptions","organizations_url":"https://api.github.com/users/nhsuk/orgs","repos_url":"https://api.github.com/users/nhsuk/repos","events_url":"https://api.github.com/users/nhsuk/events{/privacy}","received_events_url":"https://api.github.com/users/nhsuk/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/nhsuk/connecting-to-services","description":"Find a pharmacy","fork":false,"url":"https://api.github.com/repos/nhsuk/connecting-to-services","forks_url":"https://api.github.com/repos/nhsuk/connecting-to-services/forks","keys_url":"https://api.github.com/repos/nhsuk/connecting-to-services/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nhsuk/connecting-to-services/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nhsuk/connecting-to-services/teams","hooks_url":"https://api.github.com/repos/nhsuk/connecting-to-services/hooks","issue_events_url":"https://api.github.com/repos/nhsuk/connecting-to-services/issues/events{/number}","events_url":"https://api.github.com/repos/nhsuk/connecting-to-services/events","assignees_url":"https://api.github.com/repos/nhsuk/connecting-to-services/assignees{/user}","branches_url":"https://api.github.com/repos/nhsuk/connecting-to-services/branches{/branch}","tags_url":"https://api.github.com/repos/nhsuk/connecting-to-services/tags","blobs_url":"https://api.github.com/repos/nhsuk/connecting-to-services/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nhsuk/connecting-to-services/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nhsuk/connecting-to-services/git/refs{/sha}","trees_url":"https://api.github.com/repos/nhsuk/connecting-to-services/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nhsuk/connecting-to-services/statuses/{sha}","languages_url":"https://api.github.com/repos/nhsuk/connecting-to-services/languages","stargazers_url":"https://api.github.com/repos/nhsuk/connecting-to-services/stargazers","contributors_url":"https://api.github.com/repos/nhsuk/connecting-to-services/contributors","subscribers_url":"https://api.github.com/repos/nhsuk/connecting-to-services/subscribers","subscription_url":"https://api.github.com/repos/nhsuk/connecting-to-services/subscription","commits_url":"https://api.github.com/repos/nhsuk/connecting-to-services/commits{/sha}","git_commits_url":"https://api.github.com/repos/nhsuk/connecting-to-services/git/commits{/sha}","comments_url":"https://api.github.com/repos/nhsuk/connecting-to-services/comments{/number}","issue_comment_url":"https://api.github.com/repos/nhsuk/connecting-to-services/issues/comments{/number}","contents_url":"https://api.github.com/repos/nhsuk/connecting-to-services/contents/{+path}","compare_url":"https://api.github.com/repos/nhsuk/connecting-to-services/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nhsuk/connecting-to-services/merges","archive_url":"https://api.github.com/repos/nhsuk/connecting-to-services/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nhsuk/connecting-to-services/downloads","issues_url":"https://api.github.com/repos/nhsuk/connecting-to-services/issues{/number}","pulls_url":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls{/number}","milestones_url":"https://api.github.com/repos/nhsuk/connecting-to-services/milestones{/number}","notifications_url":"https://api.github.com/repos/nhsuk/connecting-to-services/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nhsuk/connecting-to-services/labels{/name}","releases_url":"https://api.github.com/repos/nhsuk/connecting-to-services/releases{/id}","deployments_url":"https://api.github.com/repos/nhsuk/connecting-to-services/deployments","created_at":"2016-09-07T11:27:48Z","updated_at":"2018-11-14T11:51:24Z","pushed_at":"2018-11-19T08:44:49Z","git_url":"git://github.com/nhsuk/connecting-to-services.git","ssh_url":"git@github.com:nhsuk/connecting-to-services.git","clone_url":"https://github.com/nhsuk/connecting-to-services.git","svn_url":"https://github.com/nhsuk/connecting-to-services","homepage":"https://beta.nhs.uk/find-a-pharmacy","size":9285,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":5,"open_issues":10,"watchers":1,"default_branch":"master"}},"base":{"label":"nhsuk:master","ref":"master","sha":"f530a2a8dfa41e1cddc89bc95aa2425930da2104","user":{"login":"nhsuk","id":18658529,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NjU4NTI5","avatar_url":"https://avatars2.githubusercontent.com/u/18658529?v=4","gravatar_id":"","url":"https://api.github.com/users/nhsuk","html_url":"https://github.com/nhsuk","followers_url":"https://api.github.com/users/nhsuk/followers","following_url":"https://api.github.com/users/nhsuk/following{/other_user}","gists_url":"https://api.github.com/users/nhsuk/gists{/gist_id}","starred_url":"https://api.github.com/users/nhsuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhsuk/subscriptions","organizations_url":"https://api.github.com/users/nhsuk/orgs","repos_url":"https://api.github.com/users/nhsuk/repos","events_url":"https://api.github.com/users/nhsuk/events{/privacy}","received_events_url":"https://api.github.com/users/nhsuk/received_events","type":"Organization","site_admin":false},"repo":{"id":67600520,"node_id":"MDEwOlJlcG9zaXRvcnk2NzYwMDUyMA==","name":"connecting-to-services","full_name":"nhsuk/connecting-to-services","private":false,"owner":{"login":"nhsuk","id":18658529,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NjU4NTI5","avatar_url":"https://avatars2.githubusercontent.com/u/18658529?v=4","gravatar_id":"","url":"https://api.github.com/users/nhsuk","html_url":"https://github.com/nhsuk","followers_url":"https://api.github.com/users/nhsuk/followers","following_url":"https://api.github.com/users/nhsuk/following{/other_user}","gists_url":"https://api.github.com/users/nhsuk/gists{/gist_id}","starred_url":"https://api.github.com/users/nhsuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhsuk/subscriptions","organizations_url":"https://api.github.com/users/nhsuk/orgs","repos_url":"https://api.github.com/users/nhsuk/repos","events_url":"https://api.github.com/users/nhsuk/events{/privacy}","received_events_url":"https://api.github.com/users/nhsuk/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/nhsuk/connecting-to-services","description":"Find a pharmacy","fork":false,"url":"https://api.github.com/repos/nhsuk/connecting-to-services","forks_url":"https://api.github.com/repos/nhsuk/connecting-to-services/forks","keys_url":"https://api.github.com/repos/nhsuk/connecting-to-services/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nhsuk/connecting-to-services/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nhsuk/connecting-to-services/teams","hooks_url":"https://api.github.com/repos/nhsuk/connecting-to-services/hooks","issue_events_url":"https://api.github.com/repos/nhsuk/connecting-to-services/issues/events{/number}","events_url":"https://api.github.com/repos/nhsuk/connecting-to-services/events","assignees_url":"https://api.github.com/repos/nhsuk/connecting-to-services/assignees{/user}","branches_url":"https://api.github.com/repos/nhsuk/connecting-to-services/branches{/branch}","tags_url":"https://api.github.com/repos/nhsuk/connecting-to-services/tags","blobs_url":"https://api.github.com/repos/nhsuk/connecting-to-services/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nhsuk/connecting-to-services/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nhsuk/connecting-to-services/git/refs{/sha}","trees_url":"https://api.github.com/repos/nhsuk/connecting-to-services/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nhsuk/connecting-to-services/statuses/{sha}","languages_url":"https://api.github.com/repos/nhsuk/connecting-to-services/languages","stargazers_url":"https://api.github.com/repos/nhsuk/connecting-to-services/stargazers","contributors_url":"https://api.github.com/repos/nhsuk/connecting-to-services/contributors","subscribers_url":"https://api.github.com/repos/nhsuk/connecting-to-services/subscribers","subscription_url":"https://api.github.com/repos/nhsuk/connecting-to-services/subscription","commits_url":"https://api.github.com/repos/nhsuk/connecting-to-services/commits{/sha}","git_commits_url":"https://api.github.com/repos/nhsuk/connecting-to-services/git/commits{/sha}","comments_url":"https://api.github.com/repos/nhsuk/connecting-to-services/comments{/number}","issue_comment_url":"https://api.github.com/repos/nhsuk/connecting-to-services/issues/comments{/number}","contents_url":"https://api.github.com/repos/nhsuk/connecting-to-services/contents/{+path}","compare_url":"https://api.github.com/repos/nhsuk/connecting-to-services/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nhsuk/connecting-to-services/merges","archive_url":"https://api.github.com/repos/nhsuk/connecting-to-services/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nhsuk/connecting-to-services/downloads","issues_url":"https://api.github.com/repos/nhsuk/connecting-to-services/issues{/number}","pulls_url":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls{/number}","milestones_url":"https://api.github.com/repos/nhsuk/connecting-to-services/milestones{/number}","notifications_url":"https://api.github.com/repos/nhsuk/connecting-to-services/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nhsuk/connecting-to-services/labels{/name}","releases_url":"https://api.github.com/repos/nhsuk/connecting-to-services/releases{/id}","deployments_url":"https://api.github.com/repos/nhsuk/connecting-to-services/deployments","created_at":"2016-09-07T11:27:48Z","updated_at":"2018-11-14T11:51:24Z","pushed_at":"2018-11-19T08:44:49Z","git_url":"git://github.com/nhsuk/connecting-to-services.git","ssh_url":"git@github.com:nhsuk/connecting-to-services.git","clone_url":"https://github.com/nhsuk/connecting-to-services.git","svn_url":"https://github.com/nhsuk/connecting-to-services","homepage":"https://beta.nhs.uk/find-a-pharmacy","size":9285,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":5,"open_issues":10,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls/527"},"html":{"href":"https://github.com/nhsuk/connecting-to-services/pull/527"},"issue":{"href":"https://api.github.com/repos/nhsuk/connecting-to-services/issues/527"},"comments":{"href":"https://api.github.com/repos/nhsuk/connecting-to-services/issues/527/comments"},"review_comments":{"href":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls/527/comments"},"review_comment":{"href":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls/527/commits"},"statuses":{"href":"https://api.github.com/repos/nhsuk/connecting-to-services/statuses/ce6ebe07019f3029893c25d239dc23cea02409a7"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"st3v3nhunt"}}