Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistencies in Analytics tracking exclusions switch #5243

Closed
aaemnnosttv opened this issue May 20, 2022 · 2 comments
Closed

Inconsistencies in Analytics tracking exclusions switch #5243

aaemnnosttv opened this issue May 20, 2022 · 2 comments
Labels
Module: Analytics Google Analytics module related issues P2 Low priority Type: Bug Something isn't working

Comments

@aaemnnosttv
Copy link
Collaborator

aaemnnosttv commented May 20, 2022

Bug Description

There are a few minor inconsistencies with the Analytics tracking exclusion switches.

One is an odd wording case if both "All logged-in users" and "Users that can write posts" are selected, the settings view shows these as a comma-separated list of separate values. If "All logged in users" this obviously includes any other subset so this should be the only thing shown.

Secondarily, there is a full-stop at the end of one of the settings view shown below.

Steps to reproduce

  1. Setup Analytics
  2. Edit Analytics settings
  3. Toggle off "All logged-in users"
  4. Toggle on "Users that can write posts"
  5. Toggle on "All logged-in users" again
  6. Save settings

Screenshots

Primary issue

image

Secondary copy issue
image


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

  • The Analytics tracking exclusions setting should only show "All logged-in users" when this option is enabled in the settings view
  • The "Analytics is currently enabled for all visitors" text in the settings view should be without a full-stop at the end

Implementation Brief

Test Coverage

  • Add a test in Analytics SettingsTest to exercise this functionality

QA Brief

  • QAing this would require following the replication steps in the description above and making sure the "Excluded from Analytics" section always says "All logged-in users" only. The first (primary issue) screenshot attached above can be used as a reference for comparison.
  • Make sure all the statements in this section do not have a trailing full stop for consistency. The second screenshot (secondary issue) attached above can be used as a reference for comparison.

Changelog entry

  • Update wording for the Analytics tracking exclusions switch.
@aaemnnosttv aaemnnosttv added Type: Bug Something isn't working P2 Low priority Module: Analytics Google Analytics module related issues labels May 20, 2022
@tofumatt tofumatt self-assigned this May 23, 2022
@tofumatt
Copy link
Collaborator

IB ✅

@tofumatt tofumatt removed their assignment May 23, 2022
@nfmohit nfmohit self-assigned this May 24, 2022
@nfmohit nfmohit removed their assignment May 24, 2022
@nfmohit nfmohit assigned eugene-manuilov and unassigned nfmohit May 26, 2022
@eugene-manuilov eugene-manuilov removed their assignment May 26, 2022
@wpdarren wpdarren self-assigned this May 27, 2022
@wpdarren
Copy link
Collaborator

QA Update: ✅

Verified:

  • The "Excluded from Analytics" section always says "All logged-in users" only.
  • The statements in this section do not have a trailing full stop.
Screenshots

image
image

@wpdarren wpdarren removed their assignment May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Module: Analytics Google Analytics module related issues P2 Low priority Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants