{"action":"created","comment":{"url":"https://api.github.com/repos/guardian/frontend/pulls/comments/32940118","id":32940118,"diff_hunk":"@@ -69,13 +69,14 @@ function s_doPlugins(s) {\n     for (var i=0,j=diary.length;i<j;++i)\n     {\n         var pV=diary[i];\n-        var tmp=(pV>=cutoff) && (pV!=now) && (vC+=1) && newDiary.push(pV);\n+        var tmp=(pV>=cutoff) && (pV<now) && (vC+=1) && newDiary.push(pV);\n     }\n     newDiary.push(now);\n     newDiary=newDiary.join(\",\");\n     dtmNow.setFullYear(dtmNow.getFullYear()+5);\n     s.c_w(\"s_daily_habit\",newDiary,dtmNow);\n-    s.eVar64=vC+\"/14\";\n+    if (s.getVisitStart==1) s.events = s.apl(s.events, 'event16='+vC, ',');","path":"static/src/javascripts/vendor/omniture.js","position":21,"original_position":21,"commit_id":"a1630702fe89b9ee8a1a28842a901af874d095c8","original_commit_id":"a1630702fe89b9ee8a1a28842a901af874d095c8","user":{"login":"crifmulholland","id":796176,"avatar_url":"https://avatars.githubusercontent.com/u/796176?v=3","gravatar_id":"","url":"https://api.github.com/users/crifmulholland","html_url":"https://github.com/crifmulholland","followers_url":"https://api.github.com/users/crifmulholland/followers","following_url":"https://api.github.com/users/crifmulholland/following{/other_user}","gists_url":"https://api.github.com/users/crifmulholland/gists{/gist_id}","starred_url":"https://api.github.com/users/crifmulholland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crifmulholland/subscriptions","organizations_url":"https://api.github.com/users/crifmulholland/orgs","repos_url":"https://api.github.com/users/crifmulholland/repos","events_url":"https://api.github.com/users/crifmulholland/events{/privacy}","received_events_url":"https://api.github.com/users/crifmulholland/received_events","type":"User","site_admin":false},"body":"It should actually be event89","created_at":"2015-06-22T14:34:15Z","updated_at":"2015-06-22T14:34:15Z","html_url":"https://github.com/guardian/frontend/pull/9568#discussion_r32940118","pull_request_url":"https://api.github.com/repos/guardian/frontend/pulls/9568","_links":{"self":{"href":"https://api.github.com/repos/guardian/frontend/pulls/comments/32940118"},"html":{"href":"https://github.com/guardian/frontend/pull/9568#discussion_r32940118"},"pull_request":{"href":"https://api.github.com/repos/guardian/frontend/pulls/9568"}}},"pull_request":{"url":"https://api.github.com/repos/guardian/frontend/pulls/9568","id":38237571,"html_url":"https://github.com/guardian/frontend/pull/9568","diff_url":"https://github.com/guardian/frontend/pull/9568.diff","patch_url":"https://github.com/guardian/frontend/pull/9568.patch","issue_url":"https://api.github.com/repos/guardian/frontend/issues/9568","number":9568,"state":"open","locked":false,"title":"Update eVar64 and add event16","user":{"login":"OliverJAsh","id":921609,"avatar_url":"https://avatars.githubusercontent.com/u/921609?v=3","gravatar_id":"","url":"https://api.github.com/users/OliverJAsh","html_url":"https://github.com/OliverJAsh","followers_url":"https://api.github.com/users/OliverJAsh/followers","following_url":"https://api.github.com/users/OliverJAsh/following{/other_user}","gists_url":"https://api.github.com/users/OliverJAsh/gists{/gist_id}","starred_url":"https://api.github.com/users/OliverJAsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OliverJAsh/subscriptions","organizations_url":"https://api.github.com/users/OliverJAsh/orgs","repos_url":"https://api.github.com/users/OliverJAsh/repos","events_url":"https://api.github.com/users/OliverJAsh/events{/privacy}","received_events_url":"https://api.github.com/users/OliverJAsh/received_events","type":"User","site_admin":false},"body":"To do:\r\n\r\n- [ ] Test\r\n- [ ] Verify event name\r\n- [ ] Check this code is correct with Omniture?\r\n\r\n/cc @mkopka @crifmulholland","created_at":"2015-06-22T14:31:19Z","updated_at":"2015-06-22T14:34:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e2a9049faf2f3c6fa6aad48847a5865c183f4ea1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/guardian/frontend/pulls/9568/commits","review_comments_url":"https://api.github.com/repos/guardian/frontend/pulls/9568/comments","review_comment_url":"https://api.github.com/repos/guardian/frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guardian/frontend/issues/9568/comments","statuses_url":"https://api.github.com/repos/guardian/frontend/statuses/a1630702fe89b9ee8a1a28842a901af874d095c8","head":{"label":"guardian:oja-loyalty-metrics","ref":"oja-loyalty-metrics","sha":"a1630702fe89b9ee8a1a28842a901af874d095c8","user":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":4370755,"name":"frontend","full_name":"guardian/frontend","owner":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/frontend","description":"Source for theguardian.com","fork":false,"url":"https://api.github.com/repos/guardian/frontend","forks_url":"https://api.github.com/repos/guardian/frontend/forks","keys_url":"https://api.github.com/repos/guardian/frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/frontend/teams","hooks_url":"https://api.github.com/repos/guardian/frontend/hooks","issue_events_url":"https://api.github.com/repos/guardian/frontend/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/frontend/events","assignees_url":"https://api.github.com/repos/guardian/frontend/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/frontend/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/frontend/tags","blobs_url":"https://api.github.com/repos/guardian/frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/frontend/languages","stargazers_url":"https://api.github.com/repos/guardian/frontend/stargazers","contributors_url":"https://api.github.com/repos/guardian/frontend/contributors","subscribers_url":"https://api.github.com/repos/guardian/frontend/subscribers","subscription_url":"https://api.github.com/repos/guardian/frontend/subscription","commits_url":"https://api.github.com/repos/guardian/frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/frontend/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/frontend/merges","archive_url":"https://api.github.com/repos/guardian/frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/frontend/downloads","issues_url":"https://api.github.com/repos/guardian/frontend/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/frontend/labels{/name}","releases_url":"https://api.github.com/repos/guardian/frontend/releases{/id}","created_at":"2012-05-18T15:39:15Z","updated_at":"2015-06-22T04:48:35Z","pushed_at":"2015-06-22T14:31:19Z","git_url":"git://github.com/guardian/frontend.git","ssh_url":"git@github.com:guardian/frontend.git","clone_url":"https://github.com/guardian/frontend.git","svn_url":"https://github.com/guardian/frontend","homepage":"http://www.theguardian.com","size":527525,"stargazers_count":2810,"watchers_count":2810,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":263,"mirror_url":null,"open_issues_count":155,"forks":263,"open_issues":155,"watchers":2810,"default_branch":"master"}},"base":{"label":"guardian:master","ref":"master","sha":"694d02f9c820c08b68d8b29b679c1f417491e817","user":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":4370755,"name":"frontend","full_name":"guardian/frontend","owner":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/frontend","description":"Source for theguardian.com","fork":false,"url":"https://api.github.com/repos/guardian/frontend","forks_url":"https://api.github.com/repos/guardian/frontend/forks","keys_url":"https://api.github.com/repos/guardian/frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/frontend/teams","hooks_url":"https://api.github.com/repos/guardian/frontend/hooks","issue_events_url":"https://api.github.com/repos/guardian/frontend/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/frontend/events","assignees_url":"https://api.github.com/repos/guardian/frontend/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/frontend/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/frontend/tags","blobs_url":"https://api.github.com/repos/guardian/frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/frontend/languages","stargazers_url":"https://api.github.com/repos/guardian/frontend/stargazers","contributors_url":"https://api.github.com/repos/guardian/frontend/contributors","subscribers_url":"https://api.github.com/repos/guardian/frontend/subscribers","subscription_url":"https://api.github.com/repos/guardian/frontend/subscription","commits_url":"https://api.github.com/repos/guardian/frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/frontend/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/frontend/merges","archive_url":"https://api.github.com/repos/guardian/frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/frontend/downloads","issues_url":"https://api.github.com/repos/guardian/frontend/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/frontend/labels{/name}","releases_url":"https://api.github.com/repos/guardian/frontend/releases{/id}","created_at":"2012-05-18T15:39:15Z","updated_at":"2015-06-22T04:48:35Z","pushed_at":"2015-06-22T14:31:19Z","git_url":"git://github.com/guardian/frontend.git","ssh_url":"git@github.com:guardian/frontend.git","clone_url":"https://github.com/guardian/frontend.git","svn_url":"https://github.com/guardian/frontend","homepage":"http://www.theguardian.com","size":527525,"stargazers_count":2810,"watchers_count":2810,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":263,"mirror_url":null,"open_issues_count":155,"forks":263,"open_issues":155,"watchers":2810,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/guardian/frontend/pulls/9568"},"html":{"href":"https://github.com/guardian/frontend/pull/9568"},"issue":{"href":"https://api.github.com/repos/guardian/frontend/issues/9568"},"comments":{"href":"https://api.github.com/repos/guardian/frontend/issues/9568/comments"},"review_comments":{"href":"https://api.github.com/repos/guardian/frontend/pulls/9568/comments"},"review_comment":{"href":"https://api.github.com/repos/guardian/frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guardian/frontend/pulls/9568/commits"},"statuses":{"href":"https://api.github.com/repos/guardian/frontend/statuses/a1630702fe89b9ee8a1a28842a901af874d095c8"}}}}