{"action":"created","comment":{"url":"https://api.github.com/repos/ampproject/docs/pulls/comments/53717580","id":53717580,"diff_hunk":"@@ -0,0 +1,229 @@\n+---\n+layout: page\n+title: Analytics&#58; the Basics\n+order: 0\n+---\n+\n+Start here to learn the basics about AMP analytics.\n+\n+{% include toc.html %}\n+\n+## Use amp-pixel or amp-analytics?\n+\n+AMP provides two components to meet your analytics and measurement needs:\n+[amp-pixel](/docs/reference/amp-pixel.html) and\n+[amp-analytics](/docs/reference/extended/amp-analytics.html).\n+Both options send analytics data to a defined endpoint.\n+\n+If you are looking for behavior like a simple\n+[tracking pixel](https://en.wikipedia.org/wiki/Web_beacon#Implementation),\n+the `amp-pixel` component provides basic page view tracking;\n+page view data gets sent to a defined URL.\n+Some integrations with a vendor may call for this component,\n+in which case they will specify the exact URL endpoint. \n+\n+For most analytics solutions, use `amp-analytics`.\n+Page view tracking works in `amp-analytics` too.\n+But you can also track user engagement with any type of page content,\n+including clicks on links, buttons, videos.\n+And you can measure how far on the page the user scrolled,\n+whether or not the user engaged with social media, and more.\n+[Deep Dive into Amp Analytics](/docs/guides/analytics/deep_dive_analytics.html).\n+\n+As part of integrating with the AMP platform,\n+many analytics providers have simplified `amp-analytics` configurations\n+so that's it's easy to capture data and push to their tracking tools.\n+Access vendor documentation from the\n+[amp-analytics specification](/docs/reference/extended/amp-analytics.html).\n+\n+**Note:** You can use both `amp-pixel` and `amp-analytics` in your pages:\n+`amp-pixel` for simple page view tracking,\n+and `amp-analytics` for everything else.\n+Keep in mind that simpler AMP pages are better for users,\n+so if you don’t need the extra tags, don’t use them.\n+\n+## Create a simple analytics configuration\n+\n+Learn how to create a simple\n+[amp-pixel](/docs/reference/amp-pixel.html) and\n+[amp-analytics](/docs/reference/extended/amp-analytics.html) configuration.\n+\n+### Simple amp-pixel configuration\n+\n+To create a simple `amp-pixel` configuration,\n+insert something like the following into the body of your AMP page:\n+\n+{% highlight html linenos %}\n+<amp-pixel src=\"https://foo.com/pixel?RANDOM\"></amp-pixel>\n+{% endhighlight %}\n+\n+In this example,\n+the page view data gets sent to the defined URL, along with a random number.\n+The `RANDOM` variable is one of many\n+[supported variables in the AMP platform](https://github.com/ampproject/amphtml/blob/master/spec/amp-var-substitutions.md).\n+Learn more about\n+[Variable substitution](/docs/guides/analytics/analytics_basics.html#variable-substitution) here.\n+\n+The [amp-pixel](/docs/reference/amp-pixel.html)\n+component is built-in,\n+so you won’t need an inclusion declaration.\n+But you should place the `amp-pixel` tag as close as possible\n+to the start of your body.\n+The tracking pixel will only fire when the tag comes into view itself.\n+If `amp-pixel` is positioned near the bottom of the page,\n+it may not fire.\n+\n+### Simple amp-analytics configuration\n+\n+To create a simple\n+[amp-analytics](/docs/reference/extended/amp-analytics.html) configuration,\n+you must first include this `custom-element` declaration\n+in the head of the AMP document:\n+\n+{% highlight html linenos %}\n+<script async custom-element=\"amp-analytics\" src=\"https://cdn.ampproject.org/v0/amp-analytics-0.1.js\"></script>\n+{% endhighlight %}\n+\n+Similar to the [amp-pixel example](/docs/guides/analytics/analytics_basics.html#simple-amp-pixel-configuration),\n+the following `amp-analytics` sample tracks page views and\n+sends the data to a defined URL along with a random ID: \n+\n+{% highlight html linenos %}\n+<amp-analytics>\n+<script type=\"application/json\">\n+{\n+  \"requests\": {\n+    \"pageview\": \"https://foo.com/pixel?RANDOM\",\n+  },\n+  \"triggers\": {\n+    \"pixel emulation\": {\n+      \"on\": \"visible\",\n+      \"request\": \"pageview\"\n+    }\n+  }\n+}\n+</script>\n+</amp-analytics>\n+{% endhighlight %}\n+\n+The `requests` attribute defines what data gets sent to where.\n+In this example, the data is the `pageview`, and it’s sent\n+to the specified URL, `https://foo.com/pixel?`, along with a random ID.\n+\n+The `triggers` attribute defines when the data gets sent.\n+When the page is `visible`,\n+an event triggers and the `pageview` request is sent.\n+Learn more about [requests and triggers](/docs/guides/analytics/deep_dive_analytics.html#requests-triggers--transports).\n+\n+## Variable substitution\n+\n+Both the [amp-pixel](/docs/reference/amp-pixel.html) and\n+[amp-analytics](/docs/reference/extended/amp-analytics.html) components\n+allow all standard URL variable substitutions (see also\n+[AMP HTML Variable Substitutions](https://github.com/ampproject/amphtml/blob/master/spec/amp-var-substitutions.md)).\n+In the following example,\n+the page view request is sent to the URL,\n+along with the current AMP document’s canonical URL, it’s title, and a\n+[client ID](/docs/guides/analytics/analytics_basics.html#user-identification):\n+\n+{% highlight html linenos %}\n+<amp-pixel src=\"https://example.com/analytics?url=${canonicalUrl}&title=${title}&clientId=${clientId(cid-scope)}\"></amp-pixel>\n+{% endhighlight %}\n+\n+Due to it’s simplicity,\n+the `amp-pixel` tag can only include variables defined by the platform\n+or that the AMP runtime can parse from the AMP page.\n+The `amp-analytics` tag can include the same variables as `amp-pixel`,\n+as well as uniquely defined variables inside the tag configuration. \n+\n+Use the format `${varName}` in a request string for a page\n+or platform-defined variable.\n+The `amp-analytics` tag will replace the template with its actual value\n+at the time of construction of the analytics request (see also\n+[Variables supported in amp-analytics](https://github.com/ampproject/amphtml/blob/master/extensions/amp-analytics/analytics-vars.md)).\n+\n+In the following example, the page view request is sent to the URL,\n+with additional data extracted from variable substitutions,\n+some provided by the platform,\n+some within the `amp-analytics` configuration itself:\n+\n+{% highlight html linenos %}\n+<amp-analytics>\n+<script type=\"application/json\">\n+{\n+  \"requests\": {\n+    \"pageview\":\"https://example.com/analytics?url=${canonicalUrl}&title=${title}&acct=${account}&clientId=${clientId(cid-scope)}\",\n+  },\n+  \"vars\": {\n+    \"account\": \"ABC123\",\n+  },\n+  \"triggers\": {\n+    \"some-event\": {\n+      \"on\": \"visible\",\n+      \"request\": \"pageview\",\n+      \"vars\": {\n+        \"title\": \"My homepage\",\n+        \"clientId\": \"user12345\"\n+      }\n+    }\n+  }  \n+}\n+</script>\n+</amp-analytics>\n+{% endhighlight %}\n+\n+In the above example,\n+the variables, `account`, `title`, and `clientID` are defined\n+in the `amp-analytics` configuration.\n+The `canonicalUrl` variable isn’t defined in the configuration,\n+so it's value gets substituted by the platform.\n+\n+**Important:** Variable substitution is flexible;\n+you can have the same variables defined in different locations,\n+and the AMP runtime will parse the values in this order of precedence\n+(see [Variable substitution ordering](/docs/guides/analytics/deep_dive_analytics.html#variable-substitution-ordering)).\n+\n+## User identification\n+\n+Websites use cookies to track a user’s browsing history;\n+cookies tell the browser that a user visited a web page.\n+In AMP,\n+pages can be served from either a publisher's website or the AMP Cache.\n+The publisher’s website and the AMP Cache have different domains.\n+For security reasons,\n+browsers can (and often will) limit access to another domain’s cookies\n+(see also\n+[Tracking users across origins](https://github.com/ampproject/amphtml/blob/master/extensions/amp-analytics/cross-origin-tracking.md)).\n+\n+By default,\n+AMP automatically creates a client ID to identify","path":"_guides/analytics/analytics_basics.md","position":199,"original_position":199,"commit_id":"4779b96ecc9cb9207b1ab96e7f09a6d76b0fb22e","original_commit_id":"4779b96ecc9cb9207b1ab96e7f09a6d76b0fb22e","user":{"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},"body":"Edit starting from \"By default\"\r\n\r\n\"AMP will manage the provision of a client ID whether the page is accessed from the publisher's original website or through a cache\".","created_at":"2016-02-23T00:20:36Z","updated_at":"2016-02-23T00:20:36Z","html_url":"https://github.com/ampproject/docs/pull/46#discussion_r53717580","pull_request_url":"https://api.github.com/repos/ampproject/docs/pulls/46","_links":{"self":{"href":"https://api.github.com/repos/ampproject/docs/pulls/comments/53717580"},"html":{"href":"https://github.com/ampproject/docs/pull/46#discussion_r53717580"},"pull_request":{"href":"https://api.github.com/repos/ampproject/docs/pulls/46"}}},"pull_request":{"url":"https://api.github.com/repos/ampproject/docs/pulls/46","id":60232401,"html_url":"https://github.com/ampproject/docs/pull/46","diff_url":"https://github.com/ampproject/docs/pull/46.diff","patch_url":"https://github.com/ampproject/docs/pull/46.patch","issue_url":"https://api.github.com/repos/ampproject/docs/issues/46","number":46,"state":"open","locked":false,"title":"New suite of analytics guides","user":{"login":"Meggin","id":1561825,"avatar_url":"https://avatars.githubusercontent.com/u/1561825?v=3","gravatar_id":"","url":"https://api.github.com/users/Meggin","html_url":"https://github.com/Meggin","followers_url":"https://api.github.com/users/Meggin/followers","following_url":"https://api.github.com/users/Meggin/following{/other_user}","gists_url":"https://api.github.com/users/Meggin/gists{/gist_id}","starred_url":"https://api.github.com/users/Meggin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Meggin/subscriptions","organizations_url":"https://api.github.com/users/Meggin/orgs","repos_url":"https://api.github.com/users/Meggin/repos","events_url":"https://api.github.com/users/Meggin/events{/privacy}","received_events_url":"https://api.github.com/users/Meggin/received_events","type":"User","site_admin":false},"body":"This isn't the easiest PR to review; it's a detailed set of analytics docs.\r\n\r\nRudy reviewed the content quickly in a doc, and I've iterated a good few times.\r\n\r\nIt would be great to get this in, but I understand things are crazy.","created_at":"2016-02-22T20:08:19Z","updated_at":"2016-02-23T00:20:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"56494530c5243eca8a09f8faefdfcf9ee52b2594","assignee":{"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},"milestone":null,"commits_url":"https://api.github.com/repos/ampproject/docs/pulls/46/commits","review_comments_url":"https://api.github.com/repos/ampproject/docs/pulls/46/comments","review_comment_url":"https://api.github.com/repos/ampproject/docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ampproject/docs/issues/46/comments","statuses_url":"https://api.github.com/repos/ampproject/docs/statuses/4779b96ecc9cb9207b1ab96e7f09a6d76b0fb22e","head":{"label":"ampproject:analytics","ref":"analytics","sha":"4779b96ecc9cb9207b1ab96e7f09a6d76b0fb22e","user":{"login":"ampproject","id":14114390,"avatar_url":"https://avatars.githubusercontent.com/u/14114390?v=3","gravatar_id":"","url":"https://api.github.com/users/ampproject","html_url":"https://github.com/ampproject","followers_url":"https://api.github.com/users/ampproject/followers","following_url":"https://api.github.com/users/ampproject/following{/other_user}","gists_url":"https://api.github.com/users/ampproject/gists{/gist_id}","starred_url":"https://api.github.com/users/ampproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ampproject/subscriptions","organizations_url":"https://api.github.com/users/ampproject/orgs","repos_url":"https://api.github.com/users/ampproject/repos","events_url":"https://api.github.com/users/ampproject/events{/privacy}","received_events_url":"https://api.github.com/users/ampproject/received_events","type":"Organization","site_admin":false},"repo":{"id":46524576,"name":"docs","full_name":"ampproject/docs","owner":{"login":"ampproject","id":14114390,"avatar_url":"https://avatars.githubusercontent.com/u/14114390?v=3","gravatar_id":"","url":"https://api.github.com/users/ampproject","html_url":"https://github.com/ampproject","followers_url":"https://api.github.com/users/ampproject/followers","following_url":"https://api.github.com/users/ampproject/following{/other_user}","gists_url":"https://api.github.com/users/ampproject/gists{/gist_id}","starred_url":"https://api.github.com/users/ampproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ampproject/subscriptions","organizations_url":"https://api.github.com/users/ampproject/orgs","repos_url":"https://api.github.com/users/ampproject/repos","events_url":"https://api.github.com/users/ampproject/events{/privacy}","received_events_url":"https://api.github.com/users/ampproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ampproject/docs","description":"","fork":false,"url":"https://api.github.com/repos/ampproject/docs","forks_url":"https://api.github.com/repos/ampproject/docs/forks","keys_url":"https://api.github.com/repos/ampproject/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ampproject/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ampproject/docs/teams","hooks_url":"https://api.github.com/repos/ampproject/docs/hooks","issue_events_url":"https://api.github.com/repos/ampproject/docs/issues/events{/number}","events_url":"https://api.github.com/repos/ampproject/docs/events","assignees_url":"https://api.github.com/repos/ampproject/docs/assignees{/user}","branches_url":"https://api.github.com/repos/ampproject/docs/branches{/branch}","tags_url":"https://api.github.com/repos/ampproject/docs/tags","blobs_url":"https://api.github.com/repos/ampproject/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ampproject/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ampproject/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ampproject/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ampproject/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/ampproject/docs/languages","stargazers_url":"https://api.github.com/repos/ampproject/docs/stargazers","contributors_url":"https://api.github.com/repos/ampproject/docs/contributors","subscribers_url":"https://api.github.com/repos/ampproject/docs/subscribers","subscription_url":"https://api.github.com/repos/ampproject/docs/subscription","commits_url":"https://api.github.com/repos/ampproject/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ampproject/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ampproject/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ampproject/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ampproject/docs/contents/{+path}","compare_url":"https://api.github.com/repos/ampproject/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ampproject/docs/merges","archive_url":"https://api.github.com/repos/ampproject/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ampproject/docs/downloads","issues_url":"https://api.github.com/repos/ampproject/docs/issues{/number}","pulls_url":"https://api.github.com/repos/ampproject/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/ampproject/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/ampproject/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ampproject/docs/labels{/name}","releases_url":"https://api.github.com/repos/ampproject/docs/releases{/id}","deployments_url":"https://api.github.com/repos/ampproject/docs/deployments","created_at":"2015-11-19T22:34:25Z","updated_at":"2016-02-22T14:19:56Z","pushed_at":"2016-02-23T00:05:23Z","git_url":"git://github.com/ampproject/docs.git","ssh_url":"git@github.com:ampproject/docs.git","clone_url":"https://github.com/ampproject/docs.git","svn_url":"https://github.com/ampproject/docs","homepage":null,"size":415,"stargazers_count":38,"watchers_count":38,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":28,"forks":24,"open_issues":28,"watchers":38,"default_branch":"master"}},"base":{"label":"ampproject:master","ref":"master","sha":"a2006615b48b4d71e3a83acbc2b4ed13f6a5e1ac","user":{"login":"ampproject","id":14114390,"avatar_url":"https://avatars.githubusercontent.com/u/14114390?v=3","gravatar_id":"","url":"https://api.github.com/users/ampproject","html_url":"https://github.com/ampproject","followers_url":"https://api.github.com/users/ampproject/followers","following_url":"https://api.github.com/users/ampproject/following{/other_user}","gists_url":"https://api.github.com/users/ampproject/gists{/gist_id}","starred_url":"https://api.github.com/users/ampproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ampproject/subscriptions","organizations_url":"https://api.github.com/users/ampproject/orgs","repos_url":"https://api.github.com/users/ampproject/repos","events_url":"https://api.github.com/users/ampproject/events{/privacy}","received_events_url":"https://api.github.com/users/ampproject/received_events","type":"Organization","site_admin":false},"repo":{"id":46524576,"name":"docs","full_name":"ampproject/docs","owner":{"login":"ampproject","id":14114390,"avatar_url":"https://avatars.githubusercontent.com/u/14114390?v=3","gravatar_id":"","url":"https://api.github.com/users/ampproject","html_url":"https://github.com/ampproject","followers_url":"https://api.github.com/users/ampproject/followers","following_url":"https://api.github.com/users/ampproject/following{/other_user}","gists_url":"https://api.github.com/users/ampproject/gists{/gist_id}","starred_url":"https://api.github.com/users/ampproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ampproject/subscriptions","organizations_url":"https://api.github.com/users/ampproject/orgs","repos_url":"https://api.github.com/users/ampproject/repos","events_url":"https://api.github.com/users/ampproject/events{/privacy}","received_events_url":"https://api.github.com/users/ampproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ampproject/docs","description":"","fork":false,"url":"https://api.github.com/repos/ampproject/docs","forks_url":"https://api.github.com/repos/ampproject/docs/forks","keys_url":"https://api.github.com/repos/ampproject/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ampproject/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ampproject/docs/teams","hooks_url":"https://api.github.com/repos/ampproject/docs/hooks","issue_events_url":"https://api.github.com/repos/ampproject/docs/issues/events{/number}","events_url":"https://api.github.com/repos/ampproject/docs/events","assignees_url":"https://api.github.com/repos/ampproject/docs/assignees{/user}","branches_url":"https://api.github.com/repos/ampproject/docs/branches{/branch}","tags_url":"https://api.github.com/repos/ampproject/docs/tags","blobs_url":"https://api.github.com/repos/ampproject/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ampproject/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ampproject/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ampproject/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ampproject/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/ampproject/docs/languages","stargazers_url":"https://api.github.com/repos/ampproject/docs/stargazers","contributors_url":"https://api.github.com/repos/ampproject/docs/contributors","subscribers_url":"https://api.github.com/repos/ampproject/docs/subscribers","subscription_url":"https://api.github.com/repos/ampproject/docs/subscription","commits_url":"https://api.github.com/repos/ampproject/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ampproject/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ampproject/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ampproject/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ampproject/docs/contents/{+path}","compare_url":"https://api.github.com/repos/ampproject/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ampproject/docs/merges","archive_url":"https://api.github.com/repos/ampproject/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ampproject/docs/downloads","issues_url":"https://api.github.com/repos/ampproject/docs/issues{/number}","pulls_url":"https://api.github.com/repos/ampproject/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/ampproject/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/ampproject/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ampproject/docs/labels{/name}","releases_url":"https://api.github.com/repos/ampproject/docs/releases{/id}","deployments_url":"https://api.github.com/repos/ampproject/docs/deployments","created_at":"2015-11-19T22:34:25Z","updated_at":"2016-02-22T14:19:56Z","pushed_at":"2016-02-23T00:05:23Z","git_url":"git://github.com/ampproject/docs.git","ssh_url":"git@github.com:ampproject/docs.git","clone_url":"https://github.com/ampproject/docs.git","svn_url":"https://github.com/ampproject/docs","homepage":null,"size":415,"stargazers_count":38,"watchers_count":38,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":28,"forks":24,"open_issues":28,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ampproject/docs/pulls/46"},"html":{"href":"https://github.com/ampproject/docs/pull/46"},"issue":{"href":"https://api.github.com/repos/ampproject/docs/issues/46"},"comments":{"href":"https://api.github.com/repos/ampproject/docs/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/ampproject/docs/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/ampproject/docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ampproject/docs/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/ampproject/docs/statuses/4779b96ecc9cb9207b1ab96e7f09a6d76b0fb22e"}}}}