-
Notifications
You must be signed in to change notification settings - Fork 328
Closed
Labels
P0High priorityHigh priorityTeam MIssues for Squad 2Issues for Squad 2Type: EnhancementImprovement of an existing featureImprovement of an existing feature
Description
Feature Description
Following this discussion in Asana, we've decided to remove the show_progress property from the Proxy_GoogleAnalyticsAdminProvisionAccountTicketRequest instance and add it as a query parameter to the redirect URI instead.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
- The
show_progressquery parameter is added to the redirect URI sent to the service when creating an Analytics account. - The
show_progressproperty is no longer included in the Analytics account ticket provisioning request.
Implementation Brief
- In
includes/Modules/Analytics_4/GoogleAnalyticsAdmin/Proxy_GoogleAnalyticsAdminProvisionAccountTicketRequest.php:- Remove the
$show_progressinstance property and its getter/setter accessor methods.
- Remove the
- In
includes/Modules/Analytics_4.php:- Update the
create-account-ticketendpoint handler:- If the
setupFlowRefreshfeature flag is enabled andshowProgresshas been included in the request data, add theshow_progressquery parameter with a truthy value to the redirect URI passed to$account_ticket_request->setRedirectUri(). - Remove the call to
$account_ticket_request->setShowProgress().
- If the
- Update the
Test Coverage
- Update the tests for the
create-account-ticketendpoint handler to reflect the above changes.
QA Brief
- Turn on the
setupFlowRefreshfeature flag. - Using the new setup flow, choose to enable Analytics and set up Site Kit.
- At the Analytics setup step, choose to create a new Analytics account.
- Upon returning from the Terms & Conditions acceptance, verify that the URL includes
showProgress=true, and the page has the progress segments.
Changelog entry
- Pass
show_progressas a query parameter to the redirect URI rather than as a separate property when creating an Analytics account in the new setup flow.
Metadata
Metadata
Assignees
Labels
P0High priorityHigh priorityTeam MIssues for Squad 2Issues for Squad 2Type: EnhancementImprovement of an existing featureImprovement of an existing feature