WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: Google Analytics for WordPress] WordPress installation on main domain AND subfolder (4 posts)

  1. Bart van Poll
    Member
    Posted 5 years ago #

    Hi,

    I've been using this great plugin for a few months now. Works great!
    Now I want to move my WordPress blogs within my server, and I'm not sure how to handle this with Google Analytics (and plugin).

    Current situation:
    > 1 WordPress blog on http://www.domain.com (main domain)
    > 20 WordPress blogs on subdomains, e.g. http://blog1.domain.com
    > 21 separate Analytics profiles and tracking codes

    Future situation:
    > 1 WordPress blog on http://www.domain.com
    > 20 WordPress blogs on subfolders, e.g.
    http://www.domain.com/blog1

    In Analytics, I cannot change the URLs for the profiles from subdomain to subfolder. Also, I cannot add a new profile for a subfolder...

    What should I do, to continue being able to track the separate blogs...

    Should I just use the same tracking code (the one I'm using for the main domain) for each subfolder-installation, so I'll just have one profile? Would this work?

    Thanks very much for letting us know what you think!

  2. Joost de Valk
    Member
    Posted 5 years ago #

    Having one tracking code would work, you could then make a profile for each different blog in the Google Analytics backend (so NOT in WordPress), by only including URL from that blog into the specific profile for that blog.

  3. Bart van Poll
    Member
    Posted 5 years ago #

    Thanks a lot Joost!

  4. Joost de Valk
    Member
    Posted 5 years ago #

    If it worked, please set the topic to resolved!

Topic Closed

This topic has been closed to new replies.

About this Topic