Skip to content

Stats: tapping the site title on the blog details screen generates one view in stats when it should not #10675

@designsimply

Description

@designsimply

Steps to reproduce:

  1. Delete and reinstall the app (use a fresh install).
  2. Go to My Site and select a site if prompted.
    Note that it's helpful to test with a site that gets little or no traffic.
  3. Tap the site title at the top to open a webview.
  4. Go to Site Pages and tap View for some of the pages.
  5. Go to Blog Posts and tap View for some of the posts.
  6. Wait a few minutes (up to 30).
  7. Check stats to see if any views were recorded.

Result: opening a web view by tapping on the site title on the Blog Details screen generates a single view in stats for the home page when it should not. Views for blog posts or pages from the Posts List and Pages List via the app did not generate any stats. Also, the home page view is only counted once, even if the site title is tapped to open a webview several times.

Note: I am not sure whether it matters for webviews but I made sure I was logged out of WordPress.com in the web browser on my device before testing. I also noticed that logging out and back in or closing and reopening the app didn't affect that one single view was recorded, but if I deleted and reinstalled the app then I could generate one more view each time I repeated the testing steps.

Screenshot_20191023-174449 Screenshot_20191023-182322
Tested with WPAndroid 13.4 on Pixel 3 Android 10.

/hat tip @charliescheer for the report (internal reference: p4a5px-2qf-p2)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions