Metrics Query icon
Analytics & Tracking

Metrics Query

Connects Google Analytics with your WordPress site. Displays stats to help you understand your users and site content on a whole new level!

  • By yehudah
  • v1.0.3
  • Updated
Developer yehudah
18 Needs attentionmaintenance
  • 12 yearson WordPress.org
  • 5plugins
  • 2,130+installs in total
  • 5.0★avg. rating (14)
  • 0%of plugins updated this year
3/14 badges Profile →

Not recommended for new sites

Better alternatives to Metrics Query

  • Problem: Not maintained Last updated 6 years ago (version 1.0.3).
  • Problem: Not tested with recent WordPress Tested up to WordPress 5.7; the current release is 7.1. Needs PHP 5.6.0+.
  • Pass: Well rated Rated 5.0/5 by 11 users on WordPress.org.
  • Note: Small user base Active on 100+ sites.

For a new site, or if you are planning a rebuild, choose a plugin that is still maintained. Unmaintained plugins stop getting security fixes and tend to break as WordPress and PHP move on.

MonsterInsights icon

Best match

MonsterInsights

Updated 2 months ago, tested with WordPress 7.1, rated 4.5/5 by 3,161 users, used on 2+ million sites.

Setup guide →
Compare Metrics Querythis plugin MonsterInsights Lara’s Google Analytics (GA4) Analytify
Last updated 6 years ago2 months ago3 months ago2 months ago
Tested up to WordPress 5.7WordPress 7.1WordPress 7.1WordPress 7.0
Active installs 100+2+ million8,000+20,000+
Rating 5.0 / 5 (11)4.5 / 5 (3,161)4.7 / 5 (122)4.7 / 5 (488)
PHP code size 753 KB in 75 PHP files–––
Hooks for developers 16186–140

Switching from Metrics Query?

  1. Try the replacement on a staging copy of your site first.
  2. Note your current settings, shortcodes and widgets. They won't carry over automatically.
  3. Activate the new plugin, recreate the setup, then deactivate and delete the old one.

Need your settings or data moved over? We can migrate it for you.

Find other outdated plugins on your site with the free plugin checker →

Alternatives are matched on features and ranked by maintenance, WordPress compatibility, ratings and adoption, using WordPress.org data.

Overview

Metrics Query describes itself as: “Connects Google Analytics with your WordPress site. Displays stats to help you understand your users and site content on a whole new level!”

It is active on 100+ WordPress sites and rated 5.0 out of 5 by 11 users on WordPress.org. Developers can extend it through 5 actions and 11 filters, listed below.

We haven't published a hands-on review of Metrics Query yet. Want one, or need help with it? Send us a request.

How to install Metrics Query

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “Metrics Query” and pick the one by yehudah.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install metrics-query --activate

Requirements: WordPress 3.5+ · PHP 5.6.0+ · tested up to WordPress 5.7.22

Hooks & customisation

Metrics Query 1.0.3 fires 5 actions and 11 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

metrics-query — top hooks
// Filter in admin/settings.php
apply_filters( 'gadwp_sites_limit', 100 );

// Filter in admin/setup.php
apply_filters( 'gadwp_maps_api_key', $this->gadwp->config->options['maps_api_key'] );

// Filter in tools/tools.php
apply_filters( 'doing_it_wrong_trigger_error', true );

// Action in front/tracking-analytics.php
do_action( 'gadwp_analytics_amp_config', $this );

// Action in front/tracking-analytics.php
do_action( 'gadwp_analytics_commands', $this );

// Filter in front/tracking-analytics.php
apply_filters( 'gadwp_analytics_script_path', 'https://www.google-analytics.com/analytics.js' );

Browse all 16 hooks with examples →

Metrics Query: frequently asked questions

Is Metrics Query free?

Yes. Metrics Query is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.

Is Metrics Query safe to use?

Metrics Query has not been updated for 6 years. Plugins without updates stop receiving security fixes, so we recommend a maintained alternative for new sites. Users rate it 5.0 out of 5 from 11 reviews on WordPress.org. As with any plugin, keep it updated and only install it from WordPress.org or the developer.

Does Metrics Query work with WordPress 7.1?

It isn't confirmed. Metrics Query was last tested with WordPress 5.7, 14 releases behind the current 7.1, so test it on a staging site before relying on it. It requires WordPress 3.5 or later and PHP 5.6.0 or later.

How many websites use Metrics Query?

Metrics Query is active on 100+ WordPress sites, according to WordPress.org. It is currently at version 1.0.3, last updated on April 30, 2021.

What are the best alternatives to Metrics Query?

Plugins that do a similar job and are actively maintained include MonsterInsights (2+ million installs), Lara’s Google Analytics (GA4) (8,000+ installs), Analytify (20,000+ installs). See the side-by-side comparison.

Can I customise Metrics Query without editing its code?

Yes. Metrics Query 1.0.3 fires 5 actions and 11 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 16 hooks with examples.

Done for you

Let us deal with Metrics Query for you

Move to a maintained plugin without losing your settings, or keep this one and have it brought up to date.

Update an abandoned plugin

from $249

Keep the plugin your site depends on, made safe for current WordPress and PHP.

  • Compatibility with current WordPress and PHP
  • Security review and fixes
  • Deprecated code replaced
  • You keep a maintained copy

Typical turnaround: 5–10 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Need Metrics Query customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with yehudah. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 24, 2026.

More plugins by yehudah

All 5 →
Not updated in 5+ years

Video Thumbnails simplifies the process of automatically displaying video thumbnails in your WordPress template.

2,000+ installs Updated 6 years ago 16 hooks
Not updated in 8+ years

This plugin will add an upload field to Elementor Pro Forms.

10+ installs Updated 9 years ago 1 hooks
Not updated in 11+ years

A unique anti-spam solution to help you fight spam in registration, comments, forms (Contact Form 7).

10+ installs Updated 12 years ago 23 hooks
Not updated in 11+ years

This will help you sync redirects while creating or updating your site posts or pages, This will sync to the…

10+ installs Updated 12 years ago

Alternatives in Analytics & Tracking

See all →

Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful…

5+ million installs Updated 1 week ago 91 hooks
Reviewed

The best free Google Analytics plugin for WordPress. See how visitors find and use your website so you can grow…

2+ million installs Updated 2 months ago 186 hooks
Reviewed
CookieYes icon

CookieYes

3,239

Google-certified CMP: cookie banner, cookie notice and cookie consent for GDPR/CCPA compliance, with cookie blocker, cookie scanner and consent log.

1+ million installs Updated 2 weeks ago 82 hooks

Publish your cookie banner or notice in minutes. Automatically scan cookies, and create policies to align with GDPR, CCPA, and…

1+ million installs Updated 3 weeks ago 184 hooks