1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Google Analytics & Multi-Site (sub-directories)

Discussion in 'Google Analytics' started by andymisiu, Apr 4, 2012.

  1. #1
    I'm setting up a multi-ste using sub-directories and will be using Google Analytics to track some data. I'm interested in knowing if I only need to create one Analytics Profile to track the entire site and past the code on the main site?

    www(dot)mysite(dot)com/

    or if I have to create multiple profiles for each sub-directory site and insert the code on every sub-directory?

    www(dot)mysite(dot)com/subdirectory/
     
    andymisiu, Apr 4, 2012 IP
  2. ColeenB

    ColeenB Peon

    Messages:
    123
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you're using subdirectories like www(dot)mysite(dot)com/subdirectory/ you should be able to use one profile and track it all as one site very easily. You have to put the Google Analytics code on every page in your site. If you can put it in a template, that makes it easier.

    If you used subdomains, like subdomain(dot)mysite(dot) com/ it would get more complicated.
     
    ColeenB, Apr 6, 2012 IP