{"action":"created","issue":{"url":"https://api.github.com/repos/angulartics/angulartics/issues/295","labels_url":"https://api.github.com/repos/angulartics/angulartics/issues/295/labels{/name}","comments_url":"https://api.github.com/repos/angulartics/angulartics/issues/295/comments","events_url":"https://api.github.com/repos/angulartics/angulartics/issues/295/events","html_url":"https://github.com/angulartics/angulartics/pull/295","id":57539311,"number":295,"title":"Alternate redirect detection","user":{"login":"MokoJumbie","id":421323,"avatar_url":"https://avatars.githubusercontent.com/u/421323?v=3","gravatar_id":"","url":"https://api.github.com/users/MokoJumbie","html_url":"https://github.com/MokoJumbie","followers_url":"https://api.github.com/users/MokoJumbie/followers","following_url":"https://api.github.com/users/MokoJumbie/following{/other_user}","gists_url":"https://api.github.com/users/MokoJumbie/gists{/gist_id}","starred_url":"https://api.github.com/users/MokoJumbie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MokoJumbie/subscriptions","organizations_url":"https://api.github.com/users/MokoJumbie/orgs","repos_url":"https://api.github.com/users/MokoJumbie/repos","events_url":"https://api.github.com/users/MokoJumbie/events{/privacy}","received_events_url":"https://api.github.com/users/MokoJumbie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angulartics/angulartics/labels/require-tests","name":"require-tests","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-12T23:58:05Z","updated_at":"2015-09-24T05:45:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/angulartics/angulartics/pulls/295","html_url":"https://github.com/angulartics/angulartics/pull/295","diff_url":"https://github.com/angulartics/angulartics/pull/295.diff","patch_url":"https://github.com/angulartics/angulartics/pull/295.patch"},"body":"Attempt to better detect whether a redirect will occur before deciding whether to perform a pagetrack.\r\n\r\nThis is to address issue #292"},"comment":{"url":"https://api.github.com/repos/angulartics/angulartics/issues/comments/142817437","html_url":"https://github.com/angulartics/angulartics/pull/295#issuecomment-142817437","issue_url":"https://api.github.com/repos/angulartics/angulartics/issues/295","id":142817437,"user":{"login":"ProLoser","id":67395,"avatar_url":"https://avatars.githubusercontent.com/u/67395?v=3","gravatar_id":"","url":"https://api.github.com/users/ProLoser","html_url":"https://github.com/ProLoser","followers_url":"https://api.github.com/users/ProLoser/followers","following_url":"https://api.github.com/users/ProLoser/following{/other_user}","gists_url":"https://api.github.com/users/ProLoser/gists{/gist_id}","starred_url":"https://api.github.com/users/ProLoser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProLoser/subscriptions","organizations_url":"https://api.github.com/users/ProLoser/orgs","repos_url":"https://api.github.com/users/ProLoser/repos","events_url":"https://api.github.com/users/ProLoser/events{/privacy}","received_events_url":"https://api.github.com/users/ProLoser/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T05:45:13Z","updated_at":"2015-09-24T05:45:13Z","body":"I am having some difficulty following this code.\r\n\r\nCould you perhaps tell me why redirectTo sometimes returns a string and other times returns a function?"}}