Title: ANUPRESS Post Insights
Author: anupress
Published: <strong>December 3, 2026</strong>
Last modified: December 3, 2026

---

Search plugins

![](https://ps.w.org/anupress-post-insights/assets/banner-772x250.png?rev=3843242)

![](https://ps.w.org/anupress-post-insights/assets/icon.svg?rev=3843242)

# ANUPRESS Post Insights

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

[Download](https://downloads.wordpress.org/plugin/anupress-post-insights.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/anupress-post-insights/#description)
 * [Reviews](https://wordpress.org/plugins/anupress-post-insights/#reviews)
 *  [Installation](https://wordpress.org/plugins/anupress-post-insights/#installation)
 * [Development](https://wordpress.org/plugins/anupress-post-insights/#developers)

 [Support](https://wordpress.org/support/plugin/anupress-post-insights/)

## Description

ANUPRESS Post Insights puts the numbers for each post in one place and says what
they mean: how many people read it, how it shows up in Google and Bing, and what
changed.

Other plugins show views, or Google data, or analytics. This one puts them side 
by side for every post, and writes the main changes as plain sentences before the
tables.

**What you get**

 * **What changed, in words.** “Views rose 23% to 459, from 373 in the same number
   of days before.” “The average Google position improved from 10.4 to 10.1.” Built
   from your own numbers, never from a guess.
 * **A privacy-friendly view counter** that you switch on yourself. No cookies, 
   no IP address and no browser identification stored. Bots are left out. It shows
   where readers came from (search engines, social networks, AI assistants, email,
   other sites, your own pages), channels per day, their device type, the hour, 
   your own utm_campaign links, and, for the whole site, views by category, tag,
   content type, post age and author, plus what was published in the period.
 * **Connect Google your way.** Sign in with Google: one click opens Google’s own
   permission screen, you choose the account, and the plugin picks this site’s properties.
   Or a service account key file, which works in the background. Or Site Kit’s connection,
   if that plugin is active. The Google tab walks through the few Google Cloud steps
   one screen at a time, opening the exact page for each, and after each test names
   exactly which API or invitation is still missing.
 * **Count the way you prefer, and show it if you like.** JavaScript counting (works
   with page caches, counts a view after a second on screen) or PHP counting at 
   page load. Show the number of views above or below the content of any counted
   post, page or product, in lists too, with your own wording, or anywhere with 
   the shortcode.
 * **Consent when you need it.** The counter can wait for the visitor’s consent:
   it follows the WP Consent API (Complianz, Cookiebot, CookieYes and other banners
   support it), or your own banner calls one function.
 * **Reading time and scroll depth:** how long readers really stayed (only while
   the page is on screen and they are active), how many reached the middle and the
   end of each post, and which other sites they clicked to.
 * **Google Search Console** per post and for the whole site: clicks, impressions,
   CTR, position, the search terms behind them, terms that rose or fell, and pages
   two of your posts compete for.
 * **Opportunities:** search terms where a page ranks between positions 4 and 20
   with real impressions, so a better title or description can win clicks.
 * **Google Analytics 4** per post: views, users, sessions, engaged sessions, key
   events and sessions by channel.
 * **Bing Webmaster Tools** per post and for the whole site.
 * **Index status** of a post in Google, and your sitemaps as Search Console sees
   them.
 * **One table for all pages**, with every source in its own columns, sortable, 
   searchable and downloadable as CSV.
 * **Export:** any report as an Excel workbook (.xlsx, one sheet per table) or as
   CSV, and a print layout for a PDF. From the report page, or from the Export tab
   in the settings.
 * **Where you work:** a column in the posts list, a box in the editor and a Dashboard
   widget. A `[apin_views]` shortcode and an `apin_get_views()` template function
   show a post’s all-time views.
 * **Switching from another counter:** import the history of Post Views Counter,
   WP-PostViews, Koko Analytics, WordPress Popular Posts, Top 10 or WP Statistics,
   then deactivate it. Nothing of the other plugin is changed.
 * **Your colours.** The screens use the ANUPRESS palette by default. Pick another
   palette, or your own colours; any colour too pale to read is darkened a little
   for the charts. Choose which parts the overview shows.
 * **One source never hides another.** If one is not connected or refuses, the rest
   still show, and the plugin says plainly what is missing and how to connect it.

Nothing is locked and nothing is paid.

**Connecting**

 * Google: Sign in with Google through an OAuth client you create in your own Google
   Cloud project, or your own service account key file, or the connection of Site
   Kit by Google when that plugin is active. The Google tab on the settings screen
   walks you through each way.
 * Bing: your own API key from Bing Webmaster Tools.

This plugin is not affiliated with or endorsed by Google or Microsoft. Google, Google
Analytics, Search Console and Bing are trademarks of their owners.

### External services

The plugin contacts these services only after an administrator has connected an 
account, and only to read that administrator’s own data. It never contacts the authors,
and it checks for no updates outside the WordPress.org directory.

**Google sign-in (accounts.google.com and oauth2.googleapis.com).** Used to get 
a short-lived access token, in one of two ways you choose. With Sign in with Google,
your browser is sent to Google’s permission screen with the client ID of the OAuth
client you created in your own Google Cloud project; Google sends a code back to
this site, which exchanges it for tokens at oauth2.googleapis.com, sending the code,
your client ID, your client secret and this site’s return address; the refresh token
is stored encrypted on this site, and while reports are read it is sent with your
client ID and secret about every hour to get a new access token. With a service 
account key, a signed request made with the key you provide, naming the account’s
e-mail address, the two read-only permissions and the time, is sent when you test
the connection and when a stored token has expired. Both ways ask only for the two
read-only permissions https://www.googleapis.com/auth/webmasters.readonly (Search
Console) and https://www.googleapis.com/auth/analytics.readonly (Analytics); these
addresses are names of permissions, nothing is sent to them. Google’s terms: https://
policies.google.com/terms and, for the APIs, the Google APIs Terms of Service: https://
developers.google.com/terms. Privacy policy: https://policies.google.com/privacy.

**Google Search Console API (searchconsole.googleapis.com).** Used to read search
performance, sitemaps and index status for the property you choose. Sent to Google:
the access token, the property address, a date range, the kind of report asked for
and, for one post, that post’s address. Sent when: you open a report or press refresh(
answers are kept for three hours), when you open the sitemap list (kept for twelve
hours), and when you check a post’s index status (kept for twelve hours). Google’s
terms: https://policies.google.com/terms and, for the APIs, the Google APIs Terms
of Service: https://developers.google.com/terms. Privacy policy: https://policies.
google.com/privacy.

**Google Analytics Data API (analyticsdata.googleapis.com) and Google Analytics 
Admin API (analyticsadmin.googleapis.com).** Used to read visits for the Analytics
property you choose, and to list the properties the key can see. Sent to Google:
the access token, the property number, a date range, the report asked for and, for
one post, that post’s page path. Sent when: you test the connection, and when you
open a report or press refresh (answers are kept for three hours). Google’s terms:
https://policies.google.com/terms and, for the APIs, the Google APIs Terms of Service:
https://developers.google.com/terms. Privacy policy: https://policies.google.com/
privacy.

**Bing Webmaster API (ssl.bing.com).** Used to read search performance for the site
you connect. Sent to Microsoft: the API key you provide, the site address and, for
one post, that post’s address. Sent when: you test the connection, and when you 
open a report or press refresh (answers are kept for six hours). Microsoft’s terms(
the Microsoft Services Agreement, which Microsoft names as the terms for the Bing
Webmaster API): https://www.microsoft.com/en-us/servicesagreement. Privacy policy:
https://www.microsoft.com/en-us/privacy/privacystatement.

**The Google Analytics logo** in assets/google-analytics.png is Google’s own file
from its Analytics branding guidelines (https://developers.google.com/analytics/
terms/branding-policy), shown unchanged next to Analytics data as that policy asks,
and linked to Google’s product page. Nothing is loaded from Google for it.

**Links in the settings.** The settings screens have buttons that open Google Cloud
Console (console.cloud.google.com), Search Console (search.google.com), Google Analytics(
analytics.google.com and www.google.com/analytics) and Bing Webmaster Tools (www.
bing.com/webmasters) in a new tab, so you can create a project, a key or a permission
there. They are ordinary links: the plugin sends nothing to these pages, your browser
opens them only when you click.

**Site Kit by Google (optional).** If that plugin is active, this plugin asks it
for data through WordPress’s own REST routes on your site. Nothing is sent anywhere
by this plugin in that case; Site Kit contacts Google under its own terms.

## Screenshots

[⌊The overview: what changed in words, the number cards and traffic per day from
every source.⌉⌊The overview: what changed in words, the number cards and traffic
per day from every source.⌉[

The overview: what changed in words, the number cards and traffic per day from every
source.

[⌊Pages: every source side by side for each page, sortable and downloadable.⌉⌊Pages:
every source side by side for each page, sortable and downloadable.⌉[

Pages: every source side by side for each page, sortable and downloadable.

[⌊Search: Google search terms, opportunities and terms on the move.⌉⌊Search: Google
search terms, opportunities and terms on the move.⌉[

Search: Google search terms, opportunities and terms on the move.

[⌊One post's own report, with its index status in Google.⌉⌊One post's own report,
with its index status in Google.⌉[

One post’s own report, with its index status in Google.

[⌊Settings: the Google tab, with a plain status for each source.⌉⌊Settings: the 
Google tab, with a plain status for each source.⌉[

Settings: the Google tab, with a plain status for each source.

[⌊Appearance: ANUPRESS colours by default, or your own.⌉⌊Appearance: ANUPRESS colours
by default, or your own.⌉[

Appearance: ANUPRESS colours by default, or your own.

[⌊Export: the whole site or one post, any period, as an Excel workbook, as CSV, 
or as the print view for a PDF.⌉⌊Export: the whole site or one post, any period,
as an Excel workbook, as CSV, or as the print view for a PDF.⌉[

Export: the whole site or one post, any period, as an Excel workbook, as CSV, or
as the print view for a PDF.

[⌊Connect with Google: one click opens Google's own permission screen; a key file
is the other way.⌉⌊Connect with Google: one click opens Google's own permission 
screen; a key file is the other way.⌉[

Connect with Google: one click opens Google’s own permission screen; a key file 
is the other way.

## Installation

 1. Install the plugin from the Plugins screen, or upload the plugin folder to `/wp-
    content/plugins/`.
 2. Activate it.
 3. Open Post Insights, then Settings. Switch on the view counter, and connect Google
    and Bing if you want their data.

To keep a secret out of the database, define it in `wp-config.php`:

 * `define( 'APIN_GOOGLE_KEY_FILE', '/path/outside/the/web/root/key.json' );` reads
   the Google service account key from a file.
 * `define( 'APIN_BING_API_KEY', 'your key' );` uses a Bing API key without saving
   it.

## FAQ

### Does it send my data to you?

No. The plugin never contacts the authors. It contacts Google and Microsoft only
after an administrator connects an account, and only to read that administrator’s
own data. The plugin’s own screens show a link to anupress.com in the admin footer;
nothing is loaded from it.

### Does it count visitors?

Only if you turn that on. When on, it uses no cookies and stores no IP address. 
For each view it adds one to a counter for the post and the day, and to counters
for coarse categories: where the reader came from, the type of device, the hour 
and the utm_campaign of the link. It also adds up, per post and day, the seconds
readers stayed and how many reached each quarter of the page, and counts clicks 
to other sites by that site’s address. To avoid counting a reload twice it keeps
a one-way hash, made with a random key, for the rest of the day; the hash and the
key are deleted on the next day.

A request to the counter must carry the token that the page was built with for that
post, and the browser must mark the request as coming from this site (its Origin,
Referer or Fetch Metadata headers); anything else is refused. Anyone who can read
the page can read the token, as with every counter for visitors who are not logged
in; the daily one-way hash then counts one view per reader and day. If you change
the site’s security keys and salts, purge your page cache: pages cached before the
change carry an old token and stop counting until they are rebuilt.

### Does the counter need a cookie banner?

It sets no cookie and keeps no identifier. Even so, in the EU the rules on reading
information from a visitor’s device (the ePrivacy Directive, in Germany section 
25 TDDDG) can apply to any script that sends data back, and whether a cookieless
counter needs consent is a question for your country’s rules and the person who 
looks after your privacy policy. If you decide it does, set the counter to “Count
only after the visitor consents”: it then waits for the Statistics consent of any
banner that supports the WP Consent API, or for your own banner to call window.apinConsent.
grant(). Until then nothing is sent and nothing is counted.

### Sign in with Google, a key file, or Site Kit?

Sign in with Google is the usual choice: you create an OAuth client in your Google
Cloud project once (the Google tab opens each page), then one click shows Google’s
own permission screen and you are done. Publish the consent screen, because Google
ends sign-ins for an app left in “Testing” after seven days. Google will say it 
has not verified the app: it is your own, used only by you, so press Advanced and
continue. A service account key file needs no sign-in and works in the background(
the posts list and exports have Google data even when nobody is logged in), but 
the account must be invited into Search Console and Analytics. Site Kit’s connection
is used when that plugin is active and the plugin has no connection of its own.

### Can I show the number of views on my posts?

Yes. In Settings, View counter, choose “Below the content” or “Above the content”,
write the wording you like with %s for the number (“%s readers”, “Read %s times”),
and tick “In lists too” if the home page, categories and other lists should show
it as well. It shows the all-time views of every counted post, page or product. 
For any other place, the `[apin_views]` shortcode and the `apin_get_views()` function
give the number, and the `apin_views_html` filter lets a theme change the markup.

### JavaScript or PHP counting?

JavaScript (the default) counts a view once the page has been on screen for a second,
so a tab opened in the background or closed at once is not a reader, robots are 
left out more reliably, and it works with page caches, because the small request
is made by the browser. PHP counts when the page is built on the server, before 
anything is shown: it also counts visitors without JavaScript, but a page served
from a cache never reaches PHP and is not counted. Reading time, scroll depth and
clicks to other sites always come from the script.

### Where are the keys kept?

A service account key or Bing API key saved in the plugin is encrypted in the database(
AES-256-GCM, with a key derived from your site’s secret salts), and never shown 
again or sent to the browser. If you change the salts in `wp-config.php`, enter 
the keys again. For the strongest protection, keep the key out of the database with
the `wp-config.php` constants above.

### Does it work with Site Kit by Google?

Yes. If Site Kit is active and connected, the plugin can read Search Console and
Analytics data through Site Kit’s own routes inside your site, so you do not connect
twice. This works while an administrator is logged in. A service account key connected
here is used first when both exist, because it also works in the background.

### Can I switch from another view counter without losing my numbers?

Yes, for Post Views Counter, WP-PostViews, Koko Analytics, WordPress Popular Posts,
Top 10 and WP Statistics. Open Post Insights, Settings, Import: the plugin lists
the counters whose data it finds, with how many posts and views they hold. The import
copies that history (days where the other plugin kept days, totals where it kept
only totals) and leaves the other plugin’s data untouched, so you can deactivate
it afterwards. From the day this counter started, its own count is used, so nothing
is counted twice. An import can be undone. If your content uses Post Views Counter’s`[
post-views]` shortcode, replace it with `[apin_views]`, or register the old tag 
yourself in your theme or a small plugin: `add_shortcode( 'post-views', 'apin_views_shortcode');`.

### Can I get the numbers out for my own analysis?

Yes. On the report page, choose “Excel workbook” or one table as CSV and press Download;
the file covers the period shown. The Export tab in the settings offers the same
for any post and period. The workbook has one sheet per table: summary, per day,
pages, search terms, opportunities, terms rising and falling, competing pages, Bing
terms, where readers came from, search engines, referrers, campaigns, devices, hours,
links clicked and Analytics channels. For a PDF, press “Print / PDF”: the report
is laid out for paper and your browser can save it as PDF.

### Can editors see the reports?

Yes, if you tick “Editors can read the reports too” in the settings. Only administrators
can change settings and connections.

### What happens when I delete the plugin?

Keys, connections, settings and cached answers are removed. The counted views stay,
so a reinstall keeps your history, unless you tick “Also delete every view counted”
in the settings first.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“ANUPRESS Post Insights” is open source software. The following people have contributed
to this plugin.

Contributors

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

[Translate “ANUPRESS Post Insights” into your language.](https://translate.wordpress.org/projects/wp-plugins/anupress-post-insights)

### Interested in development?

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

## Changelog

#### 1.0.0

 * First public release. Everything listed under the versions below was built before
   release, on WordPress 6.2 to 7.1 and PHP 7.4 to 8.4.

#### 0.4.0

 * Sources and Content tabs: channels per day, your own pages that sent readers,
   and views by category, tag, content type, post age and author, with the posts
   published in the period.
 * Sign in with Google: the site’s own OAuth client, Google’s permission screen,
   properties picked for this site, straight to the Overview. The Google, Bing and
   View counter settings each have their own tab; the Google tab is four screens,
   one action each, and after each test names exactly which API or invitation is
   still missing.
 * PHP counting as an alternative to the script, and the number of views shown on
   the site: above or below the content, in lists too, with your own wording.
 * Consent mode for the counter: wait for the WP Consent API’s Statistics consent,
   or for your own banner’s call, before anything is sent.
 * Google’s Analytics logo next to Analytics data, linked to the product page, as
   Google’s branding policy asks.
 * Export: an Excel workbook or CSV from the report page and from a new Export tab,
   and a print layout for PDF.
 * Import the view history of Post Views Counter, WP-PostViews, Koko Analytics, 
   WordPress Popular Posts, Top 10 and WP Statistics, in short steps, with undo.
 * A `[apin_views]` shortcode and an `apin_get_views()` function for themes.
 * All-time views in the editor box.

#### 0.3.0

 * The screens: overview, pages, search and audience reports, one report per post,
   settings for connections, the counter, appearance and access, a posts-list column,
   an editor box and a Dashboard widget.
 * What changed, written as plain sentences.
 * The counter now sees AI assistants, email links, campaigns, the hour of the day
   and daily visitors, and measures reading time, scroll depth and clicks to other
   sites.
 * Index status and sitemaps from Search Console.
 * Palettes, with ANUPRESS colours by default and your own colours as an option.
 * Deleting the plugin keeps counted views unless you choose otherwise; keys and
   settings are always removed.

#### 0.2.0

 * Data layer: Google Search Console, Google Analytics 4 and Bing clients, the Site
   Kit bridge, the optional view counter, the per-post and site report model, and
   REST routes for reading them.

#### 0.1.0

 * Foundation release: plugin headers, readme and clean uninstall.

## Meta

 *  Version **1.0.0**
 *  Last updated **4 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.2 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [analytics](https://wordpress.org/plugins/tags/analytics/)[bing](https://wordpress.org/plugins/tags/bing/)
   [post views](https://wordpress.org/plugins/tags/post-views/)[Search Console](https://wordpress.org/plugins/tags/search-console/)
   [seo](https://wordpress.org/plugins/tags/seo/)
 *  [Advanced View](https://wordpress.org/plugins/anupress-post-insights/advanced/)

## Ratings

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/anupress-post-insights/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/anupress-post-insights/)