Implement WooCommerce Redirect Modal Trigger Logic for Ads Module Setup via Settings #10178
Closed
1 task
Labels
javascript
Pull requests that update Javascript code
Module: Ads
Google Ads module related issues
Team S
Issues for Squad 1
Type: Enhancement
Improvement of an existing feature
Feature Description
The WooCommerce redirect modal should be triggered as early as possible for users opting to setup ads and whom meet the criteria of the modal, hence the triggering of this banner from the Ads Module Setup CTA Banner as well, see #10175.
Another early capture point is the
Settings > Connect More Services
view, where the WooCommerce Redirect Modal should be triggered when said qualifying users click on the "Set up Ads" CTA, as per the below screenshot:The modal should be triggered for users satisfying any of the following criteria:
The user has WooCommerce installed but not Google for WooCommerce
The user has both WooCommerce & Google for WooCommerce installed, but no Ads account linked via Google for WooCommerce
####The user has both WooCommerce & Google for WooCommerce installed, and has an Ads account linked via Google for WooCommerce
![image.png](https://camo.githubusercontent.com/4a2b3de2487aafd78f49b565d44bbec0e1ed056b98eaa9194a2e2efe00e36b6c/68747470733a2f2f6170692e7a656e6875622e636f6d2f617474616368656446696c65732f65794a66636d467062484d694f6e73696257567a6332466e5a534936496b4a4261484242656e55345130453950534973496d563463434936626e56736243776963485679496a6f69596d7876596c39705a434a3966513d3d2d2d383664396363356435636132396561643661653331656232613734363534343730306636613134612f696d6167652e706e67)
In all 3 of the above cases, the user should be given a choice to proceed with setting up Ads using Site Kit, via the secondary CTA of the modal. The primary CTA of each modal will be controlled by the modal component itself.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Settings > Connect More Services
.<WooCommerceRedirectModal>
Modal Component #10172 and Create New Ads Module Datastore Partial for Plugin Detection Selectors #10170 .Implementation Brief
Test Coverage
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: