#234: make click-to-launch-in-EC2 button something that we can log --------------------------+----------------------- Reporter: mattdm | Owner: webmaster Type: enhancement | Status: new Priority: minor | Milestone: Fedora 20 Component: get.fp.o | Keywords: Blocked By: | Blocking: --------------------------+----------------------- Right now, we don't have very good statistics about whether the deploy-to- cloud button is being used. As I understand it, the current implementation just presents a bare link which we can't easily log. I don't want invasive tracking or anything, just a count of how many launches there have been (analogous to counting downloads). Could we make the button link to a redirect which we can then count?
#234: make click-to-launch-in-EC2 button something that we can log -------------------------+------------------------ Reporter: mattdm | Owner: webmaster Type: enhancement | Status: new Priority: minor | Milestone: ASAP Component: get.fp.o | Resolution: Keywords: | Blocked By: Blocking: | -------------------------+------------------------ Changes (by mattdm):
* milestone: Fedora 20 => ASAP
Comment:
still would be nice to have. thanks!
#234: make click-to-launch-in-EC2 button something that we can log -------------------------+------------------------ Reporter: mattdm | Owner: webmaster Type: enhancement | Status: new Priority: minor | Milestone: ASAP Component: get.fp.o | Resolution: Keywords: | Blocked By: Blocking: | -------------------------+------------------------
Comment (by robyduck):
We need to work on this together with the Infra team. I guess the ticket for this is already open, adding it here for all the others:
https://fedorahosted.org/fedora-infrastructure/ticket/3893
#234: make click-to-launch-in-EC2 button something that we can log -------------------------+------------------------ Reporter: mattdm | Owner: webmaster Type: enhancement | Status: new Priority: minor | Milestone: ASAP Component: get.fp.o | Resolution: Keywords: | Blocked By: Blocking: | -------------------------+------------------------
Comment (by cydrobolt):
If we were allowed to use a server-side language I'm sure we could make something for it quickly
#234: make click-to-launch-in-EC2 button something that we can log -------------------------+------------------------ Reporter: mattdm | Owner: webmaster Type: enhancement | Status: new Priority: minor | Milestone: ASAP Component: get.fp.o | Resolution: Keywords: | Blocked By: Blocking: | -------------------------+------------------------
Comment (by mattdm):
I think server-side processing is probably overkill -- it really just needs to be a redirect.
#234: make click-to-launch-in-EC2 button something that we can log -------------------------+------------------------ Reporter: mattdm | Owner: webmaster Type: enhancement | Status: new Priority: minor | Milestone: ASAP Component: get.fp.o | Resolution: Keywords: | Blocked By: Blocking: | -------------------------+------------------------
Comment (by mattdm):
PS: this'd be awesome to see for F22 web redesign, if possible.
The basic thing is that we need to URLs that are clicked to be _Fedora_ URLs, which then redirect to the real target URLs.
#234: make click-to-launch-in-EC2 button something that we can log -------------------------+------------------------ Reporter: mattdm | Owner: webmaster Type: enhancement | Status: new Priority: minor | Milestone: ASAP Component: get.fp.o | Resolution: Keywords: | Blocked By: Blocking: | -------------------------+------------------------
Comment (by cydrobolt):
Well, that makes sense, but how are you going to store the statistics? We either have to use a third party or write our own server-side script.
#234: make click-to-launch-in-EC2 button something that we can log -------------------------+------------------------ Reporter: mattdm | Owner: webmaster Type: enhancement | Status: new Priority: minor | Milestone: ASAP Component: get.fp.o | Resolution: Keywords: | Blocked By: Blocking: | -------------------------+------------------------
Comment (by mattdm):
I think we can use a redirect rule on our varnish proxy such that anything like http://theoreticalredirectserver.fedoraproject.org/redirect/console.aws.amaz... =us-east-1#LaunchInstanceWizard:ami=ami-21362b48 would be redirected to https://console.aws.amazon.com/ec2/v2/home?region=us- east-1#LaunchInstanceWizard:ami=ami-21362b48
The clicks on that first link would be logged with our normal web logs and could be analyzed.
#234: make click-to-launch-in-EC2 button something that we can log -------------------------+------------------------ Reporter: mattdm | Owner: webmaster Type: enhancement | Status: new Priority: minor | Milestone: ASAP Component: get.fp.o | Resolution: Keywords: | Blocked By: Blocking: | -------------------------+------------------------
Comment (by ralph):
OK, the redirect is ready:
{{{ $ curl -I https://redirect.fedoraproject.org/console.aws.amazon.com/ec2/v2/home%5C?reg... =us-east-1#LaunchInstanceWizard:ami=ami-21362b48 HTTP/1.1 302 Found Date: Thu, 06 Nov 2014 16:39:01 GMT Server: Apache/2.2.15 (Red Hat) Location: https://console.aws.amazon.com/ec2/v2/home?region=us-east-1 Content-Type: text/html; charset=iso-8859-1 }}}
#234: make click-to-launch-in-EC2 button something that we can log -------------------------+------------------------ Reporter: mattdm | Owner: webmaster Type: enhancement | Status: new Priority: minor | Milestone: ASAP Component: get.fp.o | Resolution: Keywords: | Blocked By: Blocking: | -------------------------+------------------------
Comment (by mattdm):
Thanks Ralph!
#234: make click-to-launch-in-EC2 button something that we can log -------------------------+------------------------ Reporter: mattdm | Owner: webmaster Type: enhancement | Status: new Priority: minor | Milestone: ASAP Component: get.fp.o | Resolution: Keywords: | Blocked By: Blocking: | -------------------------+------------------------
Comment (by ralph):
Oop, although I see now the fragment identifier is not taken along for the ride yet. :(
#234: make click-to-launch-in-EC2 button something that we can log -------------------------+------------------------ Reporter: mattdm | Owner: webmaster Type: enhancement | Status: new Priority: minor | Milestone: ASAP Component: get.fp.o | Resolution: Keywords: | Blocked By: Blocking: | -------------------------+------------------------
Comment (by ralph):
Replying to [comment:10 ralph]:
Oop, although I see now the fragment identifier is not taken along for
the ride yet. :(
Nevermind this - browsers seem to handle it correctly.
#234: make click-to-launch-in-EC2 button something that we can log -------------------------+------------------------ Reporter: mattdm | Owner: webmaster Type: enhancement | Status: new Priority: minor | Milestone: ASAP Component: get.fp.o | Resolution: Keywords: | Blocked By: Blocking: | -------------------------+------------------------
Comment (by mattdm):
Okay so didn't make the release web site (ah well). Websites team, do you think we can do this as an update?
#234: make click-to-launch-in-EC2 button something that we can log -------------------------+------------------------ Reporter: mattdm | Owner: webmaster Type: enhancement | Status: new Priority: minor | Milestone: ASAP Component: get.fp.o | Resolution: Keywords: | Blocked By: Blocking: | -------------------------+------------------------
Comment (by robyduck):
Yes we can! Let's see if we get this working :)
#234: make click-to-launch-in-EC2 button something that we can log -------------------------+------------------------ Reporter: mattdm | Owner: webmaster Type: enhancement | Status: closed Priority: minor | Milestone: ASAP Component: get.fp.o | Resolution: fixed Keywords: | Blocked By: Blocking: | -------------------------+------------------------ Changes (by robyduck):
* resolution: => fixed * status: new => closed
Comment:
Websites updated, all EC2 links now go through the redirect alias. See ref. e8b3c55.
websites@lists.fedoraproject.org