{"action":"created","issue":{"url":"https://api.github.com/repos/tomasbasham/ember-cli-analytics/issues/1","repository_url":"https://api.github.com/repos/tomasbasham/ember-cli-analytics","labels_url":"https://api.github.com/repos/tomasbasham/ember-cli-analytics/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/tomasbasham/ember-cli-analytics/issues/1/comments","events_url":"https://api.github.com/repos/tomasbasham/ember-cli-analytics/issues/1/events","html_url":"https://github.com/tomasbasham/ember-cli-analytics/pull/1","id":180067964,"number":1,"title":"GA Integration: Support Event Dimensions and Metrics","user":{"login":"rjhilgefort","id":2034823,"avatar_url":"https://avatars.githubusercontent.com/u/2034823?v=3","gravatar_id":"","url":"https://api.github.com/users/rjhilgefort","html_url":"https://github.com/rjhilgefort","followers_url":"https://api.github.com/users/rjhilgefort/followers","following_url":"https://api.github.com/users/rjhilgefort/following{/other_user}","gists_url":"https://api.github.com/users/rjhilgefort/gists{/gist_id}","starred_url":"https://api.github.com/users/rjhilgefort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjhilgefort/subscriptions","organizations_url":"https://api.github.com/users/rjhilgefort/orgs","repos_url":"https://api.github.com/users/rjhilgefort/repos","events_url":"https://api.github.com/users/rjhilgefort/events{/privacy}","received_events_url":"https://api.github.com/users/rjhilgefort/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-09-29T14:39:19Z","updated_at":"2016-10-17T13:51:35Z","closed_at":"2016-10-09T10:37:52Z","pull_request":{"url":"https://api.github.com/repos/tomasbasham/ember-cli-analytics/pulls/1","html_url":"https://github.com/tomasbasham/ember-cli-analytics/pull/1","diff_url":"https://github.com/tomasbasham/ember-cli-analytics/pull/1.diff","patch_url":"https://github.com/tomasbasham/ember-cli-analytics/pull/1.patch"},"body":"Google Analytics supports tracking custom dimensions and metrics through page views as well as events. The integration currently allows this through `trackPage` because there's not minipulation of the keys passed in. `trackEvent` modifies keys by prepending `event` (per spec)- it does not, however, look for the presence of the special `dimension` and `metric` keys. This PR adds support by not modifying those keys when found.\r\n\r\nHere's a link to the GA spec on how they should be passed: https://developers.google.com/analytics/devguides/collection/analyticsjs/custom-dims-mets"},"comment":{"url":"https://api.github.com/repos/tomasbasham/ember-cli-analytics/issues/comments/254213194","html_url":"https://github.com/tomasbasham/ember-cli-analytics/pull/1#issuecomment-254213194","issue_url":"https://api.github.com/repos/tomasbasham/ember-cli-analytics/issues/1","id":254213194,"user":{"login":"tomasbasham","id":3389856,"avatar_url":"https://avatars.githubusercontent.com/u/3389856?v=3","gravatar_id":"","url":"https://api.github.com/users/tomasbasham","html_url":"https://github.com/tomasbasham","followers_url":"https://api.github.com/users/tomasbasham/followers","following_url":"https://api.github.com/users/tomasbasham/following{/other_user}","gists_url":"https://api.github.com/users/tomasbasham/gists{/gist_id}","starred_url":"https://api.github.com/users/tomasbasham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomasbasham/subscriptions","organizations_url":"https://api.github.com/users/tomasbasham/orgs","repos_url":"https://api.github.com/users/tomasbasham/repos","events_url":"https://api.github.com/users/tomasbasham/events{/privacy}","received_events_url":"https://api.github.com/users/tomasbasham/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T13:51:35Z","updated_at":"2016-10-17T13:51:35Z","body":"I have merged it"}}
{"actor":{"display_login":"tomasbasham"}}