Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ben Cole

    (@bcole808)

    Hello!

    Regarding page views, it’s possible that some URL variant is being tracked by Google Analytics (for example with or without trailing slash, query variables, different subdomain with or without www, etc) and that it is not matching up correctly with the permalink stored by wordpress for each post.

    Regarding accessing old data, all of the stats are stored as post meta fields. You can view/edit the custom fields for a post on the Edit Post screen in WordPress, and find the fields that this plugin created to store the stats.

    Hello,

    My Home also get the views. In the plugin data-sources / google_analytics.php add the line

    if (empty ($ url_path)) $ url_path = ‘/’; # 250

    thus leaving

    $ Url_parts = parse_url ($ full_url);
    $ Url_path = rtrim ($ url_parts [ ‘path’], ‘/’);
    if (empty ($ url_path)) $ url_path = ‘/’;

    and got the views for my homepage, clearly this solution is not very good, is there any other?

    But there is a solution could add some custom field in the editing entries / pages to add hand a URL in particual and take that instead of the permalink, in the absence of the field value takes the permalink as it has done Until now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pageviews Showing 0’ is closed to new replies.