10 votes
Accepted

Google Analytics - Is there a way to import Universal Analytics property data into Google Analytics 4 property

There is no way to migrate historical data from Universal Analytics (UA) to Google Analytics 4 (GA4). When you migrate, you can avoid data loss by dual-tagging. That is include both GA4 tags and UA ...
Stephen Ostermiller's user avatar
6 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['...
Alain Picard's user avatar
4 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 ...
Ryan Brown's 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 ...
Mike Ciffone's user avatar
  • 6,330
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 ...
Chris Rutherfurd's user avatar
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 ...
Prasad Ajinkya's 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 ...
cbdeveloper's 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 ...
BNazaruk's user avatar
  • 1,762
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 (...
Andrew's user avatar
  • 121
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 ...
marktristan's user avatar
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 ...
dasickle's user avatar
  • 3,658
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 ...
Bronwyn V's user avatar
  • 3,423
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. ...
SomewhereDave's 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 ...
Julia's 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 ...
Reve's user avatar
  • 2,031
2 votes
Accepted

Implementing Google Enhanced e-commerce Tracking with Google Tag Manager

Standard Ecommerce requires the Track Type - Transaction tag, Enhanced Ecommerce requires a Track type of Pageview or Event. To access the More Settings option, click the checkbox for Enable ...
Bronwyn V's user avatar
  • 3,423
2 votes
Accepted

Which code to embed in my website for cross-domain Google Analytics (Universal Analytics)?

Unless you have actual links, linking between the sites, or mechanisms in place that move site visitors between sites (eg site registration taking them to another site upon completion or similar), ...
Bronwyn V's user avatar
  • 3,423
2 votes

How to exclude URL parameters from Google Analytics reports?

Only ? indicates a query parameter; adding f to the exclusion list would remove ?f=... parts of a URL but won't affect /f/.... You should be able to do this with a filter, though. Add a new filter of ...
Reve's user avatar
  • 2,031
2 votes
Accepted

Use Analytics + Tag Manager to track link clicks of specific URLs

Make a tag in GTM that sends your event to GA. Go to Variables. Click Configure for built-in vars. Select the Clicked Element like so: Make a Click All Elements trigger. In the trigger config, Do ...
BNazaruk's user avatar
  • 1,762
2 votes

Get Instagram referral profile/user's name in Google Universal Analytics or GA4

Unless it's in the referrer path, you can't. I'm not sure how Instagram operates, but all you get is their referrer. The referrer always exclude the query string when the origin uses an encrypted ...
BNazaruk's user avatar
  • 1,762
2 votes

2 _ga cookies are generated at the same time

You don't need to guess or look at the cookies really, not at this point of debugging. Look into the network requests, see if the client id changes from page to page. It shouldn't. All hits within the ...
BNazaruk's user avatar
  • 1,762
2 votes
Accepted

Google Tag Manager events not registering in GA4 but do in GA

You are correct, the UA tags and events will not migrate over automatically. The answer here is to restructure your UA events to follow GA4's data collection model, then set up new GA4 conversion ...
Mike Ciffone's user avatar
  • 6,330
2 votes
Accepted

The same google tag triggers for different tags and websites

There are many ways to mitigate this. You made a mistake of making the same tags on the same triggers and expecting them firing differently. The junior thing you could do is - yes, edit your triggers ...
BNazaruk's user avatar
  • 1,762
2 votes

GA4 showing far fewer page views (50% or less) than UA

I found the answer in this YouTube video. https://www.youtube.com/watch?v=5E6hZayk1mQ I had activated Settings --> Reporting Identity --> Blended. Because of this, I had a threshold applied. ...
Bhargav Joshi's user avatar
1 vote

Google Analytics 'Appears' to be ignoring campaign attribution

I had the exact same problem than you and spent days analysing some of my clients User Explorer reports, segmenting by sessions with campaigns correctly attributed via utms. The net result was: the "...
lcrespilho's user avatar
1 vote

Google Analytics 'Appears' to be ignoring campaign attribution

Check your http/https redirection and make sure nothing is lost, sometimes it drove me crazy in the past with Analytics. I'll do a little experiment: Create a unique medium/source for the test. Go ...
Emirodgar's user avatar
  • 3,817
1 vote

Where do I find missing query string paramters for Google Analytics in Chrome Dev Tools?

As @nyuen pointed out the hostname is an optional query-string-parameter. What I failed to realize before is that Google Analytics automatically extracts the hostname from the full page url stored ...
SomewhereDave's user avatar
1 vote

Analytics Clicks and Sessions Discrepancy warning

It's a Google configuration/identification issue. I believe this happens when you have a domain mismatch either through redirections (or identification via web properties). That is, clicks are going ...
Miles Gillham's user avatar
1 vote

Can I track referral traffic in Google Analytics from a domain that is redirecting to my site?

I use the solution of adding UTM parameters to the redirects. It is the only thing that I've found that works well with Google Analytics. When somebody visits my example.net domain they get ...
Stephen Ostermiller's user avatar
1 vote
Accepted

What do you have to be careful about when migrating a UA account to the same URL but a new website?

With a little bit of care, you should be fine to keep the same property if it's a new website on the same domain. Some of the major areas to consider are: Implementation Issues: If your new website ...
nburr's user avatar
  • 414

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