coolred / analytics-api-samples Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/analytics-api-samples
Automatically exported from code.google.com/p/analytics-api-samples
google analytics api doesn't have problem when I test my web app on my
localhost
What steps will reproduce the problem?
1. Deploy the code to staging server which is located in United State
2.
3.
What is the expected output? What do you see instead?
web site stats and matrix should display, nothings appearing
What version of the product are you using? On what operating system?
Google analytics api v3, centos 6
Please provide any additional information below.
- I used client login when call the API
- My current location in Philippines and my localhost as well
- The Staging server is located in United State having IP
2001:4800:7811:513:be76:4eff:fe05:a5cf
- When I i go to my "https://security.google.com/settings/security/activity" I
see a bunch of notices
4:09 PM Application/device sign-in attempt (prevented) United States
Original issue reported on code.google.com by [email protected]
on 13 Aug 2014 at 9:04
Attachments:
What steps will reproduce the problem?
1. _ga.trackTwitter(opt_pageUrl, opt_trackerName);
2. Click on the Tweet button
3. Internet Explorer Block the popup saying "Internet Explorer has modified
this page to help prevent cross-site scripting" (XSS protection fire...)
Supposed to see the twitter login windows...
Social media analitycs (february 2012)
Original issue reported on code.google.com by [email protected]
on 23 Feb 2012 at 8:21
oioioioioiooioioioioioioioioioioioioioioioi
Original issue reported on code.google.com by [email protected]
on 23 Sep 2013 at 11:57
Attachments:
What steps will reproduce the problem?
1. Integrate EasyTracker in my app
2. My app offers an option to disable analytics
3. The only way I know to disable the tracker is to use ga_dryRun but it is
packaged in XML with the application : cannot change it at runtime
What is the expected output? What do you see instead?
Expected is a way to disable the tracker at runtime, like allowing to set the
EasyTracker#gaEnabled field to false.
What version of the product are you using? On what operating system?
lib Google Analytics 1.4.2
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 24 Apr 2012 at 8:21
patch
Original issue reported on code.google.com by mkos632
on 4 Aug 2013 at 10:05
Attachments:
Fixed a typo
Original issue reported on code.google.com by [email protected]
on 13 Jan 2012 at 4:20
Attachments:
At the top of the source code it states "// Copyright 2011 Google Inc. All
Rights Reserved." However, at the project home of analytics-api-samples, it
states the Code license is Apache License 2.0. My assumption is this code can
be copied and used freely since it is given as a sample. Is this correct? If
so, should the source code be updated to clarify this? Thanks!
Original issue reported on code.google.com by [email protected]
on 9 Jul 2011 at 3:19
The source code comment says "Tracks everytime a user clicks on a tweet
button", so 'tweet' should be 'click', shouldn't it?
Original issue reported on code.google.com by [email protected]
on 20 Dec 2011 at 2:41
Attachments:
Well this is not really a bug but a feature request. The default behavior for
the TrackedActivity is calling a trackPageView with the title obtained on the
getActivityName method.
Often, when i receive an analytics spreadsheet, the names and labels for
tracking are already defined, so the page title im supposed to track is never
the class name of the activity. So either i change the activities names or i
have to override the tracking method.
Also, sometimes when the back button is pressed, i need to change the name of
the tracking, so it would be nice if i could dynamically set a name for my page
instead of getting the class name.
Original issue reported on code.google.com by [email protected]
on 24 Oct 2012 at 4:50
changed the word Anlaytics at line 18 to Analytics
Original issue reported on code.google.com by [email protected]
on 1 Jul 2011 at 6:38
Attachments:
change facebook google analytics track
Original issue reported on code.google.com by [email protected]
on 6 Jun 2013 at 9:38
Attachments:
this is the async file
Original issue reported on code.google.com by [email protected]
on 8 Sep 2011 at 1:31
Attachments:
What steps will reproduce the problem?
1. Create a gadash.Chart (tested types: Table and ColumnChart)
2. Use a TableID for an account with no data.
3. Use the following metrics: 'ga:visitors'
4. Use the following dimensions: 'ga:visitorType'
What is the expected output? What do you see instead?
I am trying to catch when no data is displayed, and show a message. However it
seems the callback for onError cannot fire, and instead a JS error displays:
Uncaught TypeError: Object #<Object> has no method 'defaultOnError' on line 347
of ga-dash-1.0.js
I tested the same function on a GA account with no data, and a GA account with
data, the one with data successfully rendered, the one without threw an error
and would not let me catch the empty rows to provide feedback to the dashboard.
What version of the product are you using? On what operating system?
ga-dash-1.0.js, Google Chrome on Debian Lenny
Please provide any additional information below.
I tested this with the "Table" and the "ColumnChart" object, and both rendered
the same.
Here's the function:
var adWordsTable = new gadash.Chart({
'type': 'ColumnChart',
'divContainer': 'chart-visitors',
'last-n-days':30,
'query': {
'ids': 'ga:60406207', //<-- no visitors, returns js console error
//'ids': 'ga:60052829', //<-- has visitors, renders fine
'metrics': 'ga:visitors',
'dimensions': 'ga:visitorType'
},
'chartOptions': {
chartArea: {left:10,top:10,width:"100%",height:"75%"}
},
'onError': function(){
// This is what I would like to do when there's no data:
$('#adwords-impressions').html('No Data to Display.');
}
}).render();
Original issue reported on code.google.com by [email protected]
on 9 Jun 2012 at 2:44
Steps to reproduce the problem:
1. Try to track custom variables with EasyTracker
2. ???
3. Don't enjoy
Original issue reported on code.google.com by [email protected]
on 6 Feb 2012 at 12:22
add track for facebook comment and uncomment on a page.
Original issue reported on code.google.com by [email protected]
on 5 Nov 2011 at 8:06
Attachments:
Hi All,
I want to use the filters param for my chart
(https://developers.google.com/analytics/devguides/reporting/core/v3/reference?h
l=en#filters).
But I can't...
The Ajax request to googleapis.com return always :
[{"error":{"code":400,"message":"Invalid
Value","data":[{"domain":"global","reason":"invalid","message":"Invalid
Value"}]},"id":"gapiRpc"}]
And this is the code I Use :
var chart1 = new gadash.Chart({
'type': 'LineChart',
'divContainer': 'line-chart-example',
'last-n-days':30,
'query': {
'ids': TABLE_ID,
'metrics': 'ga:visitors',
'dimensions': 'ga:date',
'filters':'ga:city%3D~%5EPa.*'
},
'chartOptions': {
height:600,
title: 'Visites des 30 derniers jours',
hAxis: {title:'Date'},
vAxis: {title:'Visites'},
curveType: 'function'
}
}).render();
Thanks in advance for your help.
Original issue reported on code.google.com by [email protected]
on 15 May 2012 at 6:48
What steps will reproduce the problem?
1.Run the HTML file in Browser
What is the expected output? What do you see instead?
Google analytics chart should display in the browser.
Instead:Some text messages.
What version of the product are you using? On what operating system?
Google analytics 3.0(gadash-1.0.js). Windows 7
Please provide any additional information below.
I have used the code as given in the link:
https://code.google.com/p/analytics-api-samples/source/browse/trunk/src/reportin
g/javascript/ez-ga-dash/demos/set-demo.html?r=41
Please use the following values, if you want to check
Api Key=1e80c5beec301dd956e1bde47f30924c65e9223c
ClientID=409093151061.apps.googleusercontent.com
TableID='ga:79551489'
I have also attached the HTML File(which i have used).
Please check it.
Original issue reported on code.google.com by [email protected]
on 10 Dec 2013 at 2:47
Attachments:
Is it possible to wrap GoogleAnalyticsTracker.setCustomVar() methods in
EasyTracker as well?
Original issue reported on code.google.com by [email protected]
on 30 Mar 2012 at 9:09
Tracking Facebook comment & uncomment with the rev. 26 of ga_social_tracking.js
Original issue reported on code.google.com by [email protected]
on 24 Apr 2012 at 8:40
Attachments:
What steps will reproduce the problem?
1. Change/update the _ga.extractParamFromUri_
2.
3.
What is the expected output? What do you see instead?
The expected output is a clean uri. The output currently is: undefined
What version of the product are you using? On what operating system?
v5, Google Chrome, Mozilla Firefox, Safari and IE.
Please provide any additional information below.
In order to get the function working and return the uri: the function needs to
be replaced with:
/**
* Extracts a query parameter value from a URI.
* @param {string} uri The URI from which to extract the parameter.
* @param {string} paramName The name of the query paramater to extract.
* @return {string} The un-encoded value of the query paramater. underfined
* if there is no URI parameter.
* @private
*/
_ga.extractParamFromUri_ = function(uri, paramName) {
if (!uri) {
return;
}
var uri = uri.split('#')[1]; // Remove anchor.
var parts = uri.split('?'); // Check for query params.
if (parts.length != 1) {
return;
}
var query = decodeURI(parts[0]);
// Find url param.
paramName += '=';
var params = query.split('&');
for (var i = 0, param; param = params[i]; ++i) {
if (param.indexOf(paramName) === 0) {
return unescape(param.split('=')[1]);
}
}
return;
};
Original issue reported on code.google.com by [email protected]
on 6 Oct 2011 at 7:12
added facebook comments box tracking
Original issue reported on code.google.com by [email protected]
on 6 Jan 2012 at 7:16
Attachments:
What steps will reproduce the problem?
1. Add the EasyTracker library
2. Add code to didFinishLaunchingWithOptions
[EasyTracker launchWithOptions:launchOptions
withParameters:nil
withError:nil];
3. Press home key
4. Open app quickly after closing
What is the expected output?
The expected output is a the app running as usual.
What do you see instead?
The app opens to a black screen, sometimes it crashes, sometimes it runs.
When it crashes it says “failed to resume in time"
What version of the product are you using? On what operating system?
EasyTracker 1.0 for iOS
iPhone 3GS running 5.1.1
iPod Touch 4th Generation running iOS6 beta
Original issue reported on code.google.com by [email protected]
on 27 Aug 2012 at 2:49
I am using libGoogleAnalytics and EasyTracker for Android.
I see TrackedActivity and TrackedListActivity, so how to work with MapActivity
Please help me. Thanks!
Original issue reported on code.google.com by [email protected]
on 18 Jan 2012 at 5:48
Tracking Facebook comment & uncomment too.
Original issue reported on code.google.com by [email protected]
on 9 Feb 2012 at 11:19
Attachments:
comment subscribe - fb
Original issue reported on code.google.com by [email protected]
on 27 May 2012 at 2:03
Attachments:
Just a spellingcorrection
Original issue reported on code.google.com by [email protected]
on 4 Jan 2015 at 7:34
Attachments:
Patch for /trunk/src/tracking/javascript/v5/social/facebook_js_sync.html
Original issue reported on code.google.com by [email protected]
on 14 Apr 2012 at 2:42
Attachments:
spelling error
Original issue reported on code.google.com by [email protected]
on 25 Jan 2012 at 9:53
Attachments:
Patch for /trunk/src/tracking/javascript/v5/social/facebook_js_async.html
Original issue reported on code.google.com by [email protected]
on 14 Apr 2012 at 2:40
Attachments:
What steps will reproduce the problem?
1. set ga_dispatchPeriod to 0
What is the expected output? What do you see instead?
No automatich dispatches - but ga_dispatchPeriod=0 seems to mean "dispatch
immediately" (because that's the behaviour I get
What version of the product are you using? On what operating system?
EasyTracker 1.0, google analytics api 1.4.2
Please provide any additional information below.
To disable the auto-dispatch, EasyTracker should call
GoogleAnalyticsTracker.startNewSession(String,Context), instead of
.startNewSession(String,int,Context)
I've patched EasyTracker (and
GoogleAnalyticsTrackerDelegate/GoogleAnalyticsTrackerDelegateImpl) to call this
mth when ga_dispatchPeriod=-1 (so 'immediate dispatch' also remains possible
with ga_dispatchPeriod=0)
Original issue reported on code.google.com by [email protected]
on 21 Mar 2012 at 4:49
test
Original issue reported on code.google.com by [email protected]
on 14 Oct 2012 at 12:30
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.