Add a survey trigger for Reader Revenue Manager CTA #9447
Labels
Module: RRM
Reader Revenue Manager module related issues
P0
High priority
Team M
Issues for Squad 2
Type: Enhancement
Improvement of an existing feature
Feature Description
A survey trigger should be added for the Reader Revenue Manager CTA. The SK Service does not need to actually trigger a survey for this yet, which can be done later. For now, this would only be helpful to track use of the CTA.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
triggerID
should be:view_reader_revenue_manager_cta
.Note: This is a stub survey (at least for now) that will help us track use of this banner, so Site Kit doesn't have to display an actual survey.
Implementation Brief
assets/js/modules/reader-revenue-manager/components/dashboard/ReaderRevenueManagerSetupCTABanner.js
:useEffect
that callstrackEvent
for theview_notification
event.triggerSurvey()
passing the trigger ID according to the ACs.Test Coverage
QA Brief
rrmModule
feature flag enabled.triggerID
is set toview_reader_revenue_manager_cta
.POST
request is made to thewp-json/google-site-kit/v1/core/user/data/survey-trigger
endpoint with the correcttriggerID
:Changelog entry
The text was updated successfully, but these errors were encountered: