Google Analytics - remove second URL - google-analytics

Annoyingly someone accidentally duplicated my google analytics tag on a second site and now all their site traffic has been mixed into the original sites on GA.
Could someone guide me through removing the second URL from the account?
I've looked at filters but can't get my head around it.
the property is a GA4 site.
Thanks!

You looked in the right direction. You want to filter by the hostname. Note that it won't remove the historical data, it will just prevent it to get to GA in future.
Also, you can apply filters to your local reports to remove the wrong hostname-related data from them.
Besides, GA4 is still raw. It's suggested to keep both, - GA4 and UA in place and use the latter for day to day analysis while the former collects data for when UA is not available anymore.

You can't do it.
The saved data in Google Analytics cannot be changed.

Related

How can I merge 2 google analytics tags from the same URL

I have a unique website, that for some reason, 2 analytics tags were created for.
So the first tags was created for the first 3 months of the websites life, and the other was created the 4th month.
Now I want to merge the two tags somehow so that I don't lose the analytics of the first 3 months.
The reason that the second tag was created is that I thought I lost the account that it was linked but this is not true.
Is there a way to do that?
Merging Properties in Google Analytics is not possible, so you cannot transfer data from the first to the second Property (or vice versa).
This is not possible, Google analytics track your verified url, if your url is already verified then second account does not approved the another tag. Please see your code correct is working or not

Google Analytic's / Duplicate entries / Google Tag Manager

We have Google Analytics on our site. This site also uses Google Tag Manager (unsure whether this is causing the issue or not).
The issue is that within Google Developer on the Network tab it looks like Google Analytics is being called three times, therefore messing up the actual analytics side.
I have searched the web for this issue but most put it down to the page refreshes etc. This is not the case with ours. This happens when it is first loaded.
Each URL is different slightly. I looked through the site code hoping to find duplicate data (script for Google Analytics), sadly I haven’t. Neither have a found duplication when I 'View Source'.
At this moment in time I am puzzled as to why this is happening.
I have noted the parameters are slightly different between the three, I am thinking this is why it looks like its being called three times, why would it do this?
DP: Document location URL (The call which doesn't contain GTM, contains this)
GTM: Google Tag Manager (Two of the three
have this in the third doesn't)
CD1: ? (The call which doesn't contain GTM, contains this)
Z: Cache
Any ideas will be greatly appreciated.
Thanks,
Clare
Most definitely possible that GA and GTM both sending page views. If you are using GTM then you should remove ALL GA code from your pages as GTM replaces all GA.

Twice GTM code installed, does GA count hits twice?

If a website has two GTM code installed, how does GA count traffic? Does it mean the traffic we see in GA report is duplicate?
They are different containers but same GA property.
Thank you!
If both containers have the same GA account and both populate on the page (e.g. have the same rules), then yes, you'll have double the pageviews.
Well, first of all, why do you have 2 GTM codes?
When you set up a container and install the GTM on every page, you must also set up GA tracking as one of your tags on the Tag Manager container settings, when you set this up, you will have to choose which pages you wish to track, most likely, you need to select "All pages". With the live preview you can verify your tag is working and you can go to the GA real time traffic dashboard to make sure data is being recorded appropriately, of course, depending on your traffic, it might not be easy to tell if you are double-counting.
I guess I would say if you set up your Universal Analytics tag properly, you shouldn't have duplicate data...
Back to my question, maybe I can help you better if I know why exactly you have 2 GTM codes?
:)

Filtering out URI in Google Analytics not working

I'm using Google Analytics to track pageviews on my website. However, there's a specific URL that I want to ignore (www.example.com/android_api).
So, inside filters, I have this filter:
Custom Filter-> Exclude-> Request URI-> ^/android_api-> Not Case Sensitive
However, "/android_api" is still showing up in "Top Pages".
Any idea what I'm doing wrong? Thanks a bunch!
Figured it out! Filtering doesn't work with the real-time portion of the analytics.
Are you certain your viewing your reports after you've created the filter? There could be some lingering data occurring in your top pages if your time span is set to encompass the data prior to the filter.

Add Analytics to account of someone other than the one who set it up?

I have been requested to get involved with a family member's site.
To date, they have been paying an SEO outfit, which I believe has been feeding them lies and milking them for money.
I can see that all pages in the site have Google Analytics. However, the SEO outfit refuses to let us see the Analytics page, and has always just forwarded them some (presumably doctored) slideshows.
The only tracking service that lists their site is Compete, which shows a number of visitors far from what they are paying for.
I would like to add their site to my own Analytics account. I have ftp access to their server, and permission from the site owners to modify any files I want.
However, I don't want to do anything that might destroy the entire existing history of analytics data, or even that would interfere with the current SEO outfit [until I have something concrete in-hand].
Does anyone know:
Can I add Analytics to my own account when it was originally setup by someone else?
Will there be any negative results of attempting this?
Any other ideas?
Thanks
Edit: Can anyone suggest a better title - I can tell mine is not good?
I've put two Google Analytics tracking codes from different accounts on the same site without issues. It may cause the site to be a tiny bit slower (as it communicates twice with Google) but it'll do nothing that would delete old data or impede collection of new data.
In short, what you're doing sounds like a good first step.
You will not, however, be able to access past data by doing this. You will be able to compare their numbers with the numbers you're getting, though, which should be valuable.
I don't know if you can add the same domain to two different Google Analytics accounts (easy enough to try, though), but you can always add another service's Javascript snippet, e.g. Woopra. Google and Woopra produced very similiar results in my experiments.
You may want to leave their Google Analytics tracking in place while adding your own Google Analytics tracking. In that case, your numbers should be identical to whatever is being tracked by this third party.
You'll need to set up your own account and then add in the creation of your pagetracker object and your own track page view. You don't need to recreate the entire page code. You can do it with two more lines. It would look something like:
var pageTracker =
_gat.getTracker("UA-XXXXXXXX-1"); //EXISTING pageTracker._trackPageView();
var secondTracker =
_gat.getTracker("UA-XXXXXXXX-1"); //YOUR TRACKING ACCOUNT secondTracker._trackPageView();

Resources