{"action":"created","issue":{"url":"https://api.github.com/repos/Financial-Times/next-ads-component/issues/129","repository_url":"https://api.github.com/repos/Financial-Times/next-ads-component","labels_url":"https://api.github.com/repos/Financial-Times/next-ads-component/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/Financial-Times/next-ads-component/issues/129/comments","events_url":"https://api.github.com/repos/Financial-Times/next-ads-component/issues/129/events","html_url":"https://github.com/Financial-Times/next-ads-component/pull/129","id":140137721,"number":129,"title":"First ad loaded","user":{"login":"adgad","id":1978880,"avatar_url":"https://avatars.githubusercontent.com/u/1978880?v=3","gravatar_id":"","url":"https://api.github.com/users/adgad","html_url":"https://github.com/adgad","followers_url":"https://api.github.com/users/adgad/followers","following_url":"https://api.github.com/users/adgad/following{/other_user}","gists_url":"https://api.github.com/users/adgad/gists{/gist_id}","starred_url":"https://api.github.com/users/adgad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adgad/subscriptions","organizations_url":"https://api.github.com/users/adgad/orgs","repos_url":"https://api.github.com/users/adgad/repos","events_url":"https://api.github.com/users/adgad/events{/privacy}","received_events_url":"https://api.github.com/users/adgad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-11T09:40:16Z","updated_at":"2016-03-11T09:56:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Financial-Times/next-ads-component/pulls/129","html_url":"https://github.com/Financial-Times/next-ads-component/pull/129","diff_url":"https://github.com/Financial-Times/next-ads-component/pull/129.diff","patch_url":"https://github.com/Financial-Times/next-ads-component/pull/129.patch"},"body":"Adds a performance mark for when the first ad is \"loaded\".\r\n\r\nUses the `oAds.complete` event, so doesn't take into account ad assets loading, but a good basis I think for measuring how long our API etc takes.\r\n\r\nThis should start appearing in Speedcurve and Real User Metrics for next.\r\n\r\n/cc @VladDubrovskis @andrewgeorgiou1981 @leggsimon @phamann "},"comment":{"url":"https://api.github.com/repos/Financial-Times/next-ads-component/issues/comments/195302413","html_url":"https://github.com/Financial-Times/next-ads-component/pull/129#issuecomment-195302413","issue_url":"https://api.github.com/repos/Financial-Times/next-ads-component/issues/129","id":195302413,"user":{"login":"ironsidevsquincy","id":74132,"avatar_url":"https://avatars.githubusercontent.com/u/74132?v=3","gravatar_id":"","url":"https://api.github.com/users/ironsidevsquincy","html_url":"https://github.com/ironsidevsquincy","followers_url":"https://api.github.com/users/ironsidevsquincy/followers","following_url":"https://api.github.com/users/ironsidevsquincy/following{/other_user}","gists_url":"https://api.github.com/users/ironsidevsquincy/gists{/gist_id}","starred_url":"https://api.github.com/users/ironsidevsquincy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ironsidevsquincy/subscriptions","organizations_url":"https://api.github.com/users/ironsidevsquincy/orgs","repos_url":"https://api.github.com/users/ironsidevsquincy/repos","events_url":"https://api.github.com/users/ironsidevsquincy/events{/privacy}","received_events_url":"https://api.github.com/users/ironsidevsquincy/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T09:56:11Z","updated_at":"2016-03-11T09:56:11Z","body":"Speedcurve will see see this custom metric, but I don't know if n-instrumentation will get it, as we track all the performance marks on `load` - https://github.com/Financial-Times/n-instrumentation/blob/0d73e5bd1f385ffb2c904fa1a836a86c98a83c2a/src/analytics/navigation-timing.js#L72-L78 so depends if the ads are complete before then\r\n\r\n(We do need to think of a better way of tracking performance marks for just this reason)"}}