I have a seemingly odd issue happening with Google Analytics. I was reviewing a client's analytics and different site's analytic information was also being displayed. For example the top 10 page views of the client's site also lists the Home page and a couple other pages of the other site within the top 10 page views.

Any thoughts on why or how this could happen and more importantly how can I get the other site's info out?

Dani AI

Generated

Short checklist that usually finds the problem quickly (based on and comments).

Start by gathering evidence, not assumptions. View the page source on both sites and confirm the tracking/measurement ID each one is sending (look for UA- or G- IDs, or a Tag Manager container ID). Use the browser Network tab or a tag-debugging extension to capture the actual hits going to Google and confirm the hostname attached to those hits. In Google Analytics, build a quick report (or use the Hostname dimension) that shows Hostname + Page — that reveals whether pageviews are really coming from the other domain or are being attributed incorrectly.

Practical fixes and cautions. If the same ID is used across sites and that was not intended, move each site to its own property or data stream. To clean existing data views, create a new unfiltered view first, then add an Include filter that matches your hostname (test with a segment first). Filters are destructive for that view, so always keep an unfiltered backup. If Tag Manager is in use, verify the correct container and tag firing rules per domain. Compare GA counts with webserver access logs to confirm whether pageviews were real or spoofed/ghost traffic.

If the above steps do not expose a configuration issue, escalate with timestamps, example hits, screenshots and a packet/network trace to support for deeper investigation.

Recommended Answers

All 2 Replies

possible causesgoogle bug: contact google
the other site has embedded the wrong key code: contact google and/or other sitegoogle analytics doesnt work as expected all the time, nothing does,
it could be a random event that doesnt recur

google analytics does not work, does not find anybody with antimalware apps installed, not as good as server logging, but better than nothing

That makes sense considering the volume Google has to contend with on a daily basis.

Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.