{"action":"created","comment":{"url":"https://api.github.com/repos/revolunet/angular-google-analytics/pulls/comments/78272392","id":78272392,"diff_hunk":"@@ -50,12 +55,23 @@ In your application, declare the angular-google-analytics module dependency.\n <script src=\"bower_components/angular-google-analytics/dist/angular-google-analytics.js\"></script>\n ```\n \n-In your application, declare dependency injection like so.\n+#### 2- In your application, declare dependency injection:\n \n ```javascript\n-angular.module('myModule', ['angular-google-analytics']);\n+var myApp = angular.module('myModule', ['angular-google-analytics']);\n ```\n \n+#### 3- Set your Google Analytics account and start tracking:\n+\n+```JavaScript\n+myApp.config(function (AnalyticsProvider) {\n+        // Add configuration code as desired\n+        AnalyticsProvider.setAccount('UU-XXXXXXX-X');  //UU-XXXXXXX-X should be your tracking code\n+    }).run(function(Analytics) {});","path":"README.md","position":39,"original_position":39,"commit_id":"55ba5bc2bbcaf12e8a460e883b527bf3990ff8e3","original_commit_id":"55ba5bc2bbcaf12e8a460e883b527bf3990ff8e3","user":{"login":"m-kermani","id":7496103,"avatar_url":"https://avatars.githubusercontent.com/u/7496103?v=3","gravatar_id":"","url":"https://api.github.com/users/m-kermani","html_url":"https://github.com/m-kermani","followers_url":"https://api.github.com/users/m-kermani/followers","following_url":"https://api.github.com/users/m-kermani/following{/other_user}","gists_url":"https://api.github.com/users/m-kermani/gists{/gist_id}","starred_url":"https://api.github.com/users/m-kermani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-kermani/subscriptions","organizations_url":"https://api.github.com/users/m-kermani/orgs","repos_url":"https://api.github.com/users/m-kermani/repos","events_url":"https://api.github.com/users/m-kermani/events{/privacy}","received_events_url":"https://api.github.com/users/m-kermani/received_events","type":"User","site_admin":false},"body":"@Toxantron  Sorry, I did not understand what should I do. Could you help me, please?\r\n\r\nDo you mean, the bellow code is enough and angular-google-analytics will work?\r\n```\r\nrun(['Analytics'], function(Analytics) {\r\n})\r\n```\r\n\r\nWhere should I add analytics id?\r\n\r\nThanks","created_at":"2016-09-10T06:32:18Z","updated_at":"2016-09-10T06:32:18Z","html_url":"https://github.com/revolunet/angular-google-analytics/pull/169#discussion_r78272392","pull_request_url":"https://api.github.com/repos/revolunet/angular-google-analytics/pulls/169","_links":{"self":{"href":"https://api.github.com/repos/revolunet/angular-google-analytics/pulls/comments/78272392"},"html":{"href":"https://github.com/revolunet/angular-google-analytics/pull/169#discussion_r78272392"},"pull_request":{"href":"https://api.github.com/repos/revolunet/angular-google-analytics/pulls/169"}}},"pull_request":{"url":"https://api.github.com/repos/revolunet/angular-google-analytics/pulls/169","id":83408886,"html_url":"https://github.com/revolunet/angular-google-analytics/pull/169","diff_url":"https://github.com/revolunet/angular-google-analytics/pull/169.diff","patch_url":"https://github.com/revolunet/angular-google-analytics/pull/169.patch","issue_url":"https://api.github.com/repos/revolunet/angular-google-analytics/issues/169","number":169,"state":"open","locked":false,"title":"Adding Quick Start section. For #135","user":{"login":"m-kermani","id":7496103,"avatar_url":"https://avatars.githubusercontent.com/u/7496103?v=3","gravatar_id":"","url":"https://api.github.com/users/m-kermani","html_url":"https://github.com/m-kermani","followers_url":"https://api.github.com/users/m-kermani/followers","following_url":"https://api.github.com/users/m-kermani/following{/other_user}","gists_url":"https://api.github.com/users/m-kermani/gists{/gist_id}","starred_url":"https://api.github.com/users/m-kermani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-kermani/subscriptions","organizations_url":"https://api.github.com/users/m-kermani/orgs","repos_url":"https://api.github.com/users/m-kermani/repos","events_url":"https://api.github.com/users/m-kermani/events{/privacy}","received_events_url":"https://api.github.com/users/m-kermani/received_events","type":"User","site_admin":false},"body":"@revolunet in #135 asked \r\n\"anyone willing to create a \"quick start\" section in the README ?\" \r\n\r\nAnd I added the Quick Start section to README file.","created_at":"2016-08-31T08:28:37Z","updated_at":"2016-09-10T06:32:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cffc078190c4f7b16935588e02a9cf79ebd621ed","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/revolunet/angular-google-analytics/pulls/169/commits","review_comments_url":"https://api.github.com/repos/revolunet/angular-google-analytics/pulls/169/comments","review_comment_url":"https://api.github.com/repos/revolunet/angular-google-analytics/pulls/comments{/number}","comments_url":"https://api.github.com/repos/revolunet/angular-google-analytics/issues/169/comments","statuses_url":"https://api.github.com/repos/revolunet/angular-google-analytics/statuses/55ba5bc2bbcaf12e8a460e883b527bf3990ff8e3","head":{"label":"m-kermani:master","ref":"master","sha":"55ba5bc2bbcaf12e8a460e883b527bf3990ff8e3","user":{"login":"m-kermani","id":7496103,"avatar_url":"https://avatars.githubusercontent.com/u/7496103?v=3","gravatar_id":"","url":"https://api.github.com/users/m-kermani","html_url":"https://github.com/m-kermani","followers_url":"https://api.github.com/users/m-kermani/followers","following_url":"https://api.github.com/users/m-kermani/following{/other_user}","gists_url":"https://api.github.com/users/m-kermani/gists{/gist_id}","starred_url":"https://api.github.com/users/m-kermani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-kermani/subscriptions","organizations_url":"https://api.github.com/users/m-kermani/orgs","repos_url":"https://api.github.com/users/m-kermani/repos","events_url":"https://api.github.com/users/m-kermani/events{/privacy}","received_events_url":"https://api.github.com/users/m-kermani/received_events","type":"User","site_admin":false},"repo":{"id":67016031,"name":"angular-google-analytics","full_name":"m-kermani/angular-google-analytics","owner":{"login":"m-kermani","id":7496103,"avatar_url":"https://avatars.githubusercontent.com/u/7496103?v=3","gravatar_id":"","url":"https://api.github.com/users/m-kermani","html_url":"https://github.com/m-kermani","followers_url":"https://api.github.com/users/m-kermani/followers","following_url":"https://api.github.com/users/m-kermani/following{/other_user}","gists_url":"https://api.github.com/users/m-kermani/gists{/gist_id}","starred_url":"https://api.github.com/users/m-kermani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-kermani/subscriptions","organizations_url":"https://api.github.com/users/m-kermani/orgs","repos_url":"https://api.github.com/users/m-kermani/repos","events_url":"https://api.github.com/users/m-kermani/events{/privacy}","received_events_url":"https://api.github.com/users/m-kermani/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/m-kermani/angular-google-analytics","description":"Google Analytics tracking for your AngularJS apps","fork":true,"url":"https://api.github.com/repos/m-kermani/angular-google-analytics","forks_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/forks","keys_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/teams","hooks_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/hooks","issue_events_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/issues/events{/number}","events_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/events","assignees_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/assignees{/user}","branches_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/branches{/branch}","tags_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/tags","blobs_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/git/refs{/sha}","trees_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/statuses/{sha}","languages_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/languages","stargazers_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/stargazers","contributors_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/contributors","subscribers_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/subscribers","subscription_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/subscription","commits_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/commits{/sha}","git_commits_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/git/commits{/sha}","comments_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/comments{/number}","issue_comment_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/issues/comments{/number}","contents_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/contents/{+path}","compare_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/merges","archive_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/downloads","issues_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/issues{/number}","pulls_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/pulls{/number}","milestones_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/milestones{/number}","notifications_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/labels{/name}","releases_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/releases{/id}","deployments_url":"https://api.github.com/repos/m-kermani/angular-google-analytics/deployments","created_at":"2016-08-31T07:52:34Z","updated_at":"2016-08-31T07:52:35Z","pushed_at":"2016-08-31T08:28:16Z","git_url":"git://github.com/m-kermani/angular-google-analytics.git","ssh_url":"git@github.com:m-kermani/angular-google-analytics.git","clone_url":"https://github.com/m-kermani/angular-google-analytics.git","svn_url":"https://github.com/m-kermani/angular-google-analytics","homepage":null,"size":516,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"revolunet:master","ref":"master","sha":"c0b85bbd5659e7e48d90eecf6b9ff04d64103cfb","user":{"login":"revolunet","id":124937,"avatar_url":"https://avatars.githubusercontent.com/u/124937?v=3","gravatar_id":"","url":"https://api.github.com/users/revolunet","html_url":"https://github.com/revolunet","followers_url":"https://api.github.com/users/revolunet/followers","following_url":"https://api.github.com/users/revolunet/following{/other_user}","gists_url":"https://api.github.com/users/revolunet/gists{/gist_id}","starred_url":"https://api.github.com/users/revolunet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/revolunet/subscriptions","organizations_url":"https://api.github.com/users/revolunet/orgs","repos_url":"https://api.github.com/users/revolunet/repos","events_url":"https://api.github.com/users/revolunet/events{/privacy}","received_events_url":"https://api.github.com/users/revolunet/received_events","type":"User","site_admin":false},"repo":{"id":9845551,"name":"angular-google-analytics","full_name":"revolunet/angular-google-analytics","owner":{"login":"revolunet","id":124937,"avatar_url":"https://avatars.githubusercontent.com/u/124937?v=3","gravatar_id":"","url":"https://api.github.com/users/revolunet","html_url":"https://github.com/revolunet","followers_url":"https://api.github.com/users/revolunet/followers","following_url":"https://api.github.com/users/revolunet/following{/other_user}","gists_url":"https://api.github.com/users/revolunet/gists{/gist_id}","starred_url":"https://api.github.com/users/revolunet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/revolunet/subscriptions","organizations_url":"https://api.github.com/users/revolunet/orgs","repos_url":"https://api.github.com/users/revolunet/repos","events_url":"https://api.github.com/users/revolunet/events{/privacy}","received_events_url":"https://api.github.com/users/revolunet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/revolunet/angular-google-analytics","description":"Google Analytics tracking for your AngularJS apps","fork":false,"url":"https://api.github.com/repos/revolunet/angular-google-analytics","forks_url":"https://api.github.com/repos/revolunet/angular-google-analytics/forks","keys_url":"https://api.github.com/repos/revolunet/angular-google-analytics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/revolunet/angular-google-analytics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/revolunet/angular-google-analytics/teams","hooks_url":"https://api.github.com/repos/revolunet/angular-google-analytics/hooks","issue_events_url":"https://api.github.com/repos/revolunet/angular-google-analytics/issues/events{/number}","events_url":"https://api.github.com/repos/revolunet/angular-google-analytics/events","assignees_url":"https://api.github.com/repos/revolunet/angular-google-analytics/assignees{/user}","branches_url":"https://api.github.com/repos/revolunet/angular-google-analytics/branches{/branch}","tags_url":"https://api.github.com/repos/revolunet/angular-google-analytics/tags","blobs_url":"https://api.github.com/repos/revolunet/angular-google-analytics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/revolunet/angular-google-analytics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/revolunet/angular-google-analytics/git/refs{/sha}","trees_url":"https://api.github.com/repos/revolunet/angular-google-analytics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/revolunet/angular-google-analytics/statuses/{sha}","languages_url":"https://api.github.com/repos/revolunet/angular-google-analytics/languages","stargazers_url":"https://api.github.com/repos/revolunet/angular-google-analytics/stargazers","contributors_url":"https://api.github.com/repos/revolunet/angular-google-analytics/contributors","subscribers_url":"https://api.github.com/repos/revolunet/angular-google-analytics/subscribers","subscription_url":"https://api.github.com/repos/revolunet/angular-google-analytics/subscription","commits_url":"https://api.github.com/repos/revolunet/angular-google-analytics/commits{/sha}","git_commits_url":"https://api.github.com/repos/revolunet/angular-google-analytics/git/commits{/sha}","comments_url":"https://api.github.com/repos/revolunet/angular-google-analytics/comments{/number}","issue_comment_url":"https://api.github.com/repos/revolunet/angular-google-analytics/issues/comments{/number}","contents_url":"https://api.github.com/repos/revolunet/angular-google-analytics/contents/{+path}","compare_url":"https://api.github.com/repos/revolunet/angular-google-analytics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/revolunet/angular-google-analytics/merges","archive_url":"https://api.github.com/repos/revolunet/angular-google-analytics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/revolunet/angular-google-analytics/downloads","issues_url":"https://api.github.com/repos/revolunet/angular-google-analytics/issues{/number}","pulls_url":"https://api.github.com/repos/revolunet/angular-google-analytics/pulls{/number}","milestones_url":"https://api.github.com/repos/revolunet/angular-google-analytics/milestones{/number}","notifications_url":"https://api.github.com/repos/revolunet/angular-google-analytics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/revolunet/angular-google-analytics/labels{/name}","releases_url":"https://api.github.com/repos/revolunet/angular-google-analytics/releases{/id}","deployments_url":"https://api.github.com/repos/revolunet/angular-google-analytics/deployments","created_at":"2013-05-03T22:06:51Z","updated_at":"2016-09-08T05:56:02Z","pushed_at":"2016-08-31T08:28:37Z","git_url":"git://github.com/revolunet/angular-google-analytics.git","ssh_url":"git@github.com:revolunet/angular-google-analytics.git","clone_url":"https://github.com/revolunet/angular-google-analytics.git","svn_url":"https://github.com/revolunet/angular-google-analytics","homepage":null,"size":536,"stargazers_count":514,"watchers_count":514,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":117,"mirror_url":null,"open_issues_count":19,"forks":117,"open_issues":19,"watchers":514,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/revolunet/angular-google-analytics/pulls/169"},"html":{"href":"https://github.com/revolunet/angular-google-analytics/pull/169"},"issue":{"href":"https://api.github.com/repos/revolunet/angular-google-analytics/issues/169"},"comments":{"href":"https://api.github.com/repos/revolunet/angular-google-analytics/issues/169/comments"},"review_comments":{"href":"https://api.github.com/repos/revolunet/angular-google-analytics/pulls/169/comments"},"review_comment":{"href":"https://api.github.com/repos/revolunet/angular-google-analytics/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/revolunet/angular-google-analytics/pulls/169/commits"},"statuses":{"href":"https://api.github.com/repos/revolunet/angular-google-analytics/statuses/55ba5bc2bbcaf12e8a460e883b527bf3990ff8e3"}}}}
{"actor":{"display_login":"m-kermani"}}