18 votes
Accepted

How can I find the IP address for my visitors in Google Analytics Universal reports?

No, you won't be able to find that info. GA doesn't make it available in your reports due to privacy issues, and any collection of it is in violation of Google Analytics' Terms of Service. Please read ...
user avatar
  • 2,523
7 votes

How can I find the IP address for my visitors in Google Analytics Universal reports?

You can't do it via Google Analytics. However, you can setup your GA account so that each user is assigned a User-ID so that you can track each user with more detail if thats what you are looking to ...
user avatar
  • 3,638
7 votes
Accepted

WHY must Universal Analytics code go immediately before the closing head tag?

You can put the code anywhere on the webpage with very little trade-off. Why google specifically recommend to put it in the <head> section? Because there's a tiny advantage of putting it ...
user avatar
  • 1,316
5 votes

How can I find the IP address for my visitors in Google Analytics Universal reports?

Here are the instructions to view IP addresses in Google Analytics. Add the following code to your pages, before the traditional Google Analytics code: <?php if (!empty($_SERVER['...
user avatar
4 votes
Accepted

Is there equivalent functionality for Universal Analytics behavioural flow in Google Analytics 4?

It's not possible as of now, and it's one of the SEO community's largest complaints about the new (cough cough...beta) GA4 experience so far. It's perfectly fine to use both, and I encourage it. I've ...
user avatar
  • 4,743
3 votes

How can I find the IP address for my visitors in Google Analytics Universal reports?

Tracking user IPs wouldn't be to beneficial to the overall product that Google is trying to deliver. You can however find the IP's within the Apache (or IIS) log files though. Then you can take ...
user avatar
3 votes

In Universal analytics.js: how do you enable local remote server mode than sends data to your own server as well as to Google's?

There doesn't seem to be an easy function built into analytics.js that I have found, however, there is this code for sending the same data via an XHR request to your server. ga('create', 'UA-XXXXX-Y'...
user avatar
  • 131
3 votes

Page title in Google Analytics "Behavior flow"

Nope. Not unless you save the Page Title in a Custom Variable and then change the view from Landing Page to Custom Variable. This is at best a hackjob, and I'd rather work on Creating a better ...
user avatar
3 votes
Accepted

What Are 20 Common Reasons for Incorrect Pageviews

Blame Your Expectations: This one hasn't really been a big issue on here in the past but still deserves an honourable mention. If your only reason for thinking that your pageviews are wrong are that ...
user avatar
3 votes

Data streams from Google Analytics 4 for a Single Page App page views?

I've found some more info about this topic. This is the docs related to the Google Analytics 4 and gtag implementation. https://developers.google.com/analytics/devguides/collection/ga4/tag-guide And ...
user avatar
3 votes

10 seconds on site within Google Analytics versus Tag manager Timer

Google Analytics' goals may be off due to the fact that they either measure the time between interactional events or between actual pageviews. While Google Tag Manager doesn't care about events, it ...
user avatar
  • 1,261
2 votes
Accepted

StumbleUpon Social Interaction Tracking using Google Tag Manager

But Google Analytics code should be able to track that data automatically which shows up under social interaction section in Google Analytics and in case you wish to integrate your Stumbleupon ID with ...
user avatar
2 votes
Accepted

How would Google Analytics track different user groups with a custom dimension and metrics?

You are tracking how all registered and all unregistered users behave, not how individual users behave. A user changing from one group to another will change which group any data collected from that ...
user avatar
  • 1,925
2 votes
Accepted

What can be messed up by letting the data flow into a Universal Analytics Account without fully customizing Universal Analytics first?

The biggest mistake with analytics is not having any. It is far better to have some insight into your data, even if it isn't perfect, than to be running a website with no visibility into what your ...
user avatar
2 votes
Accepted

Where is the Traffic Sources report in Universal Analytics?

"Traffic Sources" has been renamed "Acquisition"
user avatar
2 votes

Duplicate transactions in Google Analytics caused by page refreshes

There are two possible solutions to this problem: 1) Use a server side script to prevent the tracking code to be shown multiple times. This could be done by checking if the transaction information ...
user avatar
  • 3,638
2 votes

How to report traffic from subdirectory as a referral

For others looking at this, I came up with this possible solution. You can change the referrer value before you send the page view to google. So something like this might be what you need. if (...
user avatar
  • 121
2 votes
Accepted

How to test a campaign in universal analytics?

Create a separate Google Analytics profile for your dev environment. Configure your dev server to use a different Google Analytics snippet Test your campaign URLs against your dev server View ...
user avatar
2 votes
Accepted

Can you use the same property with Google Classic Analytics (ga.js) and Universal Analytics (analytics.js)?

Is it possible to use both Google Classic Analytics (ga.js) and Universal Analytics (analytics.js) with a single Google Analytics property? Yes, both will continue to work for the same property after ...
user avatar
  • 15k
2 votes

Switching To Google Universal Analytics - Data Loss?

I used it on 3 of my sites. Nothing was lost, all data stayed. If the tracking code setting shows analytics.js code, your account was transferred into Universal automatically. What you need to do: ...
user avatar
  • 121
2 votes

How to exclude personal traffic without IP in Google Analytics?

To completely disable data tracking, you can add an opt-out function to your site: https://developers.google.com/analytics/devguides/collection/analyticsjs/advanced#optout You could also use the Opt-...
user avatar
  • 471
2 votes
Accepted

Error Code: 50005- Google Analytics

Closetnoc's comment answers my question: This should resolve on it's own. There is nothing you can do but wait. In my case, I did not have to wait too long. It just may be that some data is missing ...
user avatar
  • 263
2 votes

WHY must Universal Analytics code go immediately before the closing head tag?

Now, this is not a technical explanation of why it is necessary – but it is a practical reason to do it. If you want to use your Google Analytics (GA) tracking code for various verification purposes ...
user avatar
2 votes

Google Analytics ecommerce tracking referral issue with paypal payment gateway

You should keep the return\thank you page after the payment is processed. Then add your gateway payment websites in Referral Exclusion list. In that case, paypal.com It won't be perfect (lot of ...
user avatar
  • 1,523
2 votes
Accepted

Event Tracking in Universal Analytics

No, you don't need to make any changes. I'm assuming you are invoking the library and creating the tracker through the standard method. Your code should look something like this: <button onclick="...
user avatar
  • 2,523
2 votes
Accepted

Can I track form submissions through Google Tag Manager?

There are many ways so it really depends on what you are trying to accomplish. Below are a few options that will work on contact forms and any other type of click action. 1) You can setup a link ...
user avatar
  • 3,638
2 votes
Accepted

Why are there 50% fewer pageviews and 130% bounce rate increase when upgrading to Google Analytics Universal?

Make sure if you are upgrading from the ga.js to analytics.js that you add your domain to the Property's Referral Exclusion List. It is done by default for new properties but needs to be done ...
user avatar
  • 3,353
2 votes

Error "Field name is required" - Google Analytics API

Apparently, you have to provide a JSON object as the request body including values for all possible keys. So, if you want to change your view's name you also provide the id, currency, timezone, etc. ...
user avatar
2 votes

Error "Field name is required" - Google Analytics API

@SomewhereDave got me on the right track. If anybody runs into the same issue, here's how I solved it. Caveats: I'm using googleapis Node.js library, authenticate via JWT (service-to-service ...
user avatar
  • 21
2 votes
Accepted

How to forward all Google Tag Manager events to Google Analytics?

I think the Tag Types are causing confusion for you. A Google Analytics tag is one that sends specific data to Google Analytics, not one that installs Google Analytics. The GTM code included on your ...
user avatar
  • 2,011

Only top scored, non community-wiki answers of a minimum length are eligible