• Resolved Toengel

    (@toengel)


    Hi,

    the analytics page does show ID; Timestamp, IP, User, blog post, …

    However, the blog post column is almost empty – I only have 1 or 2 links to the posts. Is this a bug?

    Additionally it would be great to have a summary on this page:
    – number of all votes
    (I see, that the ID column is some kind of count, however, I used the import of an other old rating plugin, so the amount is different)
    (also on Stats page the overall count would be nice)

    Also a hint would be nice, what the “time duration” column is about…

    Toengel@Alex

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Blaz K.

    (@blazk)

    Hi Alex,

    the analytics section shows every vote on your website. Every vote gets an ID but only the last 100 votes are shown. The “Post” cell should show the title of the article with the link. If it doesn’t, this might be a bug. Do you see any errors in PHP error log? It works well in my environment(s).

    The duration cell shows how much time the user spent on page before rating the article.

    Regards,
    Blaz

    Thread Starter Toengel

    (@toengel)

    Hi,

    there are no errors/warning from your plugin the the wordpress logs…

    Is there a way, I can produce some (e.g. put some echos in the php files of your plugin on my side)?

    Toengel@Alex

    Plugin Support Blaz K.

    (@blazk)

    Alex, maybe share a screenshot first just that I know for sure what the problem is.

    Blaz

    Thread Starter Toengel

    (@toengel)

    Hi,

    here wo go:

    https://toengel.net/philips/RMP-issue.png

    Toengel@Alex

    Plugin Support Blaz K.

    (@blazk)

    Alex, I see the problem. So, to get the title there the plugin uses get_the_title() function which I guess in your case for some reason returns false. Maybe check in which posts this happens and how they differ from posts where it works. The only way I can replicate this is by adding the widget to a non-post page such as archive etc.

    Regards,
    Blaz

    Thread Starter Toengel

    (@toengel)

    Hi,

    I checked your plugin code and the relation to the wp_rmp_analytics table. The post column is the important stuff. In the analytics table, where the entries are empty always the number 32767 is written (and this post id does not exist). This seems to be an INTEGER boundary… so, from my point of view, I need to check the plugin, when an entry is done into the analytics table…

    Toengel@Alex

    Plugin Support Blaz K.

    (@blazk)

    Alex, check the save_for_analytics method in rate-my-post\public\class-rate-my-post-public.php. Do let me know what you figure out.

    Regards,
    Blaz

    Thread Starter Toengel

    (@toengel)

    Hi,

    I can see in your latest update the following changelog item:

    Bug fix: Post titles were not shown in the analytics section for websites with many posts

    However, I still have many empty cells… or will they be filled only for future ratings?

    Toengel@Alex

    Plugin Support Blaz K.

    (@blazk)

    Hi Alex,

    yes, I finally managed to replicate and fix this bug πŸ™‚ The cells will be unfortunately filled only for future ratings as the previous implementation prevented post id from being saved to DB on large websites.

    Regards,
    Blaz

    Thread Starter Toengel

    (@toengel)

    Hi,

    glad to hear that I have a large website πŸ˜‰

    And I can confirm, that the table is now filled…

    Toengel@Alex

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Analytics page: blog post column is almost empty’ is closed to new replies.