GAinWP Google Analytics Integration for WordPress
The GAinWP Google Analytics Integration for WordPress plugin easily integrates Google Analytics tracking and dashboard reporting into your website in just minutes. It was created from the excellent Google Analytics Dashboard for WordPress (GADWP) plugin to maintain a simple, direct Google Analytics integration for those concerned about data privacy. 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. 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 GAinWP 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 GAinWP 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 GAinWP 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 GAinWP on GitHub You can submit feature requests or bugs on GAinWP repository. Why this Plugin The IntelligenceWP project leverages the GADWP plugin for core Google Analytics integrations. After the Google Analytics Dashboard for WordPress changed maintainers in April 2018, users expressed concern over the new auth process proving 3rd party access to Google API keys and analytics data. GAinWP implements a direct auth process where API keys only reside in your WordPress site eliminating 3rd party access. The long term goal of the project is to provide an open, standards based Google Analytics WordPress API to facilitate integration of Google Analytics data by other plugins and themes into WordPress. Credits This plugin was originally created by Alin Marcu as the Google Analytics Dashboard for WordPress (GADWP) Standard Installation Upload the full ga-in directory into your wp-content/plugins directory. In WordPress select Plugins from your sidebar menu and activate the GAINWP – Google Analytics Integration for WordPress plugin. Open the plugin General Settings page, which is located under Google Analytics menu. Make sure Setup Mode is set to “Tracking & Reporting” (default). Click the Authorize Plugin button. Click the red Get Access Code link to open a new browser tab/window and follow the steps to generate the code. Back on your WordPress browser tab/window, copy and paste the access code into the Access Code input field. Click Save Access Code button. After the save, select the Tracking ID / View for your site. Click the Save Changes button. Reporting Only Installation Complete steps 1-3 from the Standard Installation. Set Setup Mode to “Reporting only”. Click Save Changes. Complete steps 5-8 from the Standard Installation. Tracking Only Installation Follow setups 1-3 of the Standard Installation. Set Setup Mode to “Tracking only”. Copy and paste your Tracking ID from Google Analytics into the Tracking ID input. Click Save Changes. Localization You can translate GAinWP on translate.wordpress.org. License GAinWP it’s released under the GPLv2, you can use it free of charge on your personal or commercial website.
Post Views Counter
Post Views Counter counts how many times your posts, pages and other content are viewed, shows those counts on your site, and helps you see which content works – right inside WordPress. No external tools. No bloat. Just the numbers you need to see what’s working. It counts two things: Views – Counted views of your selected posts, pages and other content, according to your counting settings. Views can be displayed on your site and used to sort content. Visits – A Visit starts with a browser’s first counted view and covers subsequent counted content views within the fixed Count Interval. Visits are shown as site-wide totals beside Views, not per post. Key Benefits Clarity, speed, and control: Clear, Focused Metrics – Views for every post and Visits for the whole site give you a clear picture of how your content is performing. Made for WordPress – Runs entirely in your site. No GA, no third-party pipes; accurate counts in your Dashboard and post lists. Your counting rules – Choose which content to count, exclude selected visitors, and set the interval for repeat counts. Privacy-first – Views and Visits are stored as aggregate totals on your server. Browser storage helps prevent repeat counting within your Count Interval. Pro offers cookieless browser storage; its optional Strict Counts feature also caches IP-derived data to limit repeat counts. Works at scale – Minimal overhead, no external scripts, Multisite-ready. Display anywhere – Automatically show counts, or place them exactly where you want via blocks, shortcode or PHP. Features Practical features that matter: Count & display views for any post type you select. Count Visits and see them beside Views in the dashboard chart. Three counting modes: PHP, JavaScript, REST API Post Views dashboard widget: a chart of Views, Visits or both, with a Views comparison for the selected month. A month in progress is compared with the same days of the previous month. Top Posts dashboard widget, month by month. Sortable Post Views admin column, with a Views chart for each post. Traffic Signals admin column that flags unusual traffic changes compared with the same days of the previous month. Weekly email summary of how your content performed. Exclude bots, logged-in users, specific roles, or IPs Manually adjust a post’s views when needed. Query and order content by views (developer-friendly) Custom REST API endpoints Count Interval to set the fixed window for repeat counts from the same browser. One-click data import from WP-PostViews, Statify and Page Views Count Show the counter automatically, or place it with the Post Views block, shortcode or PHP function. Most Viewed Posts block and widget. Multisite compatible WPML/Polylang compatible; translation-ready (.pot) Post Views Counter Pro More capability without extra complexity: Fast AJAX counting that keeps counting light on busy sites. Caching compatibility and dynamic loading to count through cached pages and refresh displayed counts when a compatible counting mode is selected. Reports: Views by Date, Post and Author to spot winners, trends and top contributors, plus Visits in aggregate date reports. Visit trends and Views per visit in dashboard insights and email summaries. Performance Insights that explain how a post’s Views changed, in the admin column, Traffic Signals and email summaries. Daily, weekly and monthly email summaries with insights. Traffic sources: aggregate stats on referrers, devices, browsers, operating systems and languages. Views for taxonomy terms, authors and other archives. Customizable Views Period (e.g., last 7/30 days) to control the views count timeframe. Export to CSV/XML to download and share data. Integrations for ordering by views in popular builders (e.g., Elementor Pro, Divi, GenerateBlocks). Learn more about Pro →