Title: Metrics Query
Author: yehudah
Published: <strong>Олунньу 22, 2020</strong>
Last modified: Муус устар 30, 2021

---

Search plugins

![](https://ps.w.org/metrics-query/assets/banner-772x250.png?rev=2248942)

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://ps.w.org/metrics-query/assets/icon-128x128.png?rev=2248942)

# Metrics Query

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

[Download](https://downloads.wordpress.org/plugin/metrics-query.1.0.3.zip)

 * [Details](https://sah.wordpress.org/plugins/metrics-query/#description)
 * [Reviews](https://sah.wordpress.org/plugins/metrics-query/#reviews)
 *  [Installation](https://sah.wordpress.org/plugins/metrics-query/#installation)
 * [Development](https://sah.wordpress.org/plugins/metrics-query/#developers)

 [Support](https://wordpress.org/support/plugin/metrics-query/)

## Description

This Google Analytics for WordPress plugin enables you to track your site using 
the latest Google Analytics tracking code and allows you to view key Google Analytics
stats in your WordPress install.

In addition to a set of general Google Analytics stats, in-depth Page reports and
in-depth Post reports allow further segmentation of your analytics data, providing
performance details for each post or page from your website.

The Google Analytics tracking code is fully customizable through options and hooks,
allowing advanced data collection like custom dimensions and events.

#### Credits

This plugin forked from Google Analytics Dashboard for WP
 Created by Alin Marcu
and forked by Yehuda Hassine

#### Google Analytics Real-Time Stats

Google Analytics reports, in real-time, in your dashboard screen:

 * Real-time number of visitors
 * Real-time acquisition channels
 * Real-time traffic sources details

#### Google Analytics Reports

The Google Analytics reports you need, on your dashboard, in your All Posts and 
All Pages screens, and on site’s frontend:

 * Sessions, organic searches, page views, bounce rate analytics stats
 * Locations, pages, referrers, keywords, 404 errors analytics stats
 * Traffic channels, social networks, traffic mediums, search engines analytics 
   stats
 * Device categories, browsers, operating systems, screen resolutions, mobile brands
   analytics stats

In addition, you can control who can view specific Google Analytics reports by setting
permissions based on user roles.

#### Google Analytics Tracking

Installs the latest Google Analytics tracking code and allows full code customization:

 * Universal Google Analytics (analytics.js) tracking code
 * Global Site Tag (gtag.js) tracking code
 * Enhanced link attribution
 * Remarketing, demographics and interests tracking
 * Page Speed sampling rate control
 * User sampling rate control
 * Cross domain tracking
 * Exclude user roles from tracking
 * Accelerated Mobile Pages (AMP) support for Google Analytics
 * Ecommerce support for Google Analytics

User privacy oriented features:

 * IP address anonymization
 * option to follow Do Not Track (DNT) sent by browsers
 * support for user tracking opt-out

Google Analytics Dashboard for WP enables you to easily track events like:

 * Downloads
 * Emails
 * Outbound links
 * Affiliate links
 * Fragment identifiers
 * Telephone
 * Page Scrolling Depth
 * Custom event categories, actions and labels using annotated HTML elements

With Google Analytics Dashboard for WP you can use custom dimensions to track:

 * Authors
 * Publication year
 * Publication month
 * Categories
 * Tags
 * User engagement

Actions and filters are available for further Google Analytics tracking code customization.

#### Google Tag Manager Tracking

As an alternative to Google Analytics tracking code, you can use Google Tag Manager
for tracking:

 * Google Tag Manager code
 * Data Layer variables: authors, publication year, publication month, categories,
   tags, user type
 * Exclude user roles from tracking
 * Accelerated Mobile Pages (AMP) support for Google Tag Manager

#### Accelerated Mobile Pages (AMP) features

 * Google Tag Manager basic tracking
 * Google Analytics basic tracking
 * Automatically removes _amp/_ from Google Analytics tracking page URL
 * Scrolling depth tracking
 * Custom dimensions tracking
 * User sampling rate control
 * Form submit tracking
 * File downloads tracking
 * Affiliate links tracking
 * Hashmarks, outbound links, telephones and e-mails tracking
 * Custom event categories, actions and labels using annotated HTML elements

#### Google Analytics Dashboard for WP on Multisite

This plugin is fully compatible with multisite network installs, allowing three 
setup modes:

 * Mode 1: network activated using multiple Google Analytics accounts
 * Mode 2: network activated using a single Google Analytics account
 * Mode 3: network deactivated using multiple Google Analytics accounts

### Localization

You can translate Metrics Query on [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/metrics-query).

## Screenshots

 * [[
 * Google Analytics Dashboard for WP Blue Color
 * [[
 * Google Analytics Dashboard for WP Real-Time
 * [[
 * Google Analytics Dashboard for WP reports per Posts/Pages

## Installation

 1. Upload the full google-analytics-dashboard-for-wp directory into your wp-content/
    plugins directory.
 2. In WordPress select Plugins from your sidebar menu and activate the Google Analytics
    Dashboard for WP plugin.
 3. Open the plugin configuration page, which is located under Google Analytics menu.
 4. Authorize the plugin to connect to Google Analytics using the Authorize Plugin 
    button.
 5. Go back to the plugin configuration page, which is located under Google Analytics
    menu to update/set your settings.
 6. Go to Google Analytics -> Tracking Code to configure/enable/disable tracking.

## FAQ

### Do I have to insert the Google Analytics tracking code manually?

No, once the plugin is authorized and a default domain is selected the Google Analytics
tracking code is automatically inserted in all webpages.

## Reviews

![](https://secure.gravatar.com/avatar/3082728ea640123eb36b02e81753dbe68c8681eba4e976c77a41a70b6c76d972?
s=60&d=retro&r=g)

### 󠀁[A 1.000 Thanks for this fork! Still the Best Google Analytics Plugin](https://wordpress.org/support/topic/a-1-000-thanks-for-this-fork-still-the-best-google-analytics-plugin/)󠁿

 [Marius Sonnentag](https://profiles.wordpress.org/about2press/) Атырдьах ыйа 25,
2020

I am so happy i found this one! I hope you are doing well! Works as expected and
i really missed it… I hope you keep up the good work! Greetigns from Germany

![](https://secure.gravatar.com/avatar/9f187f178cbb8ab329ccbd86eeb11ff652410cafb56d8eb66a12297fc76f932b?
s=60&d=retro&r=g)

### 󠀁[Awesome Replacement for GADWP](https://wordpress.org/support/topic/awesome-replacement-for-gadwp/)󠁿

 [Nethers Web Design](https://profiles.wordpress.org/timnethersgmailcom/) От ыйа
28, 2020

Thanks for forking, I missed GADWP.

![](https://secure.gravatar.com/avatar/3d578f720889b9d7682fbef4546560880f3120881bb0a0adbdc0adab1ccc9737?
s=60&d=retro&r=g)

### 󠀁[Simple and Thank you!](https://wordpress.org/support/topic/simple-and-thank-you/)󠁿

 [obi55](https://profiles.wordpress.org/obi55/) Муус устар 18, 2020

Highly recommended… you won’t be disappointed

![](https://secure.gravatar.com/avatar/fe13e1457d0a2161e428345206cc3c9b94e8428cec4d686bf7c1354180794d09?
s=60&d=retro&r=g)

### 󠀁[Very happy to have the plugin back!](https://wordpress.org/support/topic/very-happy-to-have-the-plugin-back/)󠁿

 [](https://profiles.wordpress.org/horseguards/) Муус устар 17, 2020

Very happy to have this great plugin again! Great job! Thanks!

![](https://secure.gravatar.com/avatar/d04a98cc96e1dc156b52861457d2ab380292efebcb1e6ae28f740e29c36e09ac?
s=60&d=retro&r=g)

### 󠀁[As it should be](https://wordpress.org/support/topic/as-it-should-be/)󠁿

 [juliandickie](https://profiles.wordpress.org/juliandickie/) Муус устар 7, 2020

What a fantastic effort to bring back a plugin that was destroyed by corporate greed.
Works perfectly just the original.

![](https://secure.gravatar.com/avatar/a5efbc1e399c2c972e7205e7c4636afb0dc681281ddabc2b9bee52120d4fe184?
s=60&d=retro&r=g)

### 󠀁[Thank you so much!](https://wordpress.org/support/topic/thank-you-so-much-116/)󠁿

 [woratana](https://profiles.wordpress.org/woratana/) Муус устар 2, 2020

Thank you so much for your help to bring back this plugin!

 [ Read all 11 reviews ](https://wordpress.org/support/plugin/metrics-query/reviews/)

## Contributors & Developers

“Metrics Query” is open source software. The following people have contributed to
this plugin.

Contributors

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

[Translate “Metrics Query” into your language.](https://translate.wordpress.org/projects/wp-plugins/metrics-query)

### Interested in development?

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

## Changelog

#### 1.0.3

Fix: Few PHP 8 Issues.
 Update: required version 5.6

#### 1.0.2

Fix: Call to undefined function is_plugin_active()
 Update: Menu Name Update: Readme
file

#### 1.0.1

Change domain name

#### 1.0.0

Initial Release

## Meta

 *  Version **1.0.3**
 *  Last updated **5 сыл ago**
 *  Active installations **100+**
 *  WordPress version ** 3.5 or higher **
 *  Tested up to **5.7.15**
 *  PHP version ** 5.6.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/metrics-query/)
 * Tags
 * [analytics](https://sah.wordpress.org/plugins/tags/analytics/)[google analytics](https://sah.wordpress.org/plugins/tags/google-analytics/)
   [google analytics dashboard](https://sah.wordpress.org/plugins/tags/google-analytics-dashboard/)
   [google analytics plugin](https://sah.wordpress.org/plugins/tags/google-analytics-plugin/)
 *  [Advanced View](https://sah.wordpress.org/plugins/metrics-query/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  11 5-star reviews     ](https://wordpress.org/support/plugin/metrics-query/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/metrics-query/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/metrics-query/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/metrics-query/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/metrics-query/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/metrics-query/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/metrics-query/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/metrics-query/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=yehudahas@gmail.com&item_name=Donation+for+metrics+query)