WordPress.org

Forums

Google Analytics Post Pageviews
[resolved] With WPML, a "0" is displayed in the translation column (5 posts)

  1. Jordy Meow
    Member
    Plugin Author

    Posted 11 months ago #

    Hello Max!

    I could have updated the SVN but I am not sure why it happens.

    Using WPML, I have a "0" always showing (even though the views are much higher) in the WPML column containing the links to the translations.

    By commenting the last "echo 0;" of the plugin, I can actually get rid of it and the rest of the plugin works as expected :) I did this on my side but not sure what we should really do as a permanent fix.

    https://wordpress.org/plugins/google-analytics-post-pageviews/

  2. maximevalette
    Member
    Plugin Author

    Posted 11 months ago #

    Hey Jordy,

    About the "0" showing it was a wrong if statement on the column trigger (removing the echo 0 would work but I've improved the overall logic). It's been fixed in 1.2.4.

    Thanks :)

  3. Jordy Meow
    Member
    Plugin Author

    Posted 11 months ago #

    That's excellent! Thank you so much Max :) There is one last bug I can see, I will open a new thread :p The fix will be easy.

  4. Jordy Meow
    Member
    Plugin Author

    Posted 11 months ago #

    Actually it seems it is fixed already. I was about to write about the weird statistics shown for the drafts posts but now it's mostly 0, sometimes 1 or 2. Not sure why, but that's okay :)

  5. maximevalette
    Member
    Plugin Author

    Posted 11 months ago #

    Great :)

Reply

You must log in to post.

About this Plugin

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

About this Topic