Questions tagged as 'google-analytics-api'

0
answers

Gather combined data from content with different URLs in Google Analytics

When 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 due to the evolution of the same that is also reflected in change...
asked by 16.04.2015 / 22:32
0
answers

Top-page report of all time, last week - Google Analytics

I have a question in analytics. These days one of the posts of a blog that I manage, has entered the top pages of the week. The point is that this post is 2016. What I would like to do, once you realize you have old content that generates a l...
asked by 23.05.2018 / 18:04
1
answer

Getting conversions by goal

Working with API to manipulate data about conversion , I get the total number of conversions per goal if I explicitly set the metric's API query parameter, as follows: $metrics = 'ga:goal1Completions,ga:goal2Completions,ga:goal3Comple...
asked by 16.03.2016 / 13:33
0
answers

GAPI ERROR Analytics

I migrated the hosting project and using the GAPI class in PHP to collect information from Google Analytics , it does not work on the new server reporting the error:    Fatal error: Uncaught exception 'Exception' with message 'GAPI: Fail...
asked by 31.08.2015 / 23:03
2
answers

Narrowing a search with Analytics API + PHP

Could anyone help me set up a search? in the google API? 1) The original and that works, and returns me how many sessions were done in that period, is the same as the google example: function getResultsA(&$analytics, $profileId) {<br...
asked by 01.09.2015 / 08:30
2
answers

Separate access hits by area in Google Analytics

I have a business management system that I'm 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 using a framework, each area (site / system / hots...
asked by 29.10.2015 / 16:09
0
answers

Query Analytics without the client being authenticated

I have a url https://foo.co k shortener that has an Analytics script and that every time a user accesses https://foo.co/123 , for example, generates access data in Analytics. The goal is for my front-end client to query all analytics da...
asked by 27.01.2018 / 00:06
1
answer

Graphic google Analytics on administrative dashboard

Good afternoon, guys. I'm breaking my head to pull some data from google analytics and play on an administrative dashboard so the customer can track access to your site. I have already searched the internet for information but I have not been...
asked by 23.01.2018 / 17:43
1
answer

metric to bring visits per day google-analytics

Does anyone know of any metrics or dimension of google analytics that given a date range, it brings number of hits for each day of that period? Example: dateRanges: [ { startDate: '23-11-2017', endDate: '25-11...
asked by 23.11.2017 / 17:22
0
answers

How to insert Google Analytics charts in HTML?

I need to insert the customer's Analytics charts into the dashboard of his site. How to do this? Example:     
asked by 07.07.2017 / 00:59