{"action":"created","issue":{"url":"https://api.github.com/repos/chrisblakley/Nebula/issues/1500","repository_url":"https://api.github.com/repos/chrisblakley/Nebula","labels_url":"https://api.github.com/repos/chrisblakley/Nebula/issues/1500/labels{/name}","comments_url":"https://api.github.com/repos/chrisblakley/Nebula/issues/1500/comments","events_url":"https://api.github.com/repos/chrisblakley/Nebula/issues/1500/events","html_url":"https://github.com/chrisblakley/Nebula/issues/1500","id":259554674,"number":1500,"title":"Look into using gtag() for Analytics tracking","user":{"login":"chrisblakley","id":6349678,"avatar_url":"https://avatars3.githubusercontent.com/u/6349678?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisblakley","html_url":"https://github.com/chrisblakley","followers_url":"https://api.github.com/users/chrisblakley/followers","following_url":"https://api.github.com/users/chrisblakley/following{/other_user}","gists_url":"https://api.github.com/users/chrisblakley/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisblakley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisblakley/subscriptions","organizations_url":"https://api.github.com/users/chrisblakley/orgs","repos_url":"https://api.github.com/users/chrisblakley/repos","events_url":"https://api.github.com/users/chrisblakley/events{/privacy}","received_events_url":"https://api.github.com/users/chrisblakley/received_events","type":"User","site_admin":false},"labels":[{"id":114828005,"url":"https://api.github.com/repos/chrisblakley/Nebula/labels/Frontend%20(Script)","name":"Frontend (Script)","color":"e5bb31","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/chrisblakley/Nebula/milestones/6","html_url":"https://github.com/chrisblakley/Nebula/milestone/6","labels_url":"https://api.github.com/repos/chrisblakley/Nebula/milestones/6/labels","id":2464733,"number":6,"title":"6.0 Ant","description":"Mz 3 is nicknamed the \"Ant Nebula\".","creator":{"login":"chrisblakley","id":6349678,"avatar_url":"https://avatars3.githubusercontent.com/u/6349678?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisblakley","html_url":"https://github.com/chrisblakley","followers_url":"https://api.github.com/users/chrisblakley/followers","following_url":"https://api.github.com/users/chrisblakley/following{/other_user}","gists_url":"https://api.github.com/users/chrisblakley/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisblakley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisblakley/subscriptions","organizations_url":"https://api.github.com/users/chrisblakley/orgs","repos_url":"https://api.github.com/users/chrisblakley/repos","events_url":"https://api.github.com/users/chrisblakley/events{/privacy}","received_events_url":"https://api.github.com/users/chrisblakley/received_events","type":"User","site_admin":false},"open_issues":78,"closed_issues":292,"state":"open","created_at":"2017-04-18T18:12:16Z","updated_at":"2018-02-09T04:02:18Z","due_on":"2018-05-01T07:00:00Z","closed_at":null},"comments":13,"created_at":"2017-09-21T16:21:11Z","updated_at":"2018-02-09T17:20:32Z","closed_at":null,"author_association":"OWNER","body":"https://developers.google.com/analytics/devguides/collection/gtagjs/\r\n\r\nThis tag looks like it would work with Google Tag Manager, Google Analytics, and AdWords (instead of needing 2 or 4 separate script tags).\r\n\r\nNeed to figure out how it works with tasks and beacon and stuff, but could be cool.\r\nhttps://developers.google.com/analytics/devguides/collection/analyticsjs/tasks"},"comment":{"url":"https://api.github.com/repos/chrisblakley/Nebula/issues/comments/364499164","html_url":"https://github.com/chrisblakley/Nebula/issues/1500#issuecomment-364499164","issue_url":"https://api.github.com/repos/chrisblakley/Nebula/issues/1500","id":364499164,"user":{"login":"chrisblakley","id":6349678,"avatar_url":"https://avatars3.githubusercontent.com/u/6349678?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisblakley","html_url":"https://github.com/chrisblakley","followers_url":"https://api.github.com/users/chrisblakley/followers","following_url":"https://api.github.com/users/chrisblakley/following{/other_user}","gists_url":"https://api.github.com/users/chrisblakley/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisblakley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisblakley/subscriptions","organizations_url":"https://api.github.com/users/chrisblakley/orgs","repos_url":"https://api.github.com/users/chrisblakley/repos","events_url":"https://api.github.com/users/chrisblakley/events{/privacy}","received_events_url":"https://api.github.com/users/chrisblakley/received_events","type":"User","site_admin":false},"created_at":"2018-02-09T17:20:32Z","updated_at":"2018-02-09T17:20:32Z","author_association":"OWNER","body":"Here is a better anatomy of the event. The thing I was hung up on before was that the `action` was outside of the object.\r\n\r\n```js\r\ngtag('event', <action>, {\r\n  'event_category': <category>,\r\n  'event_label': <label>,\r\n  'value': <value>\r\n});\r\n```\r\n\r\n- `<action>` is the string that will appear as the event action in Google Analytics Event reports.\r\n- `<category>` is the string that will appear as the event category.\r\n- `<label>` is the string that will appear as the event label.\r\n- `<value>` is a non-negative integer that will appear as the event value."}}
{"actor":{"display_login":"chrisblakley"}}