{"action":"created","issue":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/4078","repository_url":"https://api.github.com/repos/ampproject/amphtml","labels_url":"https://api.github.com/repos/ampproject/amphtml/issues/4078/labels{/name}","comments_url":"https://api.github.com/repos/ampproject/amphtml/issues/4078/comments","events_url":"https://api.github.com/repos/ampproject/amphtml/issues/4078/events","html_url":"https://github.com/ampproject/amphtml/issues/4078","id":165682131,"number":4078,"title":"Variable substitution in href of <a> tags?","user":{"login":"jpettitt","id":524856,"avatar_url":"https://avatars.githubusercontent.com/u/524856?v=3","gravatar_id":"","url":"https://api.github.com/users/jpettitt","html_url":"https://github.com/jpettitt","followers_url":"https://api.github.com/users/jpettitt/followers","following_url":"https://api.github.com/users/jpettitt/following{/other_user}","gists_url":"https://api.github.com/users/jpettitt/gists{/gist_id}","starred_url":"https://api.github.com/users/jpettitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpettitt/subscriptions","organizations_url":"https://api.github.com/users/jpettitt/orgs","repos_url":"https://api.github.com/users/jpettitt/repos","events_url":"https://api.github.com/users/jpettitt/events{/privacy}","received_events_url":"https://api.github.com/users/jpettitt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ampproject/amphtml/labels/Related%20to:%20Content","name":"Related to: Content","color":"d4c5f9"},{"url":"https://api.github.com/repos/ampproject/amphtml/labels/Type:%20Feature","name":"Type: Feature","color":"bfe5bf"},{"url":"https://api.github.com/repos/ampproject/amphtml/labels/Type:%20Request","name":"Type: Request","color":"207de5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ampproject/amphtml/milestones/9","html_url":"https://github.com/ampproject/amphtml/milestones/Next","labels_url":"https://api.github.com/repos/ampproject/amphtml/milestones/9/labels","id":1621302,"number":9,"title":"Next","description":"This milestone collects issues we plan to work on soon.","creator":{"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},"open_issues":70,"closed_issues":43,"state":"open","created_at":"2016-03-04T00:12:33Z","updated_at":"2016-09-23T21:16:12Z","due_on":null,"closed_at":null},"comments":13,"created_at":"2016-07-14T23:36:20Z","updated_at":"2016-09-27T04:28:34Z","closed_at":null,"body":"I'd love to see the ability to do at least simple variable substitution in the `href` of an `<a>` tag.  specifically if I could get `CLIENT_ID` transmitted it would let me track sessions between the a cdn and regular site.  One of the big gripes we're getting from publishers is they have no idea if AMP is generating more or longer sessions or if users are just swiping in the carousel to another pubs content.  \r\n\r\nI realize that some of the variables are real time so that would involve intercepting clicks and that bring it's own issues.  However  if we could just get the static stuff that would still be a huge win."},"comment":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/comments/249763651","html_url":"https://github.com/ampproject/amphtml/issues/4078#issuecomment-249763651","issue_url":"https://api.github.com/repos/ampproject/amphtml/issues/4078","id":249763651,"user":{"login":"smeder","id":221770,"avatar_url":"https://avatars.githubusercontent.com/u/221770?v=3","gravatar_id":"","url":"https://api.github.com/users/smeder","html_url":"https://github.com/smeder","followers_url":"https://api.github.com/users/smeder/followers","following_url":"https://api.github.com/users/smeder/following{/other_user}","gists_url":"https://api.github.com/users/smeder/gists{/gist_id}","starred_url":"https://api.github.com/users/smeder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smeder/subscriptions","organizations_url":"https://api.github.com/users/smeder/orgs","repos_url":"https://api.github.com/users/smeder/repos","events_url":"https://api.github.com/users/smeder/events{/privacy}","received_events_url":"https://api.github.com/users/smeder/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T04:28:34Z","updated_at":"2016-09-27T04:28:34Z","body":"Fwiw, the general approach should solve our problem (session attribution when doing deep-linking) and would prefer either the JSON \"metadata\" version or the attribute. "}}
{"actor":{"display_login":"smeder"}}