Git Product home page Git Product logo

jgoogleanalyticstracker's People

Contributors

andrewswan avatar dependabot[bot] avatar dmurph avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

gooutnet

jgoogleanalyticstracker's Issues

Add support for custom variables

It would be nice to have support for custom variables when tracking the 
analytics.

custom variables are documented here: 
http://code.google.com/apis/analytics/docs/tracking/gaTrackingCustomVariables.ht
ml

thanks for your nice work.


Original issue reported on code.google.com by ruben01 on 16 May 2011 at 10:18

Using JGoogleAnalytics, I would like to track durations

Nature of the problem?
 Although there are metrics of "Average Time" for page views, I see no
 way to record a response time for a Java application.

What is the desired output? What do you see instead?
 I would like to know how to record information that would tell me
 the kinds of response times users are getting, and the amount of
 time processes are taking (if they are asynchronous).

What version of the product are you using? On what operating system?
 Using Java 1.6 on Linux.  JGoogleAnalytics_0.4.jar


Please provide any additional information below.
 I thought of using a custom URL builder, but realized that rather than
 an x=y, the __utmv seems to record only tags, not name/value pairs.

Otherwise, I found the process very easy to use with lots of valuable 
information.  I use it for other projects as well.
Thanks,


Original issue reported on code.google.com by [email protected] on 5 Jun 2012 at 5:29

It should be possible to send information with the user agent

The google analytics for android sdk sends information about the phone to the 
google analytics service.

AnalyticsConfigData should have a field for the user agent and then that field 
could be generated according to the platform.

Currently on android the user agent is generated as:

String.format("%s/%s (Linux; U; Android %s; %s-%s; %s; Build/%s)", new Object[] 
{ userAgentProduct, userAgentVersion, Build.VERSION.RELEASE, 
(locale.getLanguage() != null) ? locale.getLanguage().toLowerCase() : "en", 
(locale.getCountry() != null) ? locale.getCountry().toLowerCase() : "", 
Build.MODEL, Build.ID });

using the information from the android api.

Original issue reported on code.google.com by ruben01 on 31 May 2011 at 1:47

trackevent and custom variables

Could the method "trackevent" uses custom variables? 

example:

tracker.trackEvent(setCustomVar)


Thanks in advance for the answer.

Alessio

Original issue reported on code.google.com by [email protected] on 24 Nov 2011 at 10:59

Always report SLF4J error: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

What steps will reproduce the problem?
1. Put JGoogleAnalyticsTracker-1.2.1-SNAPSHOT.jar, slf4j-api-1.6.6.jar, 
slf4j-simple-1.6.6.jar into Libraries of Project

2. Run Project to execute

3. Report SLF4J error: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

( Same result with 
JGoogleAnalyticsTracker-1.2.1-SNAPSHOT-jar-with-dependencies.jar only )

What is the expected output? What do you see instead?
Is there any way to fix this?
http://www.slf4j.org/codes.html#StaticLoggerBinder said should solve this with 
slf4j-simple-1.6.6.jar, but I've done it.

What version of the product are you using? On what operating system?
JGoogleAnalyticsTracker-1.2.1, WinXP, Eclipse

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 15 Aug 2012 at 4:30

1.2.1 Release

Hi,

could you please release the pom as 1.2.1 without the SNAPSHOT as it is stable for few years and used? Thanks

typo in GoogleAnalyticsV4_7_2

What steps will reproduce the problem?
1. track event
2.
3.

What is the expected output? What do you see instead?
URI parsing exception


What version of the product are you using? On what operating system?
downloaded latest from Download section


Please provide any additional information below.
replaced this "%7utmcmd%3D" to "%7Cutmcmd%3D" and it worked

Original issue reported on code.google.com by [email protected] on 27 Oct 2012 at 10:55

Extract analytics config data from the android api

There should be a way to configure the analytics data for the android phone 
using the android data.

I have an initial version on this project 
https://github.com/gemserk/jgoogleanalyticstracker-platform

the project uses the jgoogleanalyticstracker library as a dependency and 
provides a way to configure the analytics tracker from android and desktop.

for now I can configure:
 * encoding
 * locale
 * screen width and height

Original issue reported on code.google.com by ruben01 on 31 May 2011 at 12:32

trackevent() does not send all events

Hi,
I've a problem with trackevent() method. I implemented the code for the 
tracking of events in the correct way. I say correct way because events in the 
content section are updated. But I noticed that not all events that I send are 
tracked. 


Thanks in advance for the answer.

Alessio

Original issue reported on code.google.com by [email protected] on 25 Nov 2011 at 1:56

Fails when using it on android

I am making games that run on the desktop as well as on android.

This library fails to work on android because when loading the 
com.dmurph.tracking.AnalyticsConfigData class and running validation on it, it 
finds the calls to awt that are not present on android, so it fails to load the 
class.

I think splitting this class so the populateFromSystem method is in another 
class that wouldn't be loaded when using it from android would allow this 
library to be used on android.

I am not using the official google analytics for android library because I want 
my code to be common between desktop and android, and the android library won't 
work on the desktop.



Original issue reported on code.google.com by ruben01 on 24 May 2011 at 3:39

can't explicitly start the background thread

The method to start the background thread is private, so it can't be explicitly 
started after it's been stopped.

Workaround: call setMode(DispatchMode.SINGLE_THREAD), which automatically 
starts the dispatch thread if needed.

Original issue reported on code.google.com by [email protected] on 11 Jan 2011 at 4:24

Support unique visitors count

Android analytics supports the measure of unique visitors, from looking at the 
official google analytics for android SDK in order to use that from the 
jgoogleanalyticstracker we need to do some stuff:

 * be able to maintain a visitorId throughout all of the visits from the same visitor
 * keep track of some timestamps 

right now the code does
&utmcc=__utma%3D"+cookie1+"."+cookie2+"."+now+"."+now+"."+now+"."+"13

the android code does

StringBuilder cookieString = new StringBuilder();
     cookieString.append("__utma=");
     cookieString.append(FAKE_DOMAIN_HASH).append(".");
     cookieString.append(event.userId).append(".");
     cookieString.append(event.timestampFirst).append(".");
     cookieString.append(event.timestampPrevious).append(".");
     cookieString.append(event.timestampCurrent).append(".");
     cookieString.append(event.visits);


FAKE_DOMAIN_HASH is just a constant set to 999 in the sdk, userId is the 
persisted visitorId, the other timestamps track the time of first visit with 
this visitorId, the time of the last visit, and the current time, and then it 
sends how many times we started a visit with this visitorId



I think that we should add all this parameters as part of the 
AnalyticsConfigData and then provide simple implementations of how to store 
them depending on platform, like on desktop using java.util.prefs.Preferences 
and on android using SharedPreferences



Original issue reported on code.google.com by ruben01 on 28 May 2011 at 8:59

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.