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 →
Simple Google Analytics Tracking
Simple Google Analytics Tracking allows you to add Google Analytics to your WordPress site with only the Tracking ID. Once the Tracking ID is input the Google Analytics code is added automatically with your Tracking ID. Simple Google Analytics Tracking does not track Editors and Administrators by default to prevent extra page views from showing up in your reports. Editors and Administrators can be allowed through the sgat_output_ga_code filter. Filters sgat_output_ga_code: used to override the default user tracking setting. Example Usage: add_filter( 'sgat_output_ga_code', 'sgat_override_user_settings' ); function sgat_override_user_settings() { return true; } sgat_tracking_id: used to add the Tracking ID programmatically. Example Usage: add_filter( 'sgat_tracking_id', 'sgat_custom_ga_tracking_id' ); function sgat_custom_ga_tracking_id( $tracking_id ) { $tracking_id = 'UA-123456-7'; return $tracking_id; } sgat_tracker_create_fields : Used to modify the information when creating the Google Analytics tracker. Example Usage: add_filter( 'sgat_tracker_create_fields', 'sgat_custom_tracker_create_fields' ); function sgat_custom_tracker_create_fields( $fields ) { $fields['siteSpeedSampleRate'] = 50; return $fields; } sgat_after_tracker : Used to add additional Google Analytics calls after the main tracker output. Example Usage: add_action( 'sgat_after_tracker', 'sgat_after_tracker_functionality’ ); function sgat_after_tracker_functionality() { echo "ga('send', 'event', 'MyCategory', 'MyAction', 'MyLabel', 50);"; }