{"action":"created","issue":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/16845","repository_url":"https://api.github.com/repos/ampproject/amphtml","labels_url":"https://api.github.com/repos/ampproject/amphtml/issues/16845/labels{/name}","comments_url":"https://api.github.com/repos/ampproject/amphtml/issues/16845/comments","events_url":"https://api.github.com/repos/ampproject/amphtml/issues/16845/events","html_url":"https://github.com/ampproject/amphtml/issues/16845","id":342300788,"node_id":"MDU6SXNzdWUzNDIzMDA3ODg=","number":16845,"title":"Question: AMP Stories and Google Analytics pageviews","user":{"login":"ecofriendlyAlternative","id":41346612,"node_id":"MDQ6VXNlcjQxMzQ2NjEy","avatar_url":"https://avatars0.githubusercontent.com/u/41346612?v=4","gravatar_id":"","url":"https://api.github.com/users/ecofriendlyAlternative","html_url":"https://github.com/ecofriendlyAlternative","followers_url":"https://api.github.com/users/ecofriendlyAlternative/followers","following_url":"https://api.github.com/users/ecofriendlyAlternative/following{/other_user}","gists_url":"https://api.github.com/users/ecofriendlyAlternative/gists{/gist_id}","starred_url":"https://api.github.com/users/ecofriendlyAlternative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecofriendlyAlternative/subscriptions","organizations_url":"https://api.github.com/users/ecofriendlyAlternative/orgs","repos_url":"https://api.github.com/users/ecofriendlyAlternative/repos","events_url":"https://api.github.com/users/ecofriendlyAlternative/events{/privacy}","received_events_url":"https://api.github.com/users/ecofriendlyAlternative/received_events","type":"User","site_admin":false},"labels":[{"id":731143317,"node_id":"MDU6TGFiZWw3MzExNDMzMTc=","url":"https://api.github.com/repos/ampproject/amphtml/labels/Category:%20AMP%20Story","name":"Category: AMP Story","color":"1d76db","default":false},{"id":284397641,"node_id":"MDU6TGFiZWwyODQzOTc2NDE=","url":"https://api.github.com/repos/ampproject/amphtml/labels/Category:%20Analytics","name":"Category: Analytics","color":"1d76db","default":false},{"id":270707801,"node_id":"MDU6TGFiZWwyNzA3MDc4MDE=","url":"https://api.github.com/repos/ampproject/amphtml/labels/Type:%20Discussion/Question","name":"Type: Discussion/Question","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":{"login":"rudygalfi","id":3888212,"node_id":"MDQ6VXNlcjM4ODgyMTI=","avatar_url":"https://avatars3.githubusercontent.com/u/3888212?v=4","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},"assignees":[{"login":"rudygalfi","id":3888212,"node_id":"MDQ6VXNlcjM4ODgyMTI=","avatar_url":"https://avatars3.githubusercontent.com/u/3888212?v=4","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}],"milestone":{"url":"https://api.github.com/repos/ampproject/amphtml/milestones/20","html_url":"https://github.com/ampproject/amphtml/milestone/20","labels_url":"https://api.github.com/repos/ampproject/amphtml/milestones/20/labels","id":1884542,"node_id":"MDk6TWlsZXN0b25lMTg4NDU0Mg==","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,"node_id":"MDQ6VXNlcjM4ODgyMTI=","avatar_url":"https://avatars3.githubusercontent.com/u/3888212?v=4","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":144,"closed_issues":922,"state":"open","created_at":"2016-07-14T23:13:22Z","updated_at":"2018-07-18T17:24:19Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-07-18T12:09:42Z","updated_at":"2018-07-18T17:31:22Z","closed_at":null,"author_association":"NONE","body":"What is the best practice for Google Analytics on Stories?\r\n\r\nShould we fire a new pageview on \"tap\"? should we fire an event?\r\n\r\nHow could we better understand on which story page the user left on? Should we fire and event at the end of the story?\r\n\r\nThanks in advance for the feedback"},"comment":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/comments/406012227","html_url":"https://github.com/ampproject/amphtml/issues/16845#issuecomment-406012227","issue_url":"https://api.github.com/repos/ampproject/amphtml/issues/16845","id":406012227,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjAxMjIyNw==","user":{"login":"newmuis","id":1651960,"node_id":"MDQ6VXNlcjE2NTE5NjA=","avatar_url":"https://avatars3.githubusercontent.com/u/1651960?v=4","gravatar_id":"","url":"https://api.github.com/users/newmuis","html_url":"https://github.com/newmuis","followers_url":"https://api.github.com/users/newmuis/followers","following_url":"https://api.github.com/users/newmuis/following{/other_user}","gists_url":"https://api.github.com/users/newmuis/gists{/gist_id}","starred_url":"https://api.github.com/users/newmuis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newmuis/subscriptions","organizations_url":"https://api.github.com/users/newmuis/orgs","repos_url":"https://api.github.com/users/newmuis/repos","events_url":"https://api.github.com/users/newmuis/events{/privacy}","received_events_url":"https://api.github.com/users/newmuis/received_events","type":"User","site_admin":false},"created_at":"2018-07-18T17:31:22Z","updated_at":"2018-07-18T17:31:22Z","author_association":"COLLABORATOR","body":"@ecofriendlyAlternative See [amp-story-analytics.md](https://github.com/ampproject/amphtml/blob/master/extensions/amp-story/amp-story-analytics.md) for how to use analytics within amp-story.\r\n\r\nEvents are already fired every time a new story page becomes visible (`story-page-visible` trigger) and at the end of the story (`story-bookend-enter` trigger) trigger, so you can combine these with the other signals you normally collect to tell where the user left off in the story.\r\n\r\nAs a side note, it looks as if the `story-bookend-enter` and `story-bookend-exit` triggers are missing from the documentation, so I will add those to the documentation now."}}
{"actor":{"display_login":"newmuis"}}