User/Author analytics | WordPress.org

Hello @dwheditor

Thank you for contacting us. Sorry, we do not have any analytics extension yet.

There is a way to show the listing views on the dashboard page like this > https://prnt.sc/5zSkt-ZfNRA4
If you want to achieve this please implement the following process.

  1. Please make sure to add the View filed on the listing form layout using the Directory Builder > https://prnt.sc/ZNIkKya60PEA
  2. Please implement the following code in the functions.php file of the child theme. If you are not using any child theme, please use any code snippet plugin and use the following custom code –
add_action('directorist_dashboard_listing_th_6', function () {
?>
	<th class="directorist-table-views">Views</th>
<?php
});

add_action('directorist_dashboard_listing_td_6', function ($dashboard) {
	$listing_id = get_the_ID();
	$view_count = get_post_meta($listing_id, '_atbdp_post_views_count', true);
	$view_count = $view_count ? $view_count : 0;
?>
	<td class="directorist-table-views"><?php echo $view_count; ?></td>
<?php
});

This process should show the listing views on the dashboard page.
Please let me know if you need further assistance.

Kind Regards

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer