You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Om <bi...@gmail.com> on 2013/02/04 20:58:46 UTC

Tracking sdk and installer downloads

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

Re: Tracking sdk and installer downloads

Posted by Om <bi...@gmail.com>.
On Mon, Feb 11, 2013 at 3:14 AM, Bertrand Delacretaz <bdelacretaz@apache.org
> wrote:

> Hi,
>
> On Sat, Feb 9, 2013 at 5:50 PM, Om <bi...@gmail.com> 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 should be warned that the installer
> collects statistics about its use, using http requests - you don't
> want to be spying on people without letting them know.
>

Agreed.  That is the right thing to do.

Thanks,
Om

Re: Tracking sdk and installer downloads

Posted by Om <bi...@gmail.com>.
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 want, we can go the route of the GA swc
file.  Licensing, build scripts etc. needs to be looked at in that case.

Thanks,
Om

On Wed, Feb 13, 2013 at 8:38 PM, Alex Harui <ah...@adobe.com> wrote:

> 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" <ni...@spoon.as> 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 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, 2013 at 6:07 PM, Om <bi...@gmail.com> wrote:
> >
> >> On Mon, Feb 11, 2013 at 10:20 AM, Nicholas Kwiatkowski <
> nicholas@spoon.as
> >>> 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 downloads, nor can we use JavaScript to track the XML file used
> by
> >>> the SDK installer.
> >>>
> >>> A lot of this stems from us not having any server-side scripting other
> >> than
> >>> CGI (and those don't have access to the filesystem).
> >>>
> >>> -Nick
> >>>
> >>>
> >> Nick, any progress on this?  If we go with the approach of using the GA
> >> flex component (for the Installer), what else would we need?
> >>
> >> Thanks,
> >> Om
> >>
>
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>
>

Re: Tracking sdk and installer downloads

Posted by Alex Harui <ah...@adobe.com>.
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" <ni...@spoon.as> 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 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, 2013 at 6:07 PM, Om <bi...@gmail.com> wrote:
> 
>> On Mon, Feb 11, 2013 at 10:20 AM, Nicholas Kwiatkowski <nicholas@spoon.as
>>> 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 downloads, nor can we use JavaScript to track the XML file used by
>>> the SDK installer.
>>> 
>>> A lot of this stems from us not having any server-side scripting other
>> than
>>> CGI (and those don't have access to the filesystem).
>>> 
>>> -Nick
>>> 
>>> 
>> Nick, any progress on this?  If we go with the approach of using the GA
>> flex component (for the Installer), what else would we need?
>> 
>> Thanks,
>> Om
>> 

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Re: Tracking sdk and installer downloads

Posted by Nicholas Kwiatkowski <ni...@spoon.as>.
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, 2013 at 6:07 PM, Om <bi...@gmail.com> wrote:

> On Mon, Feb 11, 2013 at 10:20 AM, Nicholas Kwiatkowski <nicholas@spoon.as
> >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 downloads, nor can we use JavaScript to track the XML file used by
> > the SDK installer.
> >
> > A lot of this stems from us not having any server-side scripting other
> than
> > CGI (and those don't have access to the filesystem).
> >
> > -Nick
> >
> >
> Nick, any progress on this?  If we go with the approach of using the GA
> flex component (for the Installer), what else would we need?
>
> Thanks,
> Om
>

Re: Tracking sdk and installer downloads

Posted by Om <bi...@gmail.com>.
On Mon, Feb 11, 2013 at 10:20 AM, Nicholas Kwiatkowski <ni...@spoon.as>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 downloads, nor can we use JavaScript to track the XML file used by
> the SDK installer.
>
> A lot of this stems from us not having any server-side scripting other than
> CGI (and those don't have access to the filesystem).
>
> -Nick
>
>
Nick, any progress on this?  If we go with the approach of using the GA
flex component (for the Installer), what else would we need?

Thanks,
Om

Re: Tracking sdk and installer downloads

Posted by Nicholas Kwiatkowski <ni...@spoon.as>.
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 installer.

A lot of this stems from us not having any server-side scripting other than
CGI (and those don't have access to the filesystem).

-Nick


On Mon, Feb 11, 2013 at 12:12 PM, Om <bi...@gmail.com> wrote:

> On Mon, Feb 11, 2013 at 9:08 AM, Alex Harui <ah...@adobe.com> 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 Kwiatkowski" <ni...@spoon.as> wrote:
> >
> > > 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.
> > >
> > > I've offered to run the logs locally on my machine on occasion, but for
> > > those hoping for something more realtime, I'm still at a loss for a
> good
> > > solution..
> > >
> > > -Nick
> > >
> > > On Mon, Feb 11, 2013 at 11:19 AM, Alex Harui <ah...@adobe.com> wrote:
> > >
> > >>
> > >>
> > >>
> > >> On 2/11/13 4:40 AM, "Nicholas Kwiatkowski" <ni...@spoon.as> 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 is a download count, and could really care less about the rest
> (we
> > >>> can extrapolate the rest from the website stats). INFRA has been
> pretty
> > >>> strong on their stance that they only want to provide the website
> logs
> > >> and
> > >>> that's it.
> > >>>
> > >> I don't understand how tracking works, but doesn't the installer hit
> an
> > xml
> > >> file on our site?
> > >>
> > >> --
> > >> Alex Harui
> > >> Flex SDK Team
> > >> Adobe Systems, Inc.
> > >> http://blogs.adobe.com/aharui
> > >>
> > >>
> >
> > --
> > Alex Harui
> > Flex SDK Team
> > Adobe Systems, Inc.
> > http://blogs.adobe.com/aharui
> >
> >
>

Re: Tracking sdk and installer downloads

Posted by Om <bi...@gmail.com>.
On Mon, Feb 11, 2013 at 9:08 AM, Alex Harui <ah...@adobe.com> 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 Kwiatkowski" <ni...@spoon.as> wrote:
>
> > 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.
> >
> > I've offered to run the logs locally on my machine on occasion, but for
> > those hoping for something more realtime, I'm still at a loss for a good
> > solution..
> >
> > -Nick
> >
> > On Mon, Feb 11, 2013 at 11:19 AM, Alex Harui <ah...@adobe.com> wrote:
> >
> >>
> >>
> >>
> >> On 2/11/13 4:40 AM, "Nicholas Kwiatkowski" <ni...@spoon.as> 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 is a download count, and could really care less about the rest (we
> >>> can extrapolate the rest from the website stats). INFRA has been pretty
> >>> strong on their stance that they only want to provide the website logs
> >> and
> >>> that's it.
> >>>
> >> I don't understand how tracking works, but doesn't the installer hit an
> xml
> >> file on our site?
> >>
> >> --
> >> Alex Harui
> >> Flex SDK Team
> >> Adobe Systems, Inc.
> >> http://blogs.adobe.com/aharui
> >>
> >>
>
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>
>

Re: Tracking sdk and installer downloads

Posted by Alex Harui <ah...@adobe.com>.
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" <ni...@spoon.as> wrote:

> 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.
> 
> I've offered to run the logs locally on my machine on occasion, but for
> those hoping for something more realtime, I'm still at a loss for a good
> solution..
> 
> -Nick
> 
> On Mon, Feb 11, 2013 at 11:19 AM, Alex Harui <ah...@adobe.com> wrote:
> 
>> 
>> 
>> 
>> On 2/11/13 4:40 AM, "Nicholas Kwiatkowski" <ni...@spoon.as> 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 is a download count, and could really care less about the rest (we
>>> can extrapolate the rest from the website stats). INFRA has been pretty
>>> strong on their stance that they only want to provide the website logs
>> and
>>> that's it.
>>> 
>> I don't understand how tracking works, but doesn't the installer hit an xml
>> file on our site?
>> 
>> --
>> Alex Harui
>> Flex SDK Team
>> Adobe Systems, Inc.
>> http://blogs.adobe.com/aharui
>> 
>> 

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Re: Tracking sdk and installer downloads

Posted by Nicholas Kwiatkowski <ni...@spoon.as>.
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.

I've offered to run the logs locally on my machine on occasion, but for
those hoping for something more realtime, I'm still at a loss for a good
solution..

-Nick

On Mon, Feb 11, 2013 at 11:19 AM, Alex Harui <ah...@adobe.com> wrote:

>
>
>
> On 2/11/13 4:40 AM, "Nicholas Kwiatkowski" <ni...@spoon.as> 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 is a download count, and could really care less about the rest (we
> > can extrapolate the rest from the website stats). INFRA has been pretty
> > strong on their stance that they only want to provide the website logs
> and
> > that's it.
> >
> I don't understand how tracking works, but doesn't the installer hit an xml
> file on our site?
>
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>
>

Re: Tracking sdk and installer downloads

Posted by Alex Harui <ah...@adobe.com>.


On 2/11/13 4:40 AM, "Nicholas Kwiatkowski" <ni...@spoon.as> 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 is a download count, and could really care less about the rest (we
> can extrapolate the rest from the website stats). INFRA has been pretty
> strong on their stance that they only want to provide the website logs and
> that's it.
> 
I don't understand how tracking works, but doesn't the installer hit an xml
file on our site?

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Re: Tracking sdk and installer downloads

Posted by Nicholas Kwiatkowski <ni...@spoon.as>.
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
can extrapolate the rest from the website stats). INFRA has been pretty
strong on their stance that they only want to provide the website logs and
that's it.

-Nick

On Mon, Feb 11, 2013 at 6:14 AM, Bertrand Delacretaz <bdelacretaz@apache.org
> wrote:

> Hi,
>
> On Sat, Feb 9, 2013 at 5:50 PM, Om <bi...@gmail.com> 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 should be warned that the installer
> collects statistics about its use, using http requests - you don't
> want to be spying on people without letting them know.
>
> -Bertrand
>

Re: Tracking sdk and installer downloads

Posted by Bertrand Delacretaz <bd...@apache.org>.
Hi,

On Sat, Feb 9, 2013 at 5:50 PM, Om <bi...@gmail.com> 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 should be warned that the installer
collects statistics about its use, using http requests - you don't
want to be spying on people without letting them know.

-Bertrand

Re: Tracking sdk and installer downloads

Posted by Nicholas Kwiatkowski <ni...@spoon.as>.
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 11:50 AM, Om <bi...@gmail.com> 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" <ni...@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 <bi...@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
> > >
> >
>

Re: Tracking sdk and installer downloads

Posted by Om <bi...@gmail.com>.
On Sat, Feb 9, 2013 at 1:44 PM, Nicholas Kwiatkowski <ni...@spoon.as>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/devguides/collection/other/flashTrackingSetupFlex
> (I've used that in quite a few of project I've developed.  You just
> send
> it the fake url that we will track.)
>
>
Sure, let me know what url I should call.



> As far as option #2.  There is no dependence on Infra... Only on us to
> download the logs and process them.  I'll probably end up grabbing them
> since Dec when we released 4.9 just to see how many downloads we've had so
> far.
>
>
That would be fantastic!

Thanks,
Om



> -Nick
>
> On Sat, Feb 9, 2013 at 3:42 PM, Om <bi...@gmail.com> wrote:
>
> > On Feb 9, 2013 9:26 AM, "Nicholas Kwiatkowski" <ni...@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
> > > <su...@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" <ni...@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 <bi...@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
> > > >
> > > >
> >
>

Re: Tracking sdk and installer downloads

Posted by Nicholas Kwiatkowski <ni...@spoon.as>.
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 quite a few of project I've developed.  You just
send
it the fake url that we will track.)

As far as option #2.  There is no dependence on Infra... Only on us to
download the logs and process them.  I'll probably end up grabbing them
since Dec when we released 4.9 just to see how many downloads we've had so
far.

-Nick

On Sat, Feb 9, 2013 at 3:42 PM, Om <bi...@gmail.com> wrote:

> On Feb 9, 2013 9:26 AM, "Nicholas Kwiatkowski" <ni...@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
> > <su...@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" <ni...@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 <bi...@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
> > >
> > >
>

Re: Tracking sdk and installer downloads

Posted by Om <bi...@gmail.com>.
On Feb 9, 2013 9:26 AM, "Nicholas Kwiatkowski" <ni...@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
> <su...@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" <ni...@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 <bi...@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
> >
> >

Re: Tracking sdk and installer downloads

Posted by Nicholas Kwiatkowski <ni...@spoon.as>.
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 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...

What are your thoughts?

-Nick

On Sat, Feb 9, 2013 at 12:05 PM, Lee Burrows
<su...@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" <ni...@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 <bi...@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
>
>

Re: Tracking sdk and installer downloads

Posted by Lee Burrows <su...@leeburrows.com>.
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" <ni...@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 <bi...@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


-- 
Lee Burrows
ActionScripter


Re: Tracking sdk and installer downloads

Posted by Om <bi...@gmail.com>.
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" <ni...@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 <bi...@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
> >
>

Re: Tracking sdk and installer downloads

Posted by Nicholas Kwiatkowski <ni...@spoon.as>.
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 <bi...@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
>