Title: Sitewide Google Analytics
Author: coderguy
Published: <strong>May 17, 2012</strong>
Last modified: October 30, 2012

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/sitewide-google-analytics.svg)

# Sitewide Google Analytics

 By [coderguy](https://profiles.wordpress.org/coderguy/)

[Download](https://downloads.wordpress.org/plugin/sitewide-google-analytics.1.2.2.zip)

 * [Details](https://pcd.wordpress.org/plugins/sitewide-google-analytics/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/sitewide-google-analytics/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/sitewide-google-analytics/#installation)
 * [Development](https://pcd.wordpress.org/plugins/sitewide-google-analytics/#developers)

 [Support](https://wordpress.org/support/plugin/sitewide-google-analytics/)

## Description

This plugin adds Google Analytics tracking code to all WordPress pages. If multisite/
network mode is enabled, this
 tracking code will be the same on all sites, which
was the main purpose for authoring it.

It’s very basic.

This plugin includes a settings page that allows users to enable or disable the 
tracking code, enter their account ID,
 and provide a single domain, which is used
for aggregating statistics across multiple sub-domains. For WordPress Network installations,
this page is located under the Settings menu of the Network administration area.
For normal WordPress installations, this page is located under the Settings menu
of the standard administration area.

I needed this functionality but couldn’t find it elsewhere, so I decided to write
a plugin. I’m totally open to improving
 this plugin as well so please contact me
with feature requests or bug reports.

## Screenshots

 * [[
 * This is the administrative section of Sitewide Google Analytics.

## Installation

 1. Upload the `sitewide-google-analytics` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the `Plugins` menu in WordPress.
 3. Go to the Settings page, add your Analytics token/key, and check the enable box.
    Click the Save button.

## FAQ

  What is the Domain field?

The Domain field is for capturing statistics on multiple sub-domains. Please refer
to Google’s documentation
 for more information. https://developers.google.com/analytics/
devguides/collection/gajs/gaTrackingSite#yourDomainName

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Sitewide Google Analytics” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ coderguy ](https://profiles.wordpress.org/coderguy/)

[Translate “Sitewide Google Analytics” into your language.](https://translate.wordpress.org/projects/wp-plugins/sitewide-google-analytics)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/sitewide-google-analytics/),
check out the [SVN repository](https://plugins.svn.wordpress.org/sitewide-google-analytics/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/sitewide-google-analytics/)
by [RSS](https://plugins.trac.wordpress.org/log/sitewide-google-analytics/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2.2

 * Forcing wordpress to update by updating stable tag in the header above.

#### 1.2.1

 * Added upgrade information to this log.

#### 1.2

 * update_option and get_option changed to update_site_option and get_site_option.

#### 1.1

 * Added templates (previous version is non-working).

#### 1.0

 * Initial submission.

## Meta

 *  Version **0**
 *  Last updated **13 years ago**
 *  Active installations **10+**
 *  WordPress version ** 3.1 or higher **
 *  Tested up to **3.4.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/sitewide-google-analytics/)
 * Tags
 * [analytics](https://pcd.wordpress.org/plugins/tags/analytics/)[google](https://pcd.wordpress.org/plugins/tags/google/)
   [multisite](https://pcd.wordpress.org/plugins/tags/multisite/)[network](https://pcd.wordpress.org/plugins/tags/network/)
   [sitewide](https://pcd.wordpress.org/plugins/tags/sitewide/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/sitewide-google-analytics/advanced/)

## Ratings

No reviews have been submitted yet.

[Add my review](https://wordpress.org/support/plugin/sitewide-google-analytics/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/sitewide-google-analytics/reviews/)

## Contributors

 *   [ coderguy ](https://profiles.wordpress.org/coderguy/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/sitewide-google-analytics/)