• Valentin

    (@valentinalisch)


    Hey there!

    First of all: Thanks for providing a free version of WP Statistics and maintaining it. I have been using it ever since.

    Recently I started noticing some strange behavior on my website and WP Statistics stopped tracking visitors all together. I managed to work out the problem and could trace it back to being a problem with how WP Statistics handles hits that are generated through JavaScript when working with history.pushState.

    The hit is send successfully and is inserted into the database table as well but using the wrong (page) ID. The database entry is saved with the ID of the page I first opened and not with the corresponding ID which the page that got fetched via JavaScript. This breaks WP Statistics entirely and the plugin is not able to track visits to any of the pages (I guess because there are multiple database entries with the same ID now).

    See the following screenshot attached with the corresponding navigation steps I took:

    Any help in solving this problem would be greatly appreciated!

    Thanks a lot 🙂

    • This topic was modified 1 day, 16 hours ago by Valentin.

You must be logged in to reply to this topic.