View metrics CTA on notifications should not add new metrics #10044
Labels
Module: Analytics
Google Analytics module related issues
P0
High priority
Team S
Issues for Squad 1
Type: Bug
Something isn't working
Bug Description
When replicating the scenario from this issue Can view metrics appear a second time? - setting up tailored metrics with Publish blog purpose, and then detecting
add_to_cart
as new event (detected events - contact, add_to_cart, new detected events - add_to_cart), view metrics CTA should open a selection panel instead of adding new metrics.Steps to reproduce
Publish blog
as a site purpose with no events detectedpurchase
event as detected and new detected eventView metrics
CTA, click on itAdd metrics
CTA variationFrom @zutigrm
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
View Metrics
CTA should always open a selection panelImplementation Brief
assets/js/components/KeyMetrics/hooks/useDisplayNewEventsCalloutForTailoredMetrics.js
true
as an argument to the hooksite-kit-wp/assets/js/components/KeyMetrics/hooks/useDisplayNewEventsCalloutForTailoredMetrics.js
Line 54 in fe067d8
Test Coverage
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: