Questions tagged as 'google-analytics'

0
answers

Google Analytics and cookies [closed]

My question is: I'm developing a website and I want to monitor analytics with Google Analytics, however I've been reading some articles about cookies and I did not realize if I need to program my website with some kind of cookies to be able to f...
asked by 22.08.2017 / 12:11
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
1
answer

YouTube with Analytics events

I'm using the following scheme to embed the Youtube videos: link This allows the video to be requested only when the user clicks on the player (thumbnail), causing the page to load faster. I need to add a Google Analytics event tracking...
asked by 12.03.2016 / 10: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
0
answers

Gmail blocks server when trying to sign in

I'm using a google analytics api in php to show my analytics data on my site. What happens is that when you authenticate, google blocks access to the server. I had this problem a long time ago with another server but I no longer remember how I s...
asked by 07.05.2015 / 11:51
1
answer

Google Analytics engagement hit. Can I create an "automatic"?

For those who do not know, to calculate a user's "average session time", Google Analytics does the following: link To clarify what an "engagement hit" is: link I have an app for Android that has 2 screens: the first one is initial (whe...
asked by 01.04.2015 / 09:51
1
answer

My Google Analytics does not work [closed]

I have a website in the air and I wanted to have the information of how many people have accessed by day and week, so I created a login in google analytics and registered my site. Google Analytics generated a code with my ID to put on the hea...
asked by 22.02.2018 / 12:36
1
answer

Prevent sending of Google event when pressed F5 and access via GET

Speak up! I need to do an event upload prevention of analitycs in the following scenario: I have a form that when the submit is given, the post is rendered in ajax and this ajax returns a URL in which I do the redirect via location.href...
asked by 18.05.2017 / 16:01
1
answer

Doubt: Does Google Analysts JS run in PHP's file_get_contents function?

I have a site where you have the Google Analytics JS, it happens that from time to time I run a function in file_get_contents in PHP to get an information on that site. My question is: can Google Analitycs identify the connection via file_get_co...
asked by 05.06.2017 / 14:57
1
answer

Configuring Google Analytics API [duplicate]

Once you create an account in Google Analytics, Google sends you a code, should that code be inserted in the index page of the site or in all pages related to the site?     
asked by 28.11.2016 / 19:56