{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/24632","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/24632/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/24632/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/24632/events","html_url":"https://github.com/Automattic/wp-calypso/pull/24632","id":319644098,"number":24632,"title":"Checkout: Replace domain contact information Page View with Tracks","user":{"login":"Copons","id":2070010,"avatar_url":"https://avatars2.githubusercontent.com/u/2070010?v=4","gravatar_id":"","url":"https://api.github.com/users/Copons","html_url":"https://github.com/Copons","followers_url":"https://api.github.com/users/Copons/followers","following_url":"https://api.github.com/users/Copons/following{/other_user}","gists_url":"https://api.github.com/users/Copons/gists{/gist_id}","starred_url":"https://api.github.com/users/Copons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Copons/subscriptions","organizations_url":"https://api.github.com/users/Copons/orgs","repos_url":"https://api.github.com/users/Copons/repos","events_url":"https://api.github.com/users/Copons/events{/privacy}","received_events_url":"https://api.github.com/users/Copons/received_events","type":"User","site_admin":false},"labels":[{"id":285010036,"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Analytics","name":"Analytics","color":"006b75","default":false},{"id":285010121,"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Checkout","name":"Checkout","color":"006b75","default":false},{"id":285010030,"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Status]%20Ready%20to%20Merge","name":"[Status] Ready to Merge","color":"d4fb79","default":false}],"state":"open","locked":false,"assignee":{"login":"Copons","id":2070010,"avatar_url":"https://avatars2.githubusercontent.com/u/2070010?v=4","gravatar_id":"","url":"https://api.github.com/users/Copons","html_url":"https://github.com/Copons","followers_url":"https://api.github.com/users/Copons/followers","following_url":"https://api.github.com/users/Copons/following{/other_user}","gists_url":"https://api.github.com/users/Copons/gists{/gist_id}","starred_url":"https://api.github.com/users/Copons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Copons/subscriptions","organizations_url":"https://api.github.com/users/Copons/orgs","repos_url":"https://api.github.com/users/Copons/repos","events_url":"https://api.github.com/users/Copons/events{/privacy}","received_events_url":"https://api.github.com/users/Copons/received_events","type":"User","site_admin":false},"assignees":[{"login":"Copons","id":2070010,"avatar_url":"https://avatars2.githubusercontent.com/u/2070010?v=4","gravatar_id":"","url":"https://api.github.com/users/Copons","html_url":"https://github.com/Copons","followers_url":"https://api.github.com/users/Copons/followers","following_url":"https://api.github.com/users/Copons/following{/other_user}","gists_url":"https://api.github.com/users/Copons/gists{/gist_id}","starred_url":"https://api.github.com/users/Copons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Copons/subscriptions","organizations_url":"https://api.github.com/users/Copons/orgs","repos_url":"https://api.github.com/users/Copons/repos","events_url":"https://api.github.com/users/Copons/events{/privacy}","received_events_url":"https://api.github.com/users/Copons/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-05-02T17:29:51Z","updated_at":"2018-05-02T17:57:49Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/Automattic/wp-calypso/pulls/24632","html_url":"https://github.com/Automattic/wp-calypso/pull/24632","diff_url":"https://github.com/Automattic/wp-calypso/pull/24632.diff","patch_url":"https://github.com/Automattic/wp-calypso/pull/24632.patch"},"body":"Context https://github.com/Automattic/wp-calypso/pull/24538#issuecomment-385432549 and p99Zz8-gk-p2\r\nRequired for #24538 \r\n\r\nWe are currently tracking `DomainDetailsForm` with a [page view](https://github.com/Automattic/wp-calypso/blob/master/client/my-sites/checkout/checkout/domain-details-form.jsx#L54), which is a bit of a stretch of the page view definition, considering it's just a component in a `/checkout` page.\r\n\r\nThis PR replaces:\r\n```es6\r\nanalytics.pageView.record( '/checkout/domain-contact-information', 'Checkout > Domain Contact Information' );\r\n```\r\n(which records a `calypso_page_view` event with the `{ path: '/checkout/domain-contact-information' }` property)\r\n\r\nwith:\r\n\r\n```es6\r\nanalytics.tracks.recordEvent( 'calypso_checkout_domain_contact_information_view' );\r\n```\r\n(which records a `calypso_checkout_domain_contact_information_view` event)\r\n\r\nThe outcome should be the same, but of course have to be analyzed and funneled in a different way."},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/386065921","html_url":"https://github.com/Automattic/wp-calypso/pull/24632#issuecomment-386065921","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/24632","id":386065921,"user":{"login":"aidvu","id":1103398,"avatar_url":"https://avatars2.githubusercontent.com/u/1103398?v=4","gravatar_id":"","url":"https://api.github.com/users/aidvu","html_url":"https://github.com/aidvu","followers_url":"https://api.github.com/users/aidvu/followers","following_url":"https://api.github.com/users/aidvu/following{/other_user}","gists_url":"https://api.github.com/users/aidvu/gists{/gist_id}","starred_url":"https://api.github.com/users/aidvu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aidvu/subscriptions","organizations_url":"https://api.github.com/users/aidvu/orgs","repos_url":"https://api.github.com/users/aidvu/repos","events_url":"https://api.github.com/users/aidvu/events{/privacy}","received_events_url":"https://api.github.com/users/aidvu/received_events","type":"User","site_admin":false},"created_at":"2018-05-02T17:57:49Z","updated_at":"2018-05-02T17:57:49Z","author_association":"CONTRIBUTOR","body":"Oooops, @Copons, tests. 😛 "}}
{"actor":{"display_login":"aidvu"}}