Upload
max-andersen
View
894
Download
3
Tags:
Embed Size (px)
DESCRIPTION
http://www.eclipsecon.org/2013/sessions/google-analytics-eclipse-plugins
Citation preview
Google Analytics for Eclipse Plugins
by Andre Dietisheim & Max Rydahl Andersen
Red Hat
Monday 25 March 13
The Challenge
Monday 25 March 13
How it works...
Monday 25 March 13
How it works...
Monday 25 March 13
How it works...
Monday 25 March 13
How it works...
http://www.google-analytics.com/__utm.gif?....
Monday 25 March 13
How it works...
Monday 25 March 13
org.jboss.tools.usage
Monday 25 March 13
Github
github.com/jbosstools/jbosstools-base
based on
code.google.com/p/jgoogleanalytics/
Monday 25 March 13
Separation of concerns
Monday 25 March 13
Triumvirate
Monday 25 March 13
Is Eclipse a browser?
Monday 25 March 13
Pretend we are!
Monday 25 March 13
Browser User Agent
USERAGENT_WIN = "{0}/{1} (Windows; U; Windows NT {2}; {3})";USERAGENT_MAC = "{0}/{1} (Macintosh; U; Intel Mac OS X {2}; {3})";USERAGENT_LINUX = "{0}/{1} (X11; U; Linux i686; {3})";
Monday 25 March 13
Linux Distribution?
public String getUserDefined() { return getLinuxDistroNameAndVersion();}
Monday 25 March 13
Flash Version?
public String getFlashVersion() { return getJavaVersion();} private String getJavaVersion() { return System.getProperty(SYSPROP_JAVA_VERSION);}
Monday 25 March 13
Disguise!
BrandingMonday 25 March 13
Customization
Monday 25 March 13
An OSGI service at hand
public interface IUsageBranding { public String getStartupAllowReportingTitle();
public String getStartupAllowReportingMessage(); public String getGoogleAnalyticsAccount(); public String getGoogleAnalyticsReportingHost();
com.jboss.jbds.usage.branding
Monday 25 March 13
...is this thing even legal !?
Legal ?
Monday 25 March 13
Monday 25 March 13
Monday 25 March 13
Monday 25 March 13
What have we learned/found ?
Monday 25 March 13
Monday 25 March 13
4%
12%
84%
WindowsLinuxMac
Monday 25 March 13
20%
4%
12%
64%
WindowsLinuxMacWindows XP
Monday 25 March 13
Monday 25 March 13
Monday 25 March 13
Monday 25 March 13
Monday 25 March 13
NextMonday 25 March 13
Q & A
github.com/jbosstools/jbosstools-base
@adietsheim@maxandersen
Monday 25 March 13