Skip to content

Restore Analytics admin menu item to link to jump to expanded Analytics drawer on settings screen #5190

@westonruter

Description

@westonruter

Feature description

In #5155 for #5013 we moved the Analytics screen to a drawer under the Advanced section on the Settings screen. As part of this, the admin menu item for Analytics was removed. However, users are accustomed to seeing this item. It would be helpful for users to retain this link but have it deep link to the settings screen like via /wp-admin/admin.php?page=amp-options#analytics-options-drawer

For that matter, each of the drawers should be deep-linkable. If the ID for the drawer is the location target/hash, then it should be scrolled into view, expanded, and focused when the component first mounts. This will be helpful to link users to Plugin Suppression, for example. This should also be the case for non-drawers as well. For example, there should be a way to link to the mobile redirection toggle so that it will scroll into view and be focused.


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

Acceptance criteria

Implementation brief

QA testing instructions

Demo

Changelog entry

Metadata

Metadata

Assignees

Labels

ChangeloggedWhether the issue/PR has been added to release notes.EnhancementNew feature or improvement of an existing oneWS:UXWork stream for UX/Front-end

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions