21,492 questions
669
votes
35
answers
796k
views
No matching client found for package name (Google Analytics) - multiple productFlavors & buildTypes
Context:
I'm trying to set up Google Analytics for my app. (having 4 custom buildTypes and more than a few productFlavors)
It works fine when I select the Build Variant which has the applicationId ...
324
votes
12
answers
224k
views
Can you test google analytics on a localhost address?
I have to test out my new GA account on my local machine.
Will this work just by copying the standard snippet supplied by Google onto the page ?
I don't want to spend 24 hours waiting to see if it ...
261
votes
20
answers
168k
views
PageSpeed Insights 99/100 because of Google Analytics - How can I cache GA?
I'm on a quest to reach 100/100 on PageSpeed and i'm almost there. I'm trying to find a good solution to cache Google Analytics.
Here is the message I get:
Leverage browser caching
Setting an ...
237
votes
12
answers
110k
views
How to add Google Analytics Tracking ID to GitHub Pages
Could be a simple question but I am full of doubts right now about adding Google Analytics Tracking ID to GitHub page.
I am using GitHub automatic page generator to create my GitHub page but it asks ...
223
votes
21
answers
122k
views
Tracking Google Analytics Page Views with AngularJS
I'm setting up a new app using AngularJS as the frontend. Everything on the client side is done with HTML5 pushstate and I'd like to be able to track my page views in Google Analytics.
220
votes
9
answers
110k
views
What is the difference between google tag manager and google analytics? [closed]
I am reading about web analytic and came across GTM and GA.
It seems that GA is a service provided by Google which generates reports and statistics on website traffic. As per my limited understanding ...
216
votes
8
answers
80k
views
How to delete a property from Google Analytics [closed]
I want to delete a test property from Google Analytics, but there is no delete option on the property page. Does anyone know how to delete a property from Google Analytics?
201
votes
15
answers
100k
views
Is there a setting on Google Analytics to suppress use of cookies for users who have not yet given consent
According to EU Article 5(3) of the E-Privacy Directive (a.k.a 'The Cookie Laws'), web sites that target EU users have to gain opt-in consent from users before they set a cookie.
See ICO Guidance
I ...
200
votes
6
answers
154k
views
Which browsers support <script async="async" />?
On December 1, 2009, Google announced support for asynchronous Google Analytics tracking.
The asynchronous tracking is achieved using the async directive for the <script> tag.
Which browsers ...
177
votes
4
answers
139k
views
Best place to insert the Google Analytics code [duplicate]
Where’s the best place to insert the Google Analytics code in WordPress, header or footer? I prefer footer, because I wanted my site to load faster by reducing the number of scripts in the header, but ...
175
votes
24
answers
72k
views
Is there a way to stop Google Analytics counting development work as hits?
I have added the JavaScript that I need to the bottom of my pages so that I can make use of Google Analytics. Only problem is that I am sure that it is counting all my development work as hits. Seeing ...
173
votes
15
answers
110k
views
Analytics Google API Error 403: "User does not have any Google Analytics Account"
I'm creating an script, based on Google Analytics step-by-step guide from this page:
https://developers.google.com/analytics/resources/tutorials/hello-analytics-api
Authorization is done without ...
161
votes
1
answer
3k
views
Android Content Experiments with Tag Manager not showing sessions after several days
I followed the steps here to the letter and set up a content experiment for our Android app:
https://support.google.com/tagmanager/answer/6003007?hl=en
We've had Analytics in our app for several ...
158
votes
5
answers
145k
views
Regular expression for a string containing one word but not another
I'm setting up some goals in Google Analytics and could use a little regex help.
Lets say I have 4 URLs
http://www.anydotcom.com/test/search.cfm?metric=blah&selector=size&value=1
http://www....
142
votes
8
answers
66k
views
Should I put the Google Analytics JS in the <head> or at the end of <body>?
Google gives me a piece of javascript and tells me to include it in the <head>.
Can I put it at the end of <body> or will some side effects occur if I do that?