{"action":"created","issue":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/4770","repository_url":"https://api.github.com/repos/ampproject/amphtml","labels_url":"https://api.github.com/repos/ampproject/amphtml/issues/4770/labels{/name}","comments_url":"https://api.github.com/repos/ampproject/amphtml/issues/4770/comments","events_url":"https://api.github.com/repos/ampproject/amphtml/issues/4770/events","html_url":"https://github.com/ampproject/amphtml/issues/4770","id":174058202,"number":4770,"title":"Render <amp-analytics> within <amp-ad> for A4A in the parent doc instead of the shadow dom/iframe","user":{"login":"j-e-shaw","id":16246501,"avatar_url":"https://avatars.githubusercontent.com/u/16246501?v=3","gravatar_id":"","url":"https://api.github.com/users/j-e-shaw","html_url":"https://github.com/j-e-shaw","followers_url":"https://api.github.com/users/j-e-shaw/followers","following_url":"https://api.github.com/users/j-e-shaw/following{/other_user}","gists_url":"https://api.github.com/users/j-e-shaw/gists{/gist_id}","starred_url":"https://api.github.com/users/j-e-shaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j-e-shaw/subscriptions","organizations_url":"https://api.github.com/users/j-e-shaw/orgs","repos_url":"https://api.github.com/users/j-e-shaw/repos","events_url":"https://api.github.com/users/j-e-shaw/events{/privacy}","received_events_url":"https://api.github.com/users/j-e-shaw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ampproject/amphtml/labels/Related%20to:%20Ads","name":"Related to: Ads","color":"d4c5f9"},{"url":"https://api.github.com/repos/ampproject/amphtml/labels/Related%20to:%20Analytics","name":"Related to: Analytics","color":"d4c5f9"},{"url":"https://api.github.com/repos/ampproject/amphtml/labels/Type:%20Enhancement","name":"Type: Enhancement","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"avimehta","id":179359,"avatar_url":"https://avatars.githubusercontent.com/u/179359?v=3","gravatar_id":"","url":"https://api.github.com/users/avimehta","html_url":"https://github.com/avimehta","followers_url":"https://api.github.com/users/avimehta/followers","following_url":"https://api.github.com/users/avimehta/following{/other_user}","gists_url":"https://api.github.com/users/avimehta/gists{/gist_id}","starred_url":"https://api.github.com/users/avimehta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avimehta/subscriptions","organizations_url":"https://api.github.com/users/avimehta/orgs","repos_url":"https://api.github.com/users/avimehta/repos","events_url":"https://api.github.com/users/avimehta/events{/privacy}","received_events_url":"https://api.github.com/users/avimehta/received_events","type":"User","site_admin":false},"assignees":[{"login":"avimehta","id":179359,"avatar_url":"https://avatars.githubusercontent.com/u/179359?v=3","gravatar_id":"","url":"https://api.github.com/users/avimehta","html_url":"https://github.com/avimehta","followers_url":"https://api.github.com/users/avimehta/followers","following_url":"https://api.github.com/users/avimehta/following{/other_user}","gists_url":"https://api.github.com/users/avimehta/gists{/gist_id}","starred_url":"https://api.github.com/users/avimehta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avimehta/subscriptions","organizations_url":"https://api.github.com/users/avimehta/orgs","repos_url":"https://api.github.com/users/avimehta/repos","events_url":"https://api.github.com/users/avimehta/events{/privacy}","received_events_url":"https://api.github.com/users/avimehta/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/ampproject/amphtml/milestones/20","html_url":"https://github.com/ampproject/amphtml/milestones/Pending%20Triage","labels_url":"https://api.github.com/repos/ampproject/amphtml/milestones/20/labels","id":1884542,"number":20,"title":"Pending Triage","description":"These issues need to get put into another milestone. They should be assigned to the person who can best decide the appropriate milestone. Optionally, the issue can then be assigned to the most likely implementer.","creator":{"login":"rudygalfi","id":3888212,"avatar_url":"https://avatars.githubusercontent.com/u/3888212?v=3","gravatar_id":"","url":"https://api.github.com/users/rudygalfi","html_url":"https://github.com/rudygalfi","followers_url":"https://api.github.com/users/rudygalfi/followers","following_url":"https://api.github.com/users/rudygalfi/following{/other_user}","gists_url":"https://api.github.com/users/rudygalfi/gists{/gist_id}","starred_url":"https://api.github.com/users/rudygalfi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudygalfi/subscriptions","organizations_url":"https://api.github.com/users/rudygalfi/orgs","repos_url":"https://api.github.com/users/rudygalfi/repos","events_url":"https://api.github.com/users/rudygalfi/events{/privacy}","received_events_url":"https://api.github.com/users/rudygalfi/received_events","type":"User","site_admin":false},"open_issues":138,"closed_issues":57,"state":"open","created_at":"2016-07-14T23:13:22Z","updated_at":"2016-10-24T17:33:45Z","due_on":null,"closed_at":null},"comments":24,"created_at":"2016-08-30T15:58:09Z","updated_at":"2016-10-24T20:58:03Z","closed_at":null,"body":"## Short description of your issue:\r\nWhen an A4A ad is returned, it's cut off from the parent doc either by using a shadow DOM or an iframe. This prevents <amp-analytics> tags from using <amp-ad> as the selector.\r\n\r\nWhen rendering, the analytics tag should be separated from the ad content and written outside of the shadow DOM/iframe.\r\n\r\n## How do we reproduce the issue?\r\nServe an A4A with an <amp-analytics> tag with:\r\n      ...\r\n      \"visibilitySpec\": {\r\n        \"selector\": \"amp-ad\",\r\n        \"selectionMethod\": \"closest\",\r\n      ...\r\n\r\n## What browsers are affected?\r\n\r\nAll browsers\r\n\r\n## Which AMP version is affected?\r\n\r\nAll\r\n"},"comment":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/comments/255864126","html_url":"https://github.com/ampproject/amphtml/issues/4770#issuecomment-255864126","issue_url":"https://api.github.com/repos/ampproject/amphtml/issues/4770","id":255864126,"user":{"login":"tdrl","id":17705064,"avatar_url":"https://avatars.githubusercontent.com/u/17705064?v=3","gravatar_id":"","url":"https://api.github.com/users/tdrl","html_url":"https://github.com/tdrl","followers_url":"https://api.github.com/users/tdrl/followers","following_url":"https://api.github.com/users/tdrl/following{/other_user}","gists_url":"https://api.github.com/users/tdrl/gists{/gist_id}","starred_url":"https://api.github.com/users/tdrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdrl/subscriptions","organizations_url":"https://api.github.com/users/tdrl/orgs","repos_url":"https://api.github.com/users/tdrl/repos","events_url":"https://api.github.com/users/tdrl/events{/privacy}","received_events_url":"https://api.github.com/users/tdrl/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T20:58:03Z","updated_at":"2016-10-24T20:58:03Z","body":"Just checking in on the status of this.  I know that the friendly iframe machinery is now in place and (?) solid.  What else needs to be done on this?"}}
{"actor":{"display_login":"tdrl"}}