{"action":"closed","number":33,"pull_request":{"url":"https://api.github.com/repos/railslove/rack-tracker/pulls/33","id":31832276,"html_url":"https://github.com/railslove/rack-tracker/pull/33","diff_url":"https://github.com/railslove/rack-tracker/pull/33.diff","patch_url":"https://github.com/railslove/rack-tracker/pull/33.patch","issue_url":"https://api.github.com/repos/railslove/rack-tracker/issues/33","number":33,"state":"closed","locked":false,"title":"google analytics: render enhanced ecommerce requirement without any events and able to pass label for action event","user":{"login":"mnin","id":92227,"avatar_url":"https://avatars.githubusercontent.com/u/92227?v=3","gravatar_id":"","url":"https://api.github.com/users/mnin","html_url":"https://github.com/mnin","followers_url":"https://api.github.com/users/mnin/followers","following_url":"https://api.github.com/users/mnin/following{/other_user}","gists_url":"https://api.github.com/users/mnin/gists{/gist_id}","starred_url":"https://api.github.com/users/mnin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnin/subscriptions","organizations_url":"https://api.github.com/users/mnin/orgs","repos_url":"https://api.github.com/users/mnin/repos","events_url":"https://api.github.com/users/mnin/events{/privacy}","received_events_url":"https://api.github.com/users/mnin/received_events","type":"User","site_admin":false},"body":"- requirement is needed to render events with directly javascript\r\n- label for action is needed for https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#action-types\r\n- if no attributes given don't render empty hash","created_at":"2015-03-24T14:40:15Z","updated_at":"2015-03-27T09:09:42Z","closed_at":"2015-03-27T09:09:41Z","merged_at":"2015-03-27T09:09:41Z","merge_commit_sha":"863c445387711a427e9401a4dbba2a2640449124","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/railslove/rack-tracker/pulls/33/commits","review_comments_url":"https://api.github.com/repos/railslove/rack-tracker/pulls/33/comments","review_comment_url":"https://api.github.com/repos/railslove/rack-tracker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/railslove/rack-tracker/issues/33/comments","statuses_url":"https://api.github.com/repos/railslove/rack-tracker/statuses/0352ffebf5ab2f7b9e49645a61974321d060746d","head":{"label":"mnin:master","ref":"master","sha":"0352ffebf5ab2f7b9e49645a61974321d060746d","user":{"login":"mnin","id":92227,"avatar_url":"https://avatars.githubusercontent.com/u/92227?v=3","gravatar_id":"","url":"https://api.github.com/users/mnin","html_url":"https://github.com/mnin","followers_url":"https://api.github.com/users/mnin/followers","following_url":"https://api.github.com/users/mnin/following{/other_user}","gists_url":"https://api.github.com/users/mnin/gists{/gist_id}","starred_url":"https://api.github.com/users/mnin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnin/subscriptions","organizations_url":"https://api.github.com/users/mnin/orgs","repos_url":"https://api.github.com/users/mnin/repos","events_url":"https://api.github.com/users/mnin/events{/privacy}","received_events_url":"https://api.github.com/users/mnin/received_events","type":"User","site_admin":false},"repo":{"id":32725655,"name":"rack-tracker","full_name":"mnin/rack-tracker","owner":{"login":"mnin","id":92227,"avatar_url":"https://avatars.githubusercontent.com/u/92227?v=3","gravatar_id":"","url":"https://api.github.com/users/mnin","html_url":"https://github.com/mnin","followers_url":"https://api.github.com/users/mnin/followers","following_url":"https://api.github.com/users/mnin/following{/other_user}","gists_url":"https://api.github.com/users/mnin/gists{/gist_id}","starred_url":"https://api.github.com/users/mnin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnin/subscriptions","organizations_url":"https://api.github.com/users/mnin/orgs","repos_url":"https://api.github.com/users/mnin/repos","events_url":"https://api.github.com/users/mnin/events{/privacy}","received_events_url":"https://api.github.com/users/mnin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mnin/rack-tracker","description":"Tracking made easy: Don’t fool around with adding tracking and analytics partials to your app and concentrate on the things that matter.","fork":true,"url":"https://api.github.com/repos/mnin/rack-tracker","forks_url":"https://api.github.com/repos/mnin/rack-tracker/forks","keys_url":"https://api.github.com/repos/mnin/rack-tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mnin/rack-tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mnin/rack-tracker/teams","hooks_url":"https://api.github.com/repos/mnin/rack-tracker/hooks","issue_events_url":"https://api.github.com/repos/mnin/rack-tracker/issues/events{/number}","events_url":"https://api.github.com/repos/mnin/rack-tracker/events","assignees_url":"https://api.github.com/repos/mnin/rack-tracker/assignees{/user}","branches_url":"https://api.github.com/repos/mnin/rack-tracker/branches{/branch}","tags_url":"https://api.github.com/repos/mnin/rack-tracker/tags","blobs_url":"https://api.github.com/repos/mnin/rack-tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mnin/rack-tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mnin/rack-tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/mnin/rack-tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mnin/rack-tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/mnin/rack-tracker/languages","stargazers_url":"https://api.github.com/repos/mnin/rack-tracker/stargazers","contributors_url":"https://api.github.com/repos/mnin/rack-tracker/contributors","subscribers_url":"https://api.github.com/repos/mnin/rack-tracker/subscribers","subscription_url":"https://api.github.com/repos/mnin/rack-tracker/subscription","commits_url":"https://api.github.com/repos/mnin/rack-tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/mnin/rack-tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/mnin/rack-tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/mnin/rack-tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/mnin/rack-tracker/contents/{+path}","compare_url":"https://api.github.com/repos/mnin/rack-tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mnin/rack-tracker/merges","archive_url":"https://api.github.com/repos/mnin/rack-tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mnin/rack-tracker/downloads","issues_url":"https://api.github.com/repos/mnin/rack-tracker/issues{/number}","pulls_url":"https://api.github.com/repos/mnin/rack-tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/mnin/rack-tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/mnin/rack-tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mnin/rack-tracker/labels{/name}","releases_url":"https://api.github.com/repos/mnin/rack-tracker/releases{/id}","created_at":"2015-03-23T10:34:46Z","updated_at":"2015-03-26T10:21:16Z","pushed_at":"2015-03-26T10:21:16Z","git_url":"git://github.com/mnin/rack-tracker.git","ssh_url":"git@github.com:mnin/rack-tracker.git","clone_url":"https://github.com/mnin/rack-tracker.git","svn_url":"https://github.com/mnin/rack-tracker","homepage":"https://www.railslove.com/open-source","size":292,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"railslove:master","ref":"master","sha":"6303b2104f6d367d0280ac516dba868a5d70db3a","user":{"login":"railslove","id":1067,"avatar_url":"https://avatars.githubusercontent.com/u/1067?v=3","gravatar_id":"","url":"https://api.github.com/users/railslove","html_url":"https://github.com/railslove","followers_url":"https://api.github.com/users/railslove/followers","following_url":"https://api.github.com/users/railslove/following{/other_user}","gists_url":"https://api.github.com/users/railslove/gists{/gist_id}","starred_url":"https://api.github.com/users/railslove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/railslove/subscriptions","organizations_url":"https://api.github.com/users/railslove/orgs","repos_url":"https://api.github.com/users/railslove/repos","events_url":"https://api.github.com/users/railslove/events{/privacy}","received_events_url":"https://api.github.com/users/railslove/received_events","type":"Organization","site_admin":false},"repo":{"id":23115567,"name":"rack-tracker","full_name":"railslove/rack-tracker","owner":{"login":"railslove","id":1067,"avatar_url":"https://avatars.githubusercontent.com/u/1067?v=3","gravatar_id":"","url":"https://api.github.com/users/railslove","html_url":"https://github.com/railslove","followers_url":"https://api.github.com/users/railslove/followers","following_url":"https://api.github.com/users/railslove/following{/other_user}","gists_url":"https://api.github.com/users/railslove/gists{/gist_id}","starred_url":"https://api.github.com/users/railslove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/railslove/subscriptions","organizations_url":"https://api.github.com/users/railslove/orgs","repos_url":"https://api.github.com/users/railslove/repos","events_url":"https://api.github.com/users/railslove/events{/privacy}","received_events_url":"https://api.github.com/users/railslove/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/railslove/rack-tracker","description":"Tracking made easy: Don’t fool around with adding tracking and analytics partials to your app and concentrate on the things that matter.","fork":false,"url":"https://api.github.com/repos/railslove/rack-tracker","forks_url":"https://api.github.com/repos/railslove/rack-tracker/forks","keys_url":"https://api.github.com/repos/railslove/rack-tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/railslove/rack-tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/railslove/rack-tracker/teams","hooks_url":"https://api.github.com/repos/railslove/rack-tracker/hooks","issue_events_url":"https://api.github.com/repos/railslove/rack-tracker/issues/events{/number}","events_url":"https://api.github.com/repos/railslove/rack-tracker/events","assignees_url":"https://api.github.com/repos/railslove/rack-tracker/assignees{/user}","branches_url":"https://api.github.com/repos/railslove/rack-tracker/branches{/branch}","tags_url":"https://api.github.com/repos/railslove/rack-tracker/tags","blobs_url":"https://api.github.com/repos/railslove/rack-tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/railslove/rack-tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/railslove/rack-tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/railslove/rack-tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/railslove/rack-tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/railslove/rack-tracker/languages","stargazers_url":"https://api.github.com/repos/railslove/rack-tracker/stargazers","contributors_url":"https://api.github.com/repos/railslove/rack-tracker/contributors","subscribers_url":"https://api.github.com/repos/railslove/rack-tracker/subscribers","subscription_url":"https://api.github.com/repos/railslove/rack-tracker/subscription","commits_url":"https://api.github.com/repos/railslove/rack-tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/railslove/rack-tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/railslove/rack-tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/railslove/rack-tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/railslove/rack-tracker/contents/{+path}","compare_url":"https://api.github.com/repos/railslove/rack-tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/railslove/rack-tracker/merges","archive_url":"https://api.github.com/repos/railslove/rack-tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/railslove/rack-tracker/downloads","issues_url":"https://api.github.com/repos/railslove/rack-tracker/issues{/number}","pulls_url":"https://api.github.com/repos/railslove/rack-tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/railslove/rack-tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/railslove/rack-tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/railslove/rack-tracker/labels{/name}","releases_url":"https://api.github.com/repos/railslove/rack-tracker/releases{/id}","created_at":"2014-08-19T15:34:30Z","updated_at":"2015-03-26T12:42:47Z","pushed_at":"2015-03-27T09:09:42Z","git_url":"git://github.com/railslove/rack-tracker.git","ssh_url":"git@github.com:railslove/rack-tracker.git","clone_url":"https://github.com/railslove/rack-tracker.git","svn_url":"https://github.com/railslove/rack-tracker","homepage":"https://www.railslove.com/open-source","size":1288,"stargazers_count":245,"watchers_count":245,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":5,"forks":8,"open_issues":5,"watchers":245,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/railslove/rack-tracker/pulls/33"},"html":{"href":"https://github.com/railslove/rack-tracker/pull/33"},"issue":{"href":"https://api.github.com/repos/railslove/rack-tracker/issues/33"},"comments":{"href":"https://api.github.com/repos/railslove/rack-tracker/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/railslove/rack-tracker/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/railslove/rack-tracker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/railslove/rack-tracker/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/railslove/rack-tracker/statuses/0352ffebf5ab2f7b9e49645a61974321d060746d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"kangguru","id":72447,"avatar_url":"https://avatars.githubusercontent.com/u/72447?v=3","gravatar_id":"","url":"https://api.github.com/users/kangguru","html_url":"https://github.com/kangguru","followers_url":"https://api.github.com/users/kangguru/followers","following_url":"https://api.github.com/users/kangguru/following{/other_user}","gists_url":"https://api.github.com/users/kangguru/gists{/gist_id}","starred_url":"https://api.github.com/users/kangguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kangguru/subscriptions","organizations_url":"https://api.github.com/users/kangguru/orgs","repos_url":"https://api.github.com/users/kangguru/repos","events_url":"https://api.github.com/users/kangguru/events{/privacy}","received_events_url":"https://api.github.com/users/kangguru/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":3,"additions":33,"deletions":32,"changed_files":4}}