{"action":"created","issue":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/4018","repository_url":"https://api.github.com/repos/ampproject/amphtml","labels_url":"https://api.github.com/repos/ampproject/amphtml/issues/4018/labels{/name}","comments_url":"https://api.github.com/repos/ampproject/amphtml/issues/4018/comments","events_url":"https://api.github.com/repos/ampproject/amphtml/issues/4018/events","html_url":"https://github.com/ampproject/amphtml/issues/4018","id":164954116,"number":4018,"title":"Apply AMP analytics ad tracking events to an ad without requiring a selector","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"},{"url":"https://api.github.com/repos/ampproject/amphtml/labels/Type:%20Request","name":"Type: Request","color":"207de5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ampproject/amphtml/milestones/4","html_url":"https://github.com/ampproject/amphtml/milestones/Backlog","labels_url":"https://api.github.com/repos/ampproject/amphtml/milestones/4/labels","id":1537240,"number":4,"title":"Backlog","description":"This milestone tracks issues that aren't currently prioritized for implementation.","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":269,"closed_issues":73,"state":"open","created_at":"2016-01-22T23:51:53Z","updated_at":"2016-07-14T18:20:38Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2016-07-11T22:28:08Z","updated_at":"2016-07-14T22:05:56Z","closed_at":null,"body":"Currently, AMP analytics tags for ads require a selector (e.g. \"selector\": \"#anim-id\"). However, the amp-ad's id isn't necessarily known when the analytics tags are generated. Instead of requiring a selector, when the analytics events are added to the page as the result of an ad request, they should apply to the ad with which they are served.\r\n\r\nAlong with that, when shadow-DOM isn't supported, the analytics tags need to be hoisted from the ad response and placed in the main AMP page, not the iframe. Then, the AMP runtime can correctly track the viewability of the ad and fire the events."},"comment":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/comments/232806577","html_url":"https://github.com/ampproject/amphtml/issues/4018#issuecomment-232806577","issue_url":"https://api.github.com/repos/ampproject/amphtml/issues/4018","id":232806577,"user":{"login":"cramforce","id":89679,"avatar_url":"https://avatars.githubusercontent.com/u/89679?v=3","gravatar_id":"","url":"https://api.github.com/users/cramforce","html_url":"https://github.com/cramforce","followers_url":"https://api.github.com/users/cramforce/followers","following_url":"https://api.github.com/users/cramforce/following{/other_user}","gists_url":"https://api.github.com/users/cramforce/gists{/gist_id}","starred_url":"https://api.github.com/users/cramforce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cramforce/subscriptions","organizations_url":"https://api.github.com/users/cramforce/orgs","repos_url":"https://api.github.com/users/cramforce/repos","events_url":"https://api.github.com/users/cramforce/events{/privacy}","received_events_url":"https://api.github.com/users/cramforce/received_events","type":"User","site_admin":false},"created_at":"2016-07-14T22:05:56Z","updated_at":"2016-07-14T22:05:56Z","body":"`#parent`. I don't think siblings are needed. We certainly don't support `amp-ad` nesting."}}
{"actor":{"display_login":"cramforce"}}