{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/3038","repository_url":"https://api.github.com/repos/Automattic/jetpack","labels_url":"https://api.github.com/repos/Automattic/jetpack/issues/3038/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/jetpack/issues/3038/comments","events_url":"https://api.github.com/repos/Automattic/jetpack/issues/3038/events","html_url":"https://github.com/Automattic/jetpack/issues/3038","id":117650745,"number":3038,"title":"Related Posts: Option to leave tracking URLs","user":{"login":"kraftbj","id":88897,"avatar_url":"https://avatars.githubusercontent.com/u/88897?v=3","gravatar_id":"","url":"https://api.github.com/users/kraftbj","html_url":"https://github.com/kraftbj","followers_url":"https://api.github.com/users/kraftbj/followers","following_url":"https://api.github.com/users/kraftbj/following{/other_user}","gists_url":"https://api.github.com/users/kraftbj/gists{/gist_id}","starred_url":"https://api.github.com/users/kraftbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kraftbj/subscriptions","organizations_url":"https://api.github.com/users/kraftbj/orgs","repos_url":"https://api.github.com/users/kraftbj/repos","events_url":"https://api.github.com/users/kraftbj/events{/privacy}","received_events_url":"https://api.github.com/users/kraftbj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/jetpack/labels/Related%20Posts","name":"Related Posts","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/jetpack/labels/[Type]%20Enhancement","name":"[Type] Enhancement","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Automattic/jetpack/milestones/27","html_url":"https://github.com/Automattic/jetpack/milestones/Not%20Core%20Jetpack%20Team","labels_url":"https://api.github.com/repos/Automattic/jetpack/milestones/27/labels","id":1278864,"number":27,"title":"Not Core Jetpack Team","description":"These issues are being addressed by other teams, and will be addressed in Jetpack when they are fixed elsewhere.","creator":{"login":"samhotchkiss","id":574752,"avatar_url":"https://avatars.githubusercontent.com/u/574752?v=3","gravatar_id":"","url":"https://api.github.com/users/samhotchkiss","html_url":"https://github.com/samhotchkiss","followers_url":"https://api.github.com/users/samhotchkiss/followers","following_url":"https://api.github.com/users/samhotchkiss/following{/other_user}","gists_url":"https://api.github.com/users/samhotchkiss/gists{/gist_id}","starred_url":"https://api.github.com/users/samhotchkiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samhotchkiss/subscriptions","organizations_url":"https://api.github.com/users/samhotchkiss/orgs","repos_url":"https://api.github.com/users/samhotchkiss/repos","events_url":"https://api.github.com/users/samhotchkiss/events{/privacy}","received_events_url":"https://api.github.com/users/samhotchkiss/received_events","type":"User","site_admin":false},"open_issues":136,"closed_issues":4,"state":"open","created_at":"2015-08-29T15:34:24Z","updated_at":"2016-02-09T13:47:39Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-11-18T18:34:35Z","updated_at":"2016-02-12T14:41:45Z","closed_at":null,"body":"Related Posts adds tracking args to the URL when clicking on a RP:\r\n```\r\n\t\tvar args = 'relatedposts_hit=1';\r\n\t\t\targs += '&relatedposts_origin=' + $( anchor ).data( 'origin' );\r\n\t\t\targs += '&relatedposts_position=' + $( anchor ).data( 'position' );\r\n```\r\n\r\nBut then we clean them up. It may be beneficial to some users to leave them so Google and other stats programs have easier access to use that for performance tracking.\r\n\r\nSuggestion: Add a filter that sets a variable that gets localized into JS to determine if `cleanupTrackedUrl` is fired or not.\r\n\r\n@xyu thoughts?"},"comment":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/comments/183355890","html_url":"https://github.com/Automattic/jetpack/issues/3038#issuecomment-183355890","issue_url":"https://api.github.com/repos/Automattic/jetpack/issues/3038","id":183355890,"user":{"login":"jeherve","id":426388,"avatar_url":"https://avatars.githubusercontent.com/u/426388?v=3","gravatar_id":"","url":"https://api.github.com/users/jeherve","html_url":"https://github.com/jeherve","followers_url":"https://api.github.com/users/jeherve/followers","following_url":"https://api.github.com/users/jeherve/following{/other_user}","gists_url":"https://api.github.com/users/jeherve/gists{/gist_id}","starred_url":"https://api.github.com/users/jeherve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeherve/subscriptions","organizations_url":"https://api.github.com/users/jeherve/orgs","repos_url":"https://api.github.com/users/jeherve/repos","events_url":"https://api.github.com/users/jeherve/events{/privacy}","received_events_url":"https://api.github.com/users/jeherve/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T14:41:45Z","updated_at":"2016-02-12T14:41:45Z","body":"Also suggested here:\r\nhttps://wordpress.org/support/topic/measuring-related-posts-google-analytics-event-possible?replies=1&view=all"}}