Google Analytics Post Pageviews
Ultra Excellent (3 posts)

  1. Thiago Miro
    Posted 1 year ago #

    Incredible what it does, I'm satisfied.
    I mage one function to show the views in the edit.php page. Use the following code in your functions.php file. :D

    // Add it to a column in WP-Admin - (Optional)
    add_filter('manage_posts_columns', 'posts_column_views');
    add_action('manage_posts_custom_column', 'posts_custom_column_views',6,2);
    function posts_column_views($defaults){
        $defaults['post_views'] = __('Views');
        return $defaults;
    function posts_custom_column_views($column_name, $id){
    	if($column_name === 'post_views'){
            echo gapp_get_post_pageviews(get_the_ID());
  2. maximevalette
    Plugin Author

    Posted 1 year ago #

    Thanks for your suggestion, it's a great one and I just added it in the version 1.2.1 :)

  3. Thiago Miro
    Posted 1 year ago #

    I'm glad you liked. :D

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Analytics Post Pageviews
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.