Most voted "google-analytics" questions
Google Analytics is a free service offered by Google in which the webmaster receives statistics of visitation from its website.
Learn more…58 questions
Sort by count of
-
19
votes2
answers594
viewsCollect Google Analytics data for Mysql tables
I have seen many examples of how to export data from Google Analytics to other formats as well as keep the exported data updated, but none so far served to export the data to Mysql given the…
-
9
votes1
answer164
viewsHow Google Analytics Works
How can Google Analytics verify the origin of the click? How the API knows the keywords that originated the Google search (which reached the site)? Those doubts have haunted me for years. If anyone…
-
8
votes3
answers1134
viewsRetrieve statistics from a website
I would like to know how to retrieve Google Analytics statistics on my website in real time. The idea is to recover data such as how many visitors I have online at the time on a given page or how…
-
8
votes1
answer119
viewsDesign has more than 65536 methods
When adding the Analytics Package to the project, an error occurred in the project. As explained on this blog , the error occurs when the project has more than 65536 methods (only the added Google…
-
7
votes1
answer859
viewsTransfer ownership of a "Property" from Google Analytics?
The documentation on the ownership of Google Analytics accounts does not clarify whether it is possible to transfer ownership of certain Property user A to user B. I found this answer on SOEN given…
-
7
votes1
answer233
viewsTrack navigation with Analytics from single pages that have Javascript navigation
I recently created a personal page and would like to track the most visited areas of the site. The problem is that the page is composed of a single file (ex: index.html) and the navigation is all…
-
5
votes1
answer360
viewsHow do I add Google Analytics to my Android app?
I want to use Google Analytics to collect more information about using my apps, such as adding Google Analytics to my Android app?
-
3
votes1
answer700
viewsHow to use the Google Analytics API?
The examples, the registration in the Google Developers Console, I found everything very convoluted. How to create a "simple" PHP Hello Analytics?
-
3
votes0
answers85
viewsCollect combined data from content with different Urls in Google Analytics
By collecting Google Analytics information for the local database, I end up consuming multiple requests for data relating to the same article on the web-site. This occurred given the evolution of…
-
3
votes1
answer65
viewsBounce rate from strange addresses
Guys, I have a little problem.. At the beginning of this year I started to receive a huge number of visits from other countries coming from sites like: Traffic2cash.Xyz (This is the one that has the…
google-analyticsasked 8 years, 11 months ago Vinny Scrouth 187 -
3
votes1
answer181
viewsHow to configure the GTAG User Id in external JS file by picking PHP variable?
As PHP use in the backend, to configure the inline user id just give a echo of the variable $userId, for ex: if (isset($userId)) { $gacode = "ga('create', 'xxx', 'auto', {'userId': $userId});"; echo…
-
2
votes2
answers1657
viewsHow to display Google Analytics results on the website?
I’ve been using Google Analytics for some time, but now I wanted to show the results on a page. I have some problems understanding how it works. I would like you to advise me a guide/tutorial or…
-
2
votes2
answers186
viewsHow do I add real-time analytics of views to my questions and answers in the OS?
It is possible to add some kind of live monitoring or analysis of the views to the questions and/or answers I post here on the stack overflow? In the background it will be possible to add Analytics…
google-analyticsasked 10 years, 7 months ago CMPSoares 304 -
2
votes0
answers439
viewsHow to Create an Event in Google Analytics
How to create an event to know how many clicks you had on my website’s video that is inside an iframe? For example: <iframe width="100%" height="480"…
google-analyticsasked 9 years, 2 months ago Lets 21 -
2
votes0
answers69
viewsAPI Analytics returns incorrect date with correct values
Using the Analytics SDK to perform queries, I enter the values for the dimensions, metrics, start-date and end-date. I get the result of the query with the correct data as I checked in the panel…
-
2
votes0
answers24
viewsProject Problems - Firebase + Analytics
Hello. I use Google Newsstand Producer by generating articles from my website to the Google News App. To use Analytics, it was necessary to create a project in Firebase. I did, and when I went back…
-
2
votes0
answers38
viewsregex in Analytics API
I’m writing a code in Google App Script using the Google Analytics API where I make a request using a regex filter. A similar example is written below: var id = xxxxxxx; var startDate =…
-
1
votes1
answer60
viewsHow to implement Google Analytics Gaitrackedviewcontroller for iOS together with Uitableviewcontroller <Nsxmlparserdelegate>?
How to insert the Google Analytics Gaitrackedviewcontroller into the code below without removing the Uitableviewcontroller from this line? @interface STNavigationViewController:UITableViewController…
-
1
votes0
answers107
viewsGmail blocks server when trying to log in
I am using a google Analytics api in php to show my site the data of Analytics. What happens is, when you authenticate, google blocks access to the server. I had this problem a long time ago with…
-
1
votes1
answer840
viewsAnomalous Behavior of Google Analytics
Use the Google Analytics on my website however it has an anomalous behavior: When I open 2 to infinite pages of my site in a single browser is computed as a single active user. When I open 2 up to…
-
1
votes2
answers45
viewsFine-tuning a search with Analytics API + PHP
Could someone help me mount a search? in the google API? 1) The original and that works, and returns me how many sessions were made in that period, is the same as in the google example: function…
-
1
votes1
answer84
viewsYoutube with Analytics events
I’m using the following scheme to embed Youtube videos: https://jsfiddle.net/4qcr60xz/ This allows the video to be requested only when the user clicks on the "player" (thumbnail), making the page…
-
1
votes1
answer68
viewsHow to get conversions per goal
Working with API to handle data on conversion, I can get the total conversions per meta if I make explicit the API query parameter for metric, as follows: $metrics =…
-
1
votes3
answers741
viewsOn which pages should I put the code of google Analytics?
The manual says to put on all pages, but this includes the pages that can only be accessed after login? There’s a way google Analytics can see these pages? For example, if my only page with…
google-analyticsasked 8 years, 8 months ago gustavox 4,004 -
1
votes1
answer538
viewsCapture Data Google Analytics PHP
Opa, I need to access the google API and import information like visits and origin of visits, per page. I’m accessing the Analytics API like this ,but, always get the total of visits 0: My code: `…
-
1
votes1
answer733
viewsCalling 2 events on onclick
I’m developing a website, and I need to trigger two events when a text is clicked. A js function, and a google Analytics goal tracking code. Following example function shownumber() {…
-
1
votes0
answers26
viewsGoogle Analytics and cookies
My question is, I’m developing a website and I intend to monitor the Analytics with Google Analytics, however I have been reading some articles about cookies and did not understand if I need to…
-
1
votes1
answer150
viewsGoogle Analytics use API . NET for pageviews information
How do I search for Pageview information from a particular URL of my website via programming using some Google Analitcs API. Note that I already have the whole site configured in Google Analytics.…
-
1
votes0
answers8
viewsReport of the top pages of all time, last week - Google Analytics
I have a question in Analytics. These days one of the blog posts that I manage, entered the top pages of the week. The point is that this post, is 2016. What I would like to do, after realizing that…
-
1
votes1
answer31
viewsPage indexing that can redirect
I have a certain site that contains some pages, but some of these pages are not being indexed by Google. However the pages that Google does not index cannot be accessed if a certain option is not…
-
0
votes0
answers54
viewsHow do I identify where the flaws that Google Analytics returns occur?
I am receiving by Google Analytics the following flaws: NullPointerException (@ViewGroup:dispatchDraw:2879) {main} NullPointerException (@ViewGroup:dispatchDraw:2859) {main} But I don’t know how to…
-
0
votes1
answer23
viewsConversion funnel Google Analytics
Hello, I have a purchase page that when the user decides to make the purchase, is redirected to the paypal page. Through the conversion funnel I can see if the user has returned to my page from…
-
0
votes1
answer41
viewsTracking Event Google Analytics
Hello I have a slider within the site and would like to create a tracking Event within this slider. Inside this slider has 6 images, so type up to which image the user was, which is the most viewed…
-
0
votes1
answer56
viewsGAPI user authentication failure issues
Personal someone already had problems with this error, I am using the GAPI to generate some reports, and began to present this problem, I have checked password of the account among other details,…
-
0
votes1
answer85
viewsGoogle Analytics engagement hit. Can I create an "automatic"?
For those who don’t know, to calculate the "average session time" of a user, Google Analytics proceeds as follows: https://support.google.com/analytics/answer/1006253?hl=pt-BR To clarify what an…
-
0
votes2
answers68
viewsSeparate access hits by area in Google Analytics
I have an enterprise management system that I am using Google Analytics to track the most accessed areas, but next to this system is the presentation site and some hotsites. As I developed in PHP…
-
0
votes1
answer43
viewsReplace datatable Labels in a Chart
I’m populating a Area Chart from the datatable returned by Analytics API, but column Labels are populated with metric names ga:sessions, ga:pageviews,ga:goalsCompletionsAll, ga:bounces, etc.... The…
-
0
votes1
answer288
viewsHow to solve Google Cache problem?
I took the test on pagespeed and even having installed the plugin of Wordpress appeared this: Leverage browser caching Setting an expiry date or a Maximum age in the HTTP headers for Static…
-
0
votes1
answer73
viewsConfiguring API Google Analytics
After you create an account in Google Analytics, Google sends you a code, this code should be inserted in the index page of the site or in all pages related to the site ?
google-analyticsasked 8 years ago Caio Vieira 296 -
0
votes2
answers2105
viewsHow to recover all URL from any site?
I’m doing a specific densification, and I’d like to collect all the URL from any website. On my website for example I can do this using the google Analytics, to other sites I can’t because I don’t…
-
0
votes1
answer17
viewsDoubt: Google Analitycs JS runs on PHP file_get_contents?
I have a site where you have the JS from Google Analitycs, it happens that from time to time I run a function in file_get_contents in PHP to get information on this site. My question is: Google…
-
0
votes0
answers100
viewsHow to insert Google Analytics charts into HTML?
I need to insert the customer’s Google Analytics charts into the Dashboard of his website. How to do this? Example:…
-
0
votes2
answers93
viewsWordpress and Google Analytics: how to avoid administrative area count?
How to set up Google Analytics Code to prevent administrators' or authors' access to Wordpress administrative areas from being counted?
-
0
votes0
answers70
viewsConnection refused with Google Analytics
You are not counting accesses and with Firebug appears this message: https://www.google-analytics.com/analytics.js [HTTP/1.1 503 Service Unavailable 18 ms]. I’ve done various procedures and nothing.…
google-analyticsasked 7 years, 5 months ago Luciano Ferretti 23 -
0
votes1
answer121
viewsSet Google Analytics event label
good night.. I am configuring the events of the site’s Forums to be monitored by Analytics. But only one I can’t do the way I want.. Which is to take the label by the select field, for example:…
-
0
votes1
answer62
viewsPrevent Google Event sending when pressed F5 and access via GET
Personal talk! I need to do a prevention of sending event of analitycs in the following scenario: I have a form that when Submit is given, the post is processed in ajax and this ajax returns a URL…
-
0
votes1
answer67
viewsGoogle-Analytics code to monitor the amount of downloads
I need to enter a google-Analytics code to monitor how many times a file (a video) has been downloaded. But as it is a sidebar link that is generated dynamically, I have no way to enter directly…
-
0
votes1
answer57
viewsOrigin - Visitor’s media
I know it’s possible to get the visitor’s previous url with $_SERVER['HTTP_REFERER']; but how do I take for example the source/media that the visitor was before accessing the site? For example, it…
-
0
votes1
answer23
viewsmetric to bring visits per day google-Analytics
Does anyone know any metric or dimension of google Analytics that given a date period, it brings number of hits for each day of that period? Example: dateRanges: [ { startDate: '23-11-2017',…
-
0
votes0
answers96
viewsHow to use Google Analytics with Ionic 3
Good afternoon, I’m making an app using Ionic 3 and I use the Restful API with php for connection to the Mysql database, and I need to use Google Analytics in the project, but I can’t find a…