We have a website, www.example.com
which has Google Analytics installed.
We have another website, www.example2.com
which has it's own separate Analytics tracking code.
We are rebranding and moving www.example2.com
so that instead of being on its own domain, it will simply work from inside a folder of www.example.com
- for example www.example.com/example2
If we want to set up Analytics for example2
what is the best way to do this? Two appraoches come to mind:
Put the Analytics code for
www.example.com
on towww.example.com/example2
. Use Analytics to segment traffic that contains/example2
(and anything following it) in the url.Generate another Analytics tracking code for
www.example.com/example2
- I'm not actually sure whether this can be done.
I believe Google considers both sites as "one website" due to this folder set up?
Any advice appreciated.