Metrics Query
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.
Tagbridge – Deep Integration for PostHog
Tagbridge is a simple, independent way to add PostHog to WordPress: PostHog for WordPress, without touching code. Enter your PostHog project API key, choose your region, and Tagbridge loads PostHog on your site with the settings you pick. Tagbridge is an independent project. It is not affiliated with, endorsed by, or sponsored by PostHog. “PostHog” is a trademark of its respective owner and is used here only to describe what this plugin connects to. What it does today Connect to PostHog Cloud (US or EU) or your own self-hosted or reverse-proxy host. Your project API key is checked with a live test call before it is saved, so you know right away if it is correct. Loads PostHog (posthog-js) from the host you configure, so self-hosted and reverse-proxy setups work without code. Plain-language toggles for what gets captured: pageviews, autocapture (clicks and form interactions), session recording, and person profile mode. Privacy-first cookieless mode that keeps visitor state in memory, so no PostHog cookie is set. Identity: tie logged-in WordPress users to one PostHog person across anonymous and logged-in sessions, using a stable hashed identifier (never the raw user ID). You choose whether to identify logged-in users and which properties to send (email, name, role). Server-side events: send key events (user logged in, user registered) from your own WordPress server, so they still arrive when a visitor’s browser blocks tracking. Runs on your existing hosting, with a per-event on/off switch. A failed or slow PostHog request never affects your pages. WooCommerce events (when WooCommerce is active): product viewed, added to cart, checkout started, and order completed with order value and currency. The same person is tracked from the browser session through to the completed order. A clean settings screen that fits WordPress and stays out of your way. On the roadmap Planned for future releases: A no-flicker feature-flag block and shortcode evaluated on the server. Optional starter dashboards created in your PostHog project. WordPress Consent API support. External services This plugin connects to PostHog, the analytics service you configure. It is required for the plugin to do anything, because the plugin’s purpose is to send your site’s analytics to your PostHog project. What is sent and when: When you save your settings in the admin, the plugin makes one request to the PostHog feature-flags endpoint (for example https://us.i.posthog.com/flags) with your project API key to confirm the key and host are valid. This request does not record any analytics event. On your site’s front end, after you have connected and only when configured, the plugin loads PostHog (posthog-js) from the host you choose (PostHog US cloud, EU cloud, or your own host). PostHog then sends visitor analytics such as pageviews and, if enabled, clicks and form interactions and session recordings, to your PostHog project. The exact data depends on the toggles you choose. When server-side events are enabled, your WordPress server sends those events (for example user logged in, or a completed WooCommerce order with its value and currency) directly to your configured PostHog host. This happens from your server, not the visitor’s browser. The host the data is sent to is the one you configure: US cloud: https://us.i.posthog.com EU cloud: https://eu.i.posthog.com Self-hosted or reverse proxy: the URL you enter PostHog terms of service: https://posthog.com/terms PostHog privacy policy: https://posthog.com/privacy Privacy No analytics are sent until you enter a PostHog project API key and connect. You control what is captured with the tracking toggles, and you can turn on cookieless mode so no PostHog cookie is set. You are responsible for telling your visitors what you collect and for obtaining any consent your jurisdiction requires. Support for the WordPress Consent API is planned for a future release.