[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-6376) Usage tracking of JBoss tools

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Tue Aug 3 20:09:49 EDT 2010


    [ https://jira.jboss.org/browse/JBIDE-6376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12542873#action_12542873 ] 

Andre Dietisheim commented on JBIDE-6376:
-----------------------------------------

We used so far a Java API (http://code.google.com/p/jgoogleanalytics/) to mimic the official google javascript API for google analytics. This API requests the google analytics gif with arguments that provide the various indications that google analytics needs and is able to display. 
Google - in contrast - offers an (official) javascript library that users may include in their web site.
>From my experiments with JGoogleAnalytics I have the impression that it is very error prone. Slight variations of the parameters result in (illegal/unknown) accesses that are not tracked by google analytics. 
I therefore looked for ways to use the original google (javascript) API in our eclipse bundle. My guess is that this approach would be by far more stable API-wards and less error prone. 
I found an easy way in the SWT browser widget that allows java to execute javascript and even callbacks from the executed javascript.

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet307.java?view=co

even more informations and examples may be found at vogellas page:
http://www.vogella.de/blog/2009/10/29/javascript-swt-browser-widget/

I'd propose to drop JGoogleAnalytics and replace it by proper usage of the SWT-Browser widget.  What do you think of this approach?

> Usage tracking of JBoss tools
> -----------------------------
>
>                 Key: JBIDE-6376
>                 URL: https://jira.jboss.org/browse/JBIDE-6376
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: core
>            Reporter: Max Rydahl Andersen
>            Assignee: Andre Dietisheim
>            Priority: Critical
>             Fix For: 3.2.0.M2
>
>
> We would like to know how many actually use jboss tools.
> We got some data from eclipse update sites but they are unreliable.
> Better if we could do a simple ping to a server to track when eclipse is started with JBoss Tools.
> Default will be on, but should be easy to disable.
> Default should not track more than what a visit to a webpage tracks.
> Suggestion is to use Google Analytics to track it.
> jgoogleanalytics could be a good basis for this. http://code.google.com/p/jgoogleanalytics/
> Other requirements:
> Should not ping more than once a day (per workspace or per eclipse instance ?, per workspace I would say)
> Should be done asynchronosuly to not have any UI delays
> Should have some way to anonymously track users so we don't skew the usage data

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list