Say url www.mysite.com is registered in Google Analytics and the tracking ID is UA-12345678-90.What happens if another site with URL www.anothersite.com uses this ID too? Does analytic count visits from both sites or does it only take visits from www.mysite.com into account?What happens if there is a redirect from www.anothersite.com to www.mysite.com?
Does Google Analytic count mismatching/unconfigured URLs?
google analytics;url;statistics
It depends on the type of redirect. If you have a Javascript or Meta Refresh redirect with Google Analytics running on that page, then Google might track the page if the pause between loading the page, loading the Google Analytics tracking script and the redirect is long enough.If you have a server redirect, then no Javascript code is actually triggered client-side, thus no pagetrack is being recorded.Now, if someone hijacks your Google Analytics ID and reuses it on another website, well, then you are out of luck, since Google does include that traffic in your reports. You need to filter that traffic out, or better, add an include filter to only add traffic from your domains you want tracked.