WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Google Analytics Post Pageviews

Retrieves and displays the pageviews for each post by linking to your Google Analytics account.

1.4.4

  • Added a setting to add a trailing slash on slugs when fetching stats.

1.4.3

  • Added a setting to select Unique pageviews.

1.4.2

  • Added a setting toggle to hide Views column.
  • Added a special setting to get main page pageviews, call gapp_get_post_pageviews(1).

1.4.1

  • The Views column can now be used to sort your articles!
  • More intelligent way of getting Pageviews based on published dates.
  • Preserve the old value if for some reason GA cannot fetch a new one.
  • Fixed width on Views column.
  • Fixed a case when GAPP could return an error or en empty string.

1.4

  • Added a default value when the pageviews count cannot be refreshed.

1.3.9

  • Adding 4 hour flush delay.
  • Solving an issue with accented characters in URLs.

1.3.8

  • Fix namespace unique ID first generation.
  • Static translation namespace because i18n tools are dumb.

1.3.7

  • Handling different DB namespaces for cache reset.
  • Handling transients using other cache system.

1.3.6

  • Reset cache also reset transient timeout values.

1.3.5

  • Fixed wrong transient expiration delay.

1.3.4

  • Try to display the cached number even if Google is disconnected.
  • Check the array for websites results in the settings.

1.3.3

  • Don't disconnect the account if the API HTTP code is something else than 403.

1.3.2

  • Returns API error message from Google API.

1.3.1

  • Fixed an issue with Google auth token refresh.

1.3

  • Removed Google auth cronjobs and improved async re-authentication.

1.2.9

  • Added more details in the website selection.
  • Redirection after Google connection to avoid mis-auth.

1.2.8

  • Huge improvements on the Google authentication mechanism.

1.2.7

  • Improved the way the Google token is refreshed.
  • Added an anti-flood system when the Google API requests are not successful.
  • Added a link to empty the pageviews cache.

1.2.6

  • Using international number formatting for the views count, and adding a parameter to disable it on function call.

1.2.5

  • Avoid unnecessary API calls when the post is not published.

1.2.4

  • Improved Views column in Posts list.
  • Improved permalink detection.

1.2.3

  • Fixed some settings saving.
  • Improved API calls and error handling.

1.2.2

  • Minor but essential fix in the code snippet.

1.2.1

  • Added an optional Views column in Posts list.

1.2

  • Updated curl_ and file_ methods to WP_Http requests.

1.1

  • Changed the Google URLs to match the new Google Developers Console.
  • Specified a unique slug to prevent redirect_uri_mismatch.

1.0.1

  • Fixed a bug that prevented the token refresh.

1.0

  • First version. Enjoy!

Requires: 3.0 or higher
Compatible up to: 4.6.1
Last Updated: 1 week ago
Active Installs: 1,000+

Ratings

4.7 out of 5 stars

Support

0 of 4 support threads in the last two months have been marked resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2
100,1,1
100,1,1 100,1,1 100,2,2
100,1,1
0,2,0
100,1,1