Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-4590

View Statistics increment too fast because of AJAX features in bottom page tags and ratings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.2.2, 2.3 M1
    • 1.8.4
    • Statistics
    • None
    • Unknown

    Description

      When we make AJAX calls that are served using the "view' action like fort the tabs at the bottom of the page, statistics are increments. This mages each page view count as twice for the page and counts views for the ratings page although these are not real page views.

      Using firebug we see this call:

      http://emc.devxwiki.com/xwiki/bin/view/Stats/?xpage=xpart&vm=commentsinline.vm

      Unless we use another action than view or ignore in the Stats module the calls that use the "xpart=plain" parameter we get this effect on the stats module.
      We need to find a solution to make the stats values more reliable.

      We have 2 solutions:

      1/ either use a different action or exclusion method in the stats module
      2/ use an additional AJAX request similar to a google analytics call to record statistics

      Solution 2 is more reliable but has additional load cost on the system and requires more work.
      Solution 1 can be implemented in the short term

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              ludovic Ludovic Dubost
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: