{"action":"created","issue":{"url":"https://api.github.com/repos/peaksandpies/universal-analytics/issues/23","labels_url":"https://api.github.com/repos/peaksandpies/universal-analytics/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/peaksandpies/universal-analytics/issues/23/comments","events_url":"https://api.github.com/repos/peaksandpies/universal-analytics/issues/23/events","html_url":"https://github.com/peaksandpies/universal-analytics/issues/23","id":51788390,"number":23,"title":"Sending Custom Metrics","user":{"login":"SandroMartis","id":2760134,"avatar_url":"https://avatars.githubusercontent.com/u/2760134?v=3","gravatar_id":"","url":"https://api.github.com/users/SandroMartis","html_url":"https://github.com/SandroMartis","followers_url":"https://api.github.com/users/SandroMartis/followers","following_url":"https://api.github.com/users/SandroMartis/following{/other_user}","gists_url":"https://api.github.com/users/SandroMartis/gists{/gist_id}","starred_url":"https://api.github.com/users/SandroMartis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SandroMartis/subscriptions","organizations_url":"https://api.github.com/users/SandroMartis/orgs","repos_url":"https://api.github.com/users/SandroMartis/repos","events_url":"https://api.github.com/users/SandroMartis/events{/privacy}","received_events_url":"https://api.github.com/users/SandroMartis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-12T09:57:37Z","updated_at":"2015-01-22T09:13:43Z","closed_at":"2014-12-17T08:34:42Z","body":"Hey\r\n\r\nI'm trying to send custom metrics to Google Analytics. I set up the metrics on Google Analytics, but the data doesn't show up. I'm trying to send the custom metric data together with an event like this:\r\n\r\n```\r\nvar totalUsers = 410;\r\nvisitor.event({\r\n    ec: 'Users',\r\n    ea: 'User Signed Up',\r\n    cm1: totalUsers\r\n}, function (err) {\r\n// …\r\n});\r\n```\r\ncm1 would be my metric with index 1. Is this the correct syntax? Do I need to consider anything else?\r\n\r\nThanks for your help.\r\n\r\nBest,\r\nSandro"},"comment":{"url":"https://api.github.com/repos/peaksandpies/universal-analytics/issues/comments/70991303","html_url":"https://github.com/peaksandpies/universal-analytics/issues/23#issuecomment-70991303","issue_url":"https://api.github.com/repos/peaksandpies/universal-analytics/issues/23","id":70991303,"user":{"login":"istian","id":200690,"avatar_url":"https://avatars.githubusercontent.com/u/200690?v=3","gravatar_id":"","url":"https://api.github.com/users/istian","html_url":"https://github.com/istian","followers_url":"https://api.github.com/users/istian/followers","following_url":"https://api.github.com/users/istian/following{/other_user}","gists_url":"https://api.github.com/users/istian/gists{/gist_id}","starred_url":"https://api.github.com/users/istian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/istian/subscriptions","organizations_url":"https://api.github.com/users/istian/orgs","repos_url":"https://api.github.com/users/istian/repos","events_url":"https://api.github.com/users/istian/events{/privacy}","received_events_url":"https://api.github.com/users/istian/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T09:13:43Z","updated_at":"2015-01-22T09:13:43Z","body":"@SandroMartis ,\r\n\r\nDid you get this working? I'm also curious how to do GA metris using this module.\r\n\r\nThanks"}}