{"action":"opened","issue":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/2423","repository_url":"https://api.github.com/repos/ampproject/amphtml","labels_url":"https://api.github.com/repos/ampproject/amphtml/issues/2423/labels{/name}","comments_url":"https://api.github.com/repos/ampproject/amphtml/issues/2423/comments","events_url":"https://api.github.com/repos/ampproject/amphtml/issues/2423/events","html_url":"https://github.com/ampproject/amphtml/issues/2423","id":138322688,"number":2423,"title":"Make extraUrlParams a substitution variable","user":{"login":"rudygalfi","id":3888212,"avatar_url":"https://avatars.githubusercontent.com/u/3888212?v=3","gravatar_id":"","url":"https://api.github.com/users/rudygalfi","html_url":"https://github.com/rudygalfi","followers_url":"https://api.github.com/users/rudygalfi/followers","following_url":"https://api.github.com/users/rudygalfi/following{/other_user}","gists_url":"https://api.github.com/users/rudygalfi/gists{/gist_id}","starred_url":"https://api.github.com/users/rudygalfi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudygalfi/subscriptions","organizations_url":"https://api.github.com/users/rudygalfi/orgs","repos_url":"https://api.github.com/users/rudygalfi/repos","events_url":"https://api.github.com/users/rudygalfi/events{/privacy}","received_events_url":"https://api.github.com/users/rudygalfi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-03T22:57:19Z","updated_at":"2016-03-03T22:57:19Z","closed_at":null,"body":"This would support cases where you need the extra URL params to appear within the request rather than at its end.\r\n\r\nProposal would be: If the substitution is used in a request, then the normal behavior of appending the extra URL params is not done.\r\n\r\nExample request could look something like:\r\n\r\n``` javascript\r\n\"pageview\": \"https://${host}/hit?t=${pageTitle}&r=${random}${extraUrlParams}&ref=${documentReferrer}\"\r\n```"}}