WordPress.org

Ready to get started?Download WordPress

Forums

Good analytics plugin for MU? (6 posts)

  1. lilblogger
    Member
    Posted 3 years ago #

    Is there a way to insert the code just once on the main domain, or do I need to do it on every single installation?

  2. Well... Depends.

    If you're using the same them for all sites, then you could put it in your theme (hard coded). If not, then you'll need to set it up for each sub-site.

    I use Google Analytics.

  3. Hook the code into the footer, no need to edit themes at all.

    http://wpmututorials.com/plugins/how-to-hook-into-the-footer/

    That's what I've done. :D

  4. lilblogger
    Member
    Posted 3 years ago #

    @Andrea_r
    Do I put this in the main domain.com theme footer (even if it's not the same theme I'm using on the subdomains)?

    Thanks in advance :)

  5. read the post. You put it in the mu-plugins folder.

  6. OOOh now that's clever. *making note*

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.