{"action":"closed","number":1792,"pull_request":{"url":"https://api.github.com/repos/cargomedia/CM/pulls/1792","id":37790679,"html_url":"https://github.com/cargomedia/CM/pull/1792","diff_url":"https://github.com/cargomedia/CM/pull/1792.diff","patch_url":"https://github.com/cargomedia/CM/pull/1792.patch","issue_url":"https://api.github.com/repos/cargomedia/CM/issues/1792","number":1792,"state":"closed","locked":false,"title":"GA MP: Send along \"hostname\"","user":{"login":"fauvel","id":2485834,"avatar_url":"https://avatars.githubusercontent.com/u/2485834?v=3","gravatar_id":"","url":"https://api.github.com/users/fauvel","html_url":"https://github.com/fauvel","followers_url":"https://api.github.com/users/fauvel/followers","following_url":"https://api.github.com/users/fauvel/following{/other_user}","gists_url":"https://api.github.com/users/fauvel/gists{/gist_id}","starred_url":"https://api.github.com/users/fauvel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fauvel/subscriptions","organizations_url":"https://api.github.com/users/fauvel/orgs","repos_url":"https://api.github.com/users/fauvel/repos","events_url":"https://api.github.com/users/fauvel/events{/privacy}","received_events_url":"https://api.github.com/users/fauvel/received_events","type":"User","site_admin":false},"body":"Currently we don't send a hostname to *GA Measurement Protocol* when tracking hits. This is problematic because we then aren't able to filter traffic by \"hostname\" in views.\r\n\r\nIt looks like we can send it along as `dh`:\r\nhttps://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#dh\r\n\r\nAlso note they now have a \"debugging\" endpoint:\r\nhttps://developers.google.com/analytics/devguides/collection/protocol/v1/validating-hits\r\n\r\n@fauvel maybe something for you?","created_at":"2015-06-16T12:46:15Z","updated_at":"2015-06-17T09:07:40Z","closed_at":"2015-06-17T09:07:40Z","merged_at":"2015-06-17T09:07:40Z","merge_commit_sha":"cd6338ec83af2c833f22610d8367b1103d310c77","assignee":{"login":"fauvel","id":2485834,"avatar_url":"https://avatars.githubusercontent.com/u/2485834?v=3","gravatar_id":"","url":"https://api.github.com/users/fauvel","html_url":"https://github.com/fauvel","followers_url":"https://api.github.com/users/fauvel/followers","following_url":"https://api.github.com/users/fauvel/following{/other_user}","gists_url":"https://api.github.com/users/fauvel/gists{/gist_id}","starred_url":"https://api.github.com/users/fauvel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fauvel/subscriptions","organizations_url":"https://api.github.com/users/fauvel/orgs","repos_url":"https://api.github.com/users/fauvel/repos","events_url":"https://api.github.com/users/fauvel/events{/privacy}","received_events_url":"https://api.github.com/users/fauvel/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/cargomedia/CM/pulls/1792/commits","review_comments_url":"https://api.github.com/repos/cargomedia/CM/pulls/1792/comments","review_comment_url":"https://api.github.com/repos/cargomedia/CM/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cargomedia/CM/issues/1792/comments","statuses_url":"https://api.github.com/repos/cargomedia/CM/statuses/19362f28106edb8bf164e88f6ccea10412ef986a","head":{"label":"fauvel:issue-1792","ref":"issue-1792","sha":"19362f28106edb8bf164e88f6ccea10412ef986a","user":{"login":"fauvel","id":2485834,"avatar_url":"https://avatars.githubusercontent.com/u/2485834?v=3","gravatar_id":"","url":"https://api.github.com/users/fauvel","html_url":"https://github.com/fauvel","followers_url":"https://api.github.com/users/fauvel/followers","following_url":"https://api.github.com/users/fauvel/following{/other_user}","gists_url":"https://api.github.com/users/fauvel/gists{/gist_id}","starred_url":"https://api.github.com/users/fauvel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fauvel/subscriptions","organizations_url":"https://api.github.com/users/fauvel/orgs","repos_url":"https://api.github.com/users/fauvel/repos","events_url":"https://api.github.com/users/fauvel/events{/privacy}","received_events_url":"https://api.github.com/users/fauvel/received_events","type":"User","site_admin":false},"repo":{"id":16174887,"name":"CM","full_name":"fauvel/CM","owner":{"login":"fauvel","id":2485834,"avatar_url":"https://avatars.githubusercontent.com/u/2485834?v=3","gravatar_id":"","url":"https://api.github.com/users/fauvel","html_url":"https://github.com/fauvel","followers_url":"https://api.github.com/users/fauvel/followers","following_url":"https://api.github.com/users/fauvel/following{/other_user}","gists_url":"https://api.github.com/users/fauvel/gists{/gist_id}","starred_url":"https://api.github.com/users/fauvel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fauvel/subscriptions","organizations_url":"https://api.github.com/users/fauvel/orgs","repos_url":"https://api.github.com/users/fauvel/repos","events_url":"https://api.github.com/users/fauvel/events{/privacy}","received_events_url":"https://api.github.com/users/fauvel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fauvel/CM","description":"CM web application framework","fork":true,"url":"https://api.github.com/repos/fauvel/CM","forks_url":"https://api.github.com/repos/fauvel/CM/forks","keys_url":"https://api.github.com/repos/fauvel/CM/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fauvel/CM/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fauvel/CM/teams","hooks_url":"https://api.github.com/repos/fauvel/CM/hooks","issue_events_url":"https://api.github.com/repos/fauvel/CM/issues/events{/number}","events_url":"https://api.github.com/repos/fauvel/CM/events","assignees_url":"https://api.github.com/repos/fauvel/CM/assignees{/user}","branches_url":"https://api.github.com/repos/fauvel/CM/branches{/branch}","tags_url":"https://api.github.com/repos/fauvel/CM/tags","blobs_url":"https://api.github.com/repos/fauvel/CM/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fauvel/CM/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fauvel/CM/git/refs{/sha}","trees_url":"https://api.github.com/repos/fauvel/CM/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fauvel/CM/statuses/{sha}","languages_url":"https://api.github.com/repos/fauvel/CM/languages","stargazers_url":"https://api.github.com/repos/fauvel/CM/stargazers","contributors_url":"https://api.github.com/repos/fauvel/CM/contributors","subscribers_url":"https://api.github.com/repos/fauvel/CM/subscribers","subscription_url":"https://api.github.com/repos/fauvel/CM/subscription","commits_url":"https://api.github.com/repos/fauvel/CM/commits{/sha}","git_commits_url":"https://api.github.com/repos/fauvel/CM/git/commits{/sha}","comments_url":"https://api.github.com/repos/fauvel/CM/comments{/number}","issue_comment_url":"https://api.github.com/repos/fauvel/CM/issues/comments{/number}","contents_url":"https://api.github.com/repos/fauvel/CM/contents/{+path}","compare_url":"https://api.github.com/repos/fauvel/CM/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fauvel/CM/merges","archive_url":"https://api.github.com/repos/fauvel/CM/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fauvel/CM/downloads","issues_url":"https://api.github.com/repos/fauvel/CM/issues{/number}","pulls_url":"https://api.github.com/repos/fauvel/CM/pulls{/number}","milestones_url":"https://api.github.com/repos/fauvel/CM/milestones{/number}","notifications_url":"https://api.github.com/repos/fauvel/CM/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fauvel/CM/labels{/name}","releases_url":"https://api.github.com/repos/fauvel/CM/releases{/id}","created_at":"2014-01-23T14:35:57Z","updated_at":"2015-05-06T08:52:03Z","pushed_at":"2015-06-16T12:46:14Z","git_url":"git://github.com/fauvel/CM.git","ssh_url":"git@github.com:fauvel/CM.git","clone_url":"https://github.com/fauvel/CM.git","svn_url":"https://github.com/fauvel/CM","homepage":"","size":29900,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cargomedia:master","ref":"master","sha":"82ea47cdcf84cb6b07dd0e92bfc133ce88f31f06","user":{"login":"cargomedia","id":1699929,"avatar_url":"https://avatars.githubusercontent.com/u/1699929?v=3","gravatar_id":"","url":"https://api.github.com/users/cargomedia","html_url":"https://github.com/cargomedia","followers_url":"https://api.github.com/users/cargomedia/followers","following_url":"https://api.github.com/users/cargomedia/following{/other_user}","gists_url":"https://api.github.com/users/cargomedia/gists{/gist_id}","starred_url":"https://api.github.com/users/cargomedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cargomedia/subscriptions","organizations_url":"https://api.github.com/users/cargomedia/orgs","repos_url":"https://api.github.com/users/cargomedia/repos","events_url":"https://api.github.com/users/cargomedia/events{/privacy}","received_events_url":"https://api.github.com/users/cargomedia/received_events","type":"Organization","site_admin":false},"repo":{"id":7134007,"name":"CM","full_name":"cargomedia/CM","owner":{"login":"cargomedia","id":1699929,"avatar_url":"https://avatars.githubusercontent.com/u/1699929?v=3","gravatar_id":"","url":"https://api.github.com/users/cargomedia","html_url":"https://github.com/cargomedia","followers_url":"https://api.github.com/users/cargomedia/followers","following_url":"https://api.github.com/users/cargomedia/following{/other_user}","gists_url":"https://api.github.com/users/cargomedia/gists{/gist_id}","starred_url":"https://api.github.com/users/cargomedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cargomedia/subscriptions","organizations_url":"https://api.github.com/users/cargomedia/orgs","repos_url":"https://api.github.com/users/cargomedia/repos","events_url":"https://api.github.com/users/cargomedia/events{/privacy}","received_events_url":"https://api.github.com/users/cargomedia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cargomedia/CM","description":"CM web application framework","fork":false,"url":"https://api.github.com/repos/cargomedia/CM","forks_url":"https://api.github.com/repos/cargomedia/CM/forks","keys_url":"https://api.github.com/repos/cargomedia/CM/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cargomedia/CM/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cargomedia/CM/teams","hooks_url":"https://api.github.com/repos/cargomedia/CM/hooks","issue_events_url":"https://api.github.com/repos/cargomedia/CM/issues/events{/number}","events_url":"https://api.github.com/repos/cargomedia/CM/events","assignees_url":"https://api.github.com/repos/cargomedia/CM/assignees{/user}","branches_url":"https://api.github.com/repos/cargomedia/CM/branches{/branch}","tags_url":"https://api.github.com/repos/cargomedia/CM/tags","blobs_url":"https://api.github.com/repos/cargomedia/CM/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cargomedia/CM/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cargomedia/CM/git/refs{/sha}","trees_url":"https://api.github.com/repos/cargomedia/CM/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cargomedia/CM/statuses/{sha}","languages_url":"https://api.github.com/repos/cargomedia/CM/languages","stargazers_url":"https://api.github.com/repos/cargomedia/CM/stargazers","contributors_url":"https://api.github.com/repos/cargomedia/CM/contributors","subscribers_url":"https://api.github.com/repos/cargomedia/CM/subscribers","subscription_url":"https://api.github.com/repos/cargomedia/CM/subscription","commits_url":"https://api.github.com/repos/cargomedia/CM/commits{/sha}","git_commits_url":"https://api.github.com/repos/cargomedia/CM/git/commits{/sha}","comments_url":"https://api.github.com/repos/cargomedia/CM/comments{/number}","issue_comment_url":"https://api.github.com/repos/cargomedia/CM/issues/comments{/number}","contents_url":"https://api.github.com/repos/cargomedia/CM/contents/{+path}","compare_url":"https://api.github.com/repos/cargomedia/CM/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cargomedia/CM/merges","archive_url":"https://api.github.com/repos/cargomedia/CM/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cargomedia/CM/downloads","issues_url":"https://api.github.com/repos/cargomedia/CM/issues{/number}","pulls_url":"https://api.github.com/repos/cargomedia/CM/pulls{/number}","milestones_url":"https://api.github.com/repos/cargomedia/CM/milestones{/number}","notifications_url":"https://api.github.com/repos/cargomedia/CM/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cargomedia/CM/labels{/name}","releases_url":"https://api.github.com/repos/cargomedia/CM/releases{/id}","created_at":"2012-12-12T17:00:30Z","updated_at":"2015-05-07T11:04:07Z","pushed_at":"2015-06-17T09:07:40Z","git_url":"git://github.com/cargomedia/CM.git","ssh_url":"git@github.com:cargomedia/CM.git","clone_url":"https://github.com/cargomedia/CM.git","svn_url":"https://github.com/cargomedia/CM","homepage":"","size":37593,"stargazers_count":7,"watchers_count":7,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":38,"forks":15,"open_issues":38,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cargomedia/CM/pulls/1792"},"html":{"href":"https://github.com/cargomedia/CM/pull/1792"},"issue":{"href":"https://api.github.com/repos/cargomedia/CM/issues/1792"},"comments":{"href":"https://api.github.com/repos/cargomedia/CM/issues/1792/comments"},"review_comments":{"href":"https://api.github.com/repos/cargomedia/CM/pulls/1792/comments"},"review_comment":{"href":"https://api.github.com/repos/cargomedia/CM/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cargomedia/CM/pulls/1792/commits"},"statuses":{"href":"https://api.github.com/repos/cargomedia/CM/statuses/19362f28106edb8bf164e88f6ccea10412ef986a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"fauvel","id":2485834,"avatar_url":"https://avatars.githubusercontent.com/u/2485834?v=3","gravatar_id":"","url":"https://api.github.com/users/fauvel","html_url":"https://github.com/fauvel","followers_url":"https://api.github.com/users/fauvel/followers","following_url":"https://api.github.com/users/fauvel/following{/other_user}","gists_url":"https://api.github.com/users/fauvel/gists{/gist_id}","starred_url":"https://api.github.com/users/fauvel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fauvel/subscriptions","organizations_url":"https://api.github.com/users/fauvel/orgs","repos_url":"https://api.github.com/users/fauvel/repos","events_url":"https://api.github.com/users/fauvel/events{/privacy}","received_events_url":"https://api.github.com/users/fauvel/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":5,"deletions":0,"changed_files":2}}