{"action":"created","issue":{"url":"https://api.github.com/repos/danwilson/google-analytics-plugin/issues/293","repository_url":"https://api.github.com/repos/danwilson/google-analytics-plugin","labels_url":"https://api.github.com/repos/danwilson/google-analytics-plugin/issues/293/labels{/name}","comments_url":"https://api.github.com/repos/danwilson/google-analytics-plugin/issues/293/comments","events_url":"https://api.github.com/repos/danwilson/google-analytics-plugin/issues/293/events","html_url":"https://github.com/danwilson/google-analytics-plugin/issues/293","id":175777278,"number":293,"title":"TypeError: undefined is not an object(evaluating 'window.ga.trackEvent')","user":{"login":"G3n3ralTao","id":6233465,"avatar_url":"https://avatars.githubusercontent.com/u/6233465?v=3","gravatar_id":"","url":"https://api.github.com/users/G3n3ralTao","html_url":"https://github.com/G3n3ralTao","followers_url":"https://api.github.com/users/G3n3ralTao/followers","following_url":"https://api.github.com/users/G3n3ralTao/following{/other_user}","gists_url":"https://api.github.com/users/G3n3ralTao/gists{/gist_id}","starred_url":"https://api.github.com/users/G3n3ralTao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/G3n3ralTao/subscriptions","organizations_url":"https://api.github.com/users/G3n3ralTao/orgs","repos_url":"https://api.github.com/users/G3n3ralTao/repos","events_url":"https://api.github.com/users/G3n3ralTao/events{/privacy}","received_events_url":"https://api.github.com/users/G3n3ralTao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-08T14:59:52Z","updated_at":"2016-09-08T15:12:34Z","closed_at":null,"body":"Hi,\r\n\r\nI have reinstalled the plugin several times and I always get the following error message. I used the Cordova CLI installation function, but each time I get this when I tried to call trackEvent.\r\n\r\nTypeError: undefined is not an object(evaluating 'window.ga.trackEvent')\r\n\r\nI followed the instruction in the readme, but I can't get the plugin to work"},"comment":{"url":"https://api.github.com/repos/danwilson/google-analytics-plugin/issues/comments/245630817","html_url":"https://github.com/danwilson/google-analytics-plugin/issues/293#issuecomment-245630817","issue_url":"https://api.github.com/repos/danwilson/google-analytics-plugin/issues/293","id":245630817,"user":{"login":"G3n3ralTao","id":6233465,"avatar_url":"https://avatars.githubusercontent.com/u/6233465?v=3","gravatar_id":"","url":"https://api.github.com/users/G3n3ralTao","html_url":"https://github.com/G3n3ralTao","followers_url":"https://api.github.com/users/G3n3ralTao/followers","following_url":"https://api.github.com/users/G3n3ralTao/following{/other_user}","gists_url":"https://api.github.com/users/G3n3ralTao/gists{/gist_id}","starred_url":"https://api.github.com/users/G3n3ralTao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/G3n3ralTao/subscriptions","organizations_url":"https://api.github.com/users/G3n3ralTao/orgs","repos_url":"https://api.github.com/users/G3n3ralTao/repos","events_url":"https://api.github.com/users/G3n3ralTao/events{/privacy}","received_events_url":"https://api.github.com/users/G3n3ralTao/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T15:12:34Z","updated_at":"2016-09-08T15:12:34Z","body":"I also get no compilation error. I created a fresh Cordova Project just to be sure, we upgraded to the version 6.3.1 recently. Using the CLI method, my config.xml don'T seam to be modified.\r\n\r\n`<?xml version='1.0' encoding='utf-8'?>\r\n<widget id=\"com.telefiction.salmigondisvillage\" version=\"1.0.0\" xmlns=\"http://www.w3.org/ns/widgets\" xmlns:cdv=\"http://cordova.apache.org/ns/1.0\">\r\n    <name>Salmigondis2</name>\r\n    <description>\r\n        A sample Apache Cordova application that responds to the deviceready event.\r\n    </description>\r\n    <author email=\"dev@cordova.apache.org\" href=\"http://cordova.io\">\r\n        Apache Cordova Team\r\n    </author>\r\n    <content src=\"index.html\" />\r\n    <plugin name=\"cordova-plugin-whitelist\" spec=\"1\" />\r\n    <access origin=\"*\" />\r\n    <allow-intent href=\"http://*/*\" />\r\n    <allow-intent href=\"https://*/*\" />\r\n    <allow-intent href=\"tel:*\" />\r\n    <allow-intent href=\"sms:*\" />\r\n    <allow-intent href=\"mailto:*\" />\r\n    <allow-intent href=\"geo:*\" />\r\n    <platform name=\"android\">\r\n        <allow-intent href=\"market:*\" />\r\n    </platform>\r\n    <platform name=\"ios\">\r\n        <allow-intent href=\"itms:*\" />\r\n        <allow-intent href=\"itms-apps:*\" />\r\n    </platform>\r\n    <engine name=\"ios\" spec=\"~4.2.1\" />\r\n    <engine name=\"android\" spec=\"~5.2.2\" />\r\n</widget>\r\n`"}}
{"actor":{"display_login":"G3n3ralTao"}}