If you are using Post Pay Counter to calculate and keep track of how much money each author should be paid for their posts, there are currently at least seven ways to pay authors per visit.
Google Analytics
Note: Universal Analytics is being retired by Google in 2023. Read The future of Analytics integration and support for GA4 for more info,
Post Pay Counter PRO allows you to automatically pull views data from your Google Analytics account and use it to compute payments. We cover its setup and workings in this documentation page.
WP-Slimstat
WP-Slimstat is one of the most complete WP visits tracking plugin out there. You can use its data with Post Pay Counter by downloading a little free addon first. Extract the archive and put the file in your /plugins
folder, making sure it comes just as a single file and not in a folder.
Once you have both plugins installed and active, go to Post Pay Counter > Options > Counting settings > Visits contribute to payment > I have my own visits counter (callback)
and type ppc_wp_slimstat_views
in the Callback name
field.
Matomo Analytics
Post Pay Counter PRO allows you to automatically pull views data from your Matomo account and use it to compute payments. We cover its setup and workings in this documentation page.
Plausible Analytics
Post Pay Counter PRO allows you to automatically pull views data from your Plausible account and use it to compute payments. We cover its setup and workings in this documentation page.
Post Views Counter
If you are using Post Views Counter to keep track of visits, we provide a little free addon to Post Pay Counter that will allow integration between the two. Once you have both plugins installed and active, go to Post Pay Counter > Options > Counting settings > Visits contribute to payment > I have my own visits counter (callback)
and type ppc_pvc_views
in the Callback name
field.
WP-PostViews
Although WP-PostViews data can easily be hacked by dishonest writers that have permissions to edit postmetas, and thus not recommended if you are relying on it for payment purposes, it is a really simple plugin to count visits. Once you have it installed and active, you need to go to Post Pay Counter > Options > Counting settings > Visits contribute to payment > I have my own visits counter (postmeta)
and type views
in the Postmeta name
field.
WordPress Popular Posts
PPC can also draw visits from the WordPress Popular Posts plugin. You’ll need to copy-paste this code in your theme’s functions.php
first:
function ppc_wpp_views( $post ) { if( function_exists( 'wpp_get_views' ) ) return wpp_get_views( $post->ID, 'all', false ); else return 0; }
You then need to go to Post Pay Counter > Options > Counting settings > Visits contribute to payment > I have my own visits counter (callback)
and type wpp_get_views
in the related text field. (Reference topic.)