Re: Tracking sdk and installer downloads

2013-02-09 Thread Nicholas Kwiatkowski
I don't think we will be able to use JavaScript to be able to catch all the downloads (or even a large portion of them). Since most of the downloads come from the Installer, we can't depend on people hitting them with JavaScript. Still looking at other ways to see what we can do. I don't think i

Re: Tracking sdk and installer downloads

2013-02-09 Thread Om
I was thinking about this. I wanted to have a hidden html component in the Installer that would call a special page which simply calls the js function on load. This page would be called only from the Installer. Or, we could have the installer call the functions manually as well. This way we can t

Re: Tracking sdk and installer downloads

2013-02-09 Thread Nicholas Kwiatkowski
I'm on IRC with infa right now. probing them to see what their thoughts are. I did get logging turned on for the cgi a few months ago, but it is combined with every other http request we have. We would need to sync up a bunch of log files and parse them manually. -Nick On Sat, Feb 9, 2013 at 1

Re: Tracking sdk and installer downloads

2013-02-09 Thread Lee Burrows
Couldn't the installer use URLLoader or Loader to access some URL on the server, triggering a page hit? On 09/02/2013 16:50, Om wrote: I was thinking about this. I wanted to have a hidden html component in the Installer that would call a special page which simply calls the js function on load.

Re: Tracking sdk and installer downloads

2013-02-09 Thread Nicholas Kwiatkowski
So, pretty much we have two options : - Add javascript to all the download links to send tracking data to Google. Also, add additional code to do google tracking within the SDK installer. That would require a new release of the installer, but shouldn't be a big deal to do. - Figure out a way

Re: Tracking sdk and installer downloads

2013-02-09 Thread Om
On Feb 9, 2013 9:26 AM, "Nicholas Kwiatkowski" wrote: > > So, pretty much we have two options : > > - Add javascript to all the download links to send tracking data to > Google. Also, add additional code to do google tracking within the SDK > installer. That would require a new release of the

Re: Tracking sdk and installer downloads

2013-02-09 Thread Nicholas Kwiatkowski
We can use the same tracking code that the OO came up with for those download links. Do you want to work on making the changes needed for the SDK installer? I would use this framework : https://developers.google.com/analytics/devguides/collection/other/flashTrackingSetupFlex (I've used that in qu

Re: Tracking sdk and installer downloads

2013-02-09 Thread Om
On Sat, Feb 9, 2013 at 1:44 PM, Nicholas Kwiatkowski wrote: > We can use the same tracking code that the OO came up with for those > download links. Do you want to work on making the changes needed for the > SDK installer? I would use this framework : > > https://developers.google.com/analytics/

Re: Tracking sdk and installer downloads

2013-02-11 Thread Bertrand Delacretaz
Hi, On Sat, Feb 9, 2013 at 5:50 PM, Om wrote: > I was thinking about this. I wanted to have a hidden html component in the > Installer that would call a special page which simply calls the js function > on load. This page would be called only from the Installer IMO, if that happens users sh

Re: Tracking sdk and installer downloads

2013-02-11 Thread Nicholas Kwiatkowski
Agreed. That's why I've been trying to get anonymous statistics -- ones that can't be tied back to an individual (like Google), but without the ability to write anything to disk locally, we are pretty much stuck. All I really want is a download count, and could really care less about the rest (we

Re: Tracking sdk and installer downloads

2013-02-11 Thread Alex Harui
On 2/11/13 4:40 AM, "Nicholas Kwiatkowski" wrote: > Agreed. > > That's why I've been trying to get anonymous statistics -- ones that can't > be tied back to an individual (like Google), but without the ability to > write anything to disk locally, we are pretty much stuck. All I really > want

Re: Tracking sdk and installer downloads

2013-02-11 Thread Nicholas Kwiatkowski
Yes, and it also hits the mirror CGI script that we have setup. One of the options we talked about was just parsing the web server logs for those files -- the problem is we would have to grab ~6GB worth of logs a day in order to parse just for those files... And the processing time along with it.

Re: Tracking sdk and installer downloads

2013-02-11 Thread Alex Harui
How are we tracking the other stuff? Something about running JS? What does that JS do that the CGI script or a redirect can't do? On 2/11/13 8:34 AM, "Nicholas Kwiatkowski" wrote: > Yes, and it also hits the mirror CGI script that we have setup. One of the > options we talked about was just

Re: Tracking sdk and installer downloads

2013-02-11 Thread Om
On Mon, Feb 11, 2013 at 9:08 AM, Alex Harui wrote: > How are we tracking the other stuff? Something about running JS? What > does > that JS do that the CGI script or a redirect can't do? > > Write to google analytics. The ga js scripts do that for us. > > On 2/11/13 8:34 AM, "Nicholas Kwiatk

Re: Tracking sdk and installer downloads

2013-02-11 Thread Om
On Mon, Feb 11, 2013 at 3:14 AM, Bertrand Delacretaz wrote: > Hi, > > On Sat, Feb 9, 2013 at 5:50 PM, Om wrote: > > I was thinking about this. I wanted to have a hidden html component in > the > > Installer that would call a special page which simply calls the js > function > > on load. This pa

Re: Tracking sdk and installer downloads

2013-02-11 Thread Nicholas Kwiatkowski
We are tracking via Google Analytics for the rest of the website. It covers any page that is under the new template. Unfortunately, we can't include JavaScript in the CGI scripts that determine the site mirror to track downloads, nor can we use JavaScript to track the XML file used by the SDK ins

Re: Tracking sdk and installer downloads

2013-02-13 Thread Om
On Mon, Feb 11, 2013 at 10:20 AM, Nicholas Kwiatkowski wrote: > We are tracking via Google Analytics for the rest of the website. It > covers any page that is under the new template. Unfortunately, we can't > include JavaScript in the CGI scripts that determine the site mirror to > track downloa

Re: Tracking sdk and installer downloads

2013-02-13 Thread Nicholas Kwiatkowski
I'm thinking up a scheme that we can use to track these things. If you want to start to build in the SWC that they provided (can we, licensing wise?). We will need to provide a checkbox that opts the user out (which when unchecked, will simply not have the GA call made). -Nick On Wed, Feb 13, 2

Re: Tracking sdk and installer downloads

2013-02-13 Thread Alex Harui
We need a SWC? Installer and badge installer run AIR, don't they? Could we just use HTMLLoader to hit a page on our site? On 2/13/13 5:33 PM, "Nicholas Kwiatkowski" wrote: > I'm thinking up a scheme that we can use to track these things. > > If you want to start to build in the SWC that they

Re: Tracking sdk and installer downloads

2013-02-18 Thread Om
I've checked in the changes to the installer that would let us track a successful installation. The page flex.apache.org/track-installer.htmlwould be loaded when the installation finishes successfully. This change should go out with the installer's next release. If this does not work the way we