I have two website siteone.com and sitetwo.in and both have been mapped to same folder. In short both the website have same pages. Now if i put Google Analytic code in siteone.com only. If someone opens sitetwo.in would it reflect in siteone.com in Google Analytic
Not at all, because GA only can trace when the code is on the same page, if suppose out of total 1000 pages code is installed on onky 500 pages then it will not track the rest 500 pages. Tks
I think it would because you are not really just putting it in siteone. You may want to research Googles terms on that one. You know how they hate duplicate content. You may be shooting yourself in the foot here. I'm guessing you are supporting a second language? Here is a possible work around. Set up analytics accounts for both, the .com, and .in. Then set up a script that loads googles code depending what site they are on. You know, something like if Page_Self = .com show this code, and if Page_Self= .in show another code.