On Feb 9, 2013 9:26 AM, "Nicholas Kwiatkowski" <nicho...@spoon.as> 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 installer, but > shouldn't be a big deal to do.
I think this is the best option. This way, we have more control. > - Figure out a way to parse the webserver logs for the > single-mirror-url.cgi file. The web server logs are currently split up > between two clusters. Each cluster is generating about 3GB worth of logs > per day (~250MB zipped up) -- for all the projects (ALL hits to http are > stuffed into a single log file per cluster, rotated daily). We would need > to figure out a way to parse and present that data. I could do it on > occasion, but having an automated way would be even nicer... > Sounds like a bit of a hassle to me. Moreover, I would like to reduce the dependency in Infra as much as possible. How would this work for the source and manual binary downloads? Thanks, Om > What are your thoughts? > > -Nick > > On Sat, Feb 9, 2013 at 12:05 PM, Lee Burrows > <subscripti...@leeburrows.com>wrote: > > > 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. 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 track download start, complete, abort, etc. > >> > >> But, if we want to track how many people download the installer, the > >> source > >> and binary kits manually, we will need to track them as custom events. > >> > >> Thanks, > >> Om > >> On Feb 9, 2013 6:51 AM, "Nicholas Kwiatkowski" <nicho...@spoon.as> wrote: > >> > >> 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 it will be integrated into the Google stats. > >>> > >>> -Nick > >>> > >>> On Mon, Feb 4, 2013 at 2:58 PM, Om <bigosma...@gmail.com> wrote: > >>> > >>> Nick, > >>>> > >>>> Now that we have basic tracking enabled on our site, I would like to > >>>> > >>> start > >>> > >>>> tracking the number of times the installer and more importantly the > >>>> > >>> number > >>> > >>>> of times the sdk is downloaded. > >>>> > >>>> I am not sure how to integrate custom javascript with our CMS. Can you > >>>> please give me some pointers as to how to do this? > >>>> > >>>> Here is some literature about GA's custom event tracking [1] > >>>> > >>>> Thanks, > >>>> Om > >>>> > >>>> [1] > >>>> > >>>> > >>>> https://developers.google.com/**analytics/devguides/**collection/gajs/ > >>> **eventTrackerGuide< https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide > > >>> > >> > > > > -- > > Lee Burrows > > ActionScripter > > > >