{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/44","repository_url":"https://api.github.com/repos/Automattic/wp-calypso","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/44/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/44/events","html_url":"https://github.com/Automattic/wp-calypso/issues/44","id":117450341,"number":44,"title":"Site Settings: analytics page doesn't handle jetpack","user":{"login":"hoverduck","id":7233112,"avatar_url":"https://avatars.githubusercontent.com/u/7233112?v=3","gravatar_id":"","url":"https://api.github.com/users/hoverduck","html_url":"https://github.com/hoverduck","followers_url":"https://api.github.com/users/hoverduck/followers","following_url":"https://api.github.com/users/hoverduck/following{/other_user}","gists_url":"https://api.github.com/users/hoverduck/gists{/gist_id}","starred_url":"https://api.github.com/users/hoverduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoverduck/subscriptions","organizations_url":"https://api.github.com/users/hoverduck/orgs","repos_url":"https://api.github.com/users/hoverduck/repos","events_url":"https://api.github.com/users/hoverduck/events{/privacy}","received_events_url":"https://api.github.com/users/hoverduck/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Site%20Settings","name":"Site Settings","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Pri]%20Low","name":"[Pri] Low","color":"fef2c0"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Type]%20Bug","name":"[Type] Bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-11-17T21:05:24Z","updated_at":"2016-07-20T09:11:02Z","closed_at":"2016-07-20T09:11:02Z","body":"We're showing a plan upgrade message on the analytics settings page for jetpack sites, and I don't believe that's an option for them.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/7233112/11224924/5e78eb42-8d45-11e5-9bc5-440f5d8ffaf5.png)\r\n\r\nit is possible to get into the state in my screenshot above by navigating to the analytics page for a wpcom site, and then switching to a jetpack site. I think we just need a custom message saying analytics can only be added to wpcom-hosted sites. We have the reverse issue for the jetpack security page (possible to get to the jetpack security page with a wpcom site), and this is how they handle it:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/7233112/11224945/75aaf9d6-8d45-11e5-90b6-947f672ecad7.png)\r\n"},"comment":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/comments/233895198","html_url":"https://github.com/Automattic/wp-calypso/issues/44#issuecomment-233895198","issue_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/44","id":233895198,"user":{"login":"mtias","id":548849,"avatar_url":"https://avatars.githubusercontent.com/u/548849?v=3","gravatar_id":"","url":"https://api.github.com/users/mtias","html_url":"https://github.com/mtias","followers_url":"https://api.github.com/users/mtias/followers","following_url":"https://api.github.com/users/mtias/following{/other_user}","gists_url":"https://api.github.com/users/mtias/gists{/gist_id}","starred_url":"https://api.github.com/users/mtias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtias/subscriptions","organizations_url":"https://api.github.com/users/mtias/orgs","repos_url":"https://api.github.com/users/mtias/repos","events_url":"https://api.github.com/users/mtias/events{/privacy}","received_events_url":"https://api.github.com/users/mtias/received_events","type":"User","site_admin":false},"created_at":"2016-07-20T09:11:02Z","updated_at":"2016-07-20T09:11:02Z","body":"There should be a redirect now in place."}}
{"actor":{"display_login":"mtias"}}