The Counter and Tracker options is the second tab in the Top 10 settings page and allows you to tweak the counter and tracker.

Counter settings

Display number of views on

This option lets you select where you’d like to display the views of the current post. By default Posts and Pages are enabled.

If you choose to disable this, please add <?php if ( function_exists ( 'echo_tptn_post_count' ) ) echo_tptn_post_count(); ?> to your template file where you want it displayed.

Format to display the post views

Customise the text used to display the post count when you have the above setting enabled or if you’re using the function as above.

Use %totalcount% to display the total count, %dailycount% for daily count and %overallcount%for overall counts across all posts.

Default display is: Visited %totalcount% times, %dailycount% visits today

No visits text

This text is displayed when there are no hits for the post and it isn’t a single page. For example, if you display post views on the Homepage or Archives, this text will be used. To override this, simply enter the same text as the above option.

Number format post count

Activating this option will convert the post counts into a number format based on the locale.

Start daily counts at midnight

The daily counter displays visits starting at midnight. This option is enabled by default, similar to most standard counters. If you disable this option, you can use the hourly setting in the next option.

Default custom period range

Set the number of days and hours that will be used for the “Daily” display.

Always display latest post count

This option uses JavaScript and could increase your page load time as it isn’t cached. Turn this off if you are not using caching plugins or are OK with displaying slightly older cached counts.

Exclude display on these post IDs

Enter a comma-separated list of post, page or custom post type IDs to exclude displaying the top posts on. e.g. 188,320,500

Tracker settings

Enable trackers

Top 10 tracks hits in two tables in the database. The overall table only tracks the total hits per post. The daily table tracks hits per post on an hourly basis. The daily tracker also powers the chart in the Top 10 Dashboard and is recommended to leave on.

Tracker type

Top 10 includes three different types of trackers, viz. REST API based, Query variable based and Ajaxurl based. All of these have different performance and compatibility considerations so try these on your site to understand best performance.

Top 10 Pro includes a high performance tracker called “Fast tracker”. This significantly improves the efficiency and performance of the tracking. Perfect for medium to high performance sites.

Load tracker on all pages

This will load the tracker js on all pages. Helpful if you are running minification/concatenation plugins.

Track user groups

Turn on posts for Admins, Editors or Authors of their own posts. If the current user falls into any one of the three groups when browsing a post, then the tracker is disabled.

Track logged-in users

Uncheck to stop tracking logged in users. Only logged out visitors will be tracked if this is disabled. Unchecking this will override the above setting.

Page views in admin

Adds three columns called Total Views, Today’s Views and Views to All Posts and All Pages. You can selectively disable these by pulling down the Screen Options from the top right of the respective screens.

Show views to non-admins

If you disable this then non-admins won’t see the above columns or browse the “Popular Posts” and “Daily Popular Posts” screens under the Top 10 admin menu.

Do not track bots

Enable this if you want Top 10 to attempt to stop tracking bots. The plugin includes a comprehensive set of known bot user agents but in some cases this might not be enough to stop tracking bots.

Debug mode

Setting this to true will force the tracker to display an output in the browser. This is useful if you are having issues and are seeking support.