gutenberg-mobile icon indicating copy to clipboard operation
gutenberg-mobile copied to clipboard

Video Block in editor - File Downloads Stats tracking is incorrect

Open cameronvoell opened this issue 6 years ago • 2 comments
trafficstars

There is some inconsistent behavior between Aztec and Gutenberg Mobile Editors for how video uploads and playback are translated into the Stats section. For at least one user this caused confusion because he was seeing in his stats that videos he had in article drafts had many file downloads, even though the drafts were not visible publicly. For published posts, he was seeing more downloads than page views which was also confusing. (#2373779-zen)

Expected:

Videos added in the editor do not show up in Stats tracking until published and viewed by visitors to an article. (This seems to be how it works with Articles with Videos published from the Aztec Editor on iOS).

Actual:

When a video is uploaded for a video block within the Gutenberg mobile editor, each time you open the editor and view the video it adds 4 downloads to "File downloads" in the Stats section.

Steps to reproduce:

  1. In the mobile app switch to a site that has access to stats, create a new post and add a video block.
  2. Upload a video to video block and press play.
  3. Save draft
  4. Go to stats section and pull down to refresh.
  5. Verify the video file shows in File downloads with 4 new views.
  6. Return to article draft and press play again.
  7. Return to stats view and verify file downloads went up by 4 again.

cameronvoell avatar Sep 26 '19 01:09 cameronvoell

Possibly related PR: https://github.com/wordpress-mobile/gutenberg-mobile/pull/1117 cc @pinarol

designsimply avatar Oct 24 '19 19:10 designsimply

Please see for more details on this issue https://github.com/wordpress-mobile/WordPress-Android/issues/10653

ravishanker avatar Apr 05 '24 01:04 ravishanker