Creation of Top device driving purchases
ACR KMW
#9162
Labels
javascript
Pull requests that update Javascript code
Module: Analytics
Google Analytics module related issues
P0
High priority
Team S
Issues for Squad 1
Type: Feature
New feature
Feature Description
One of the identified metric tiles for the ACR epic is
Top device driving purchases
. Details of this metric tile are as follows:purchase
ecommercePurchases
Figma design: TBA
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Top device driving purchase
ACR widget is introduced to the existing list of widgets available within KMWecommercePurchases
metric for thedeviceCategory
dimension (using the 1st/top device category from the results)Top device driving the most purchases
should be used for description and the tooltippurchase
event is not present, orconversionReporting
feature flag is not enabledImplementation Brief
assets/js/googlesitekit/datastore/user/constants.js
KM_ANALYTICS_TOP_DEVICE_DRIVING_PURCHASES
, holding a stringkmAnalyticsTopDeviceDrivingPurchases
assets/js/components/KeyMetrics/key-metrics-widgets.js
KM_ANALYTICS_TOP_DEVICE_DRIVING_PURCHASES
title
description
andtooltip
requiredConversionEventName
, and assign it an array value containingpurchase
event namedisplayInList
pass the helper functionshouldDisplayWidgetWithConversionEvent
assets/js/modules/analytics-4/components/widgets/TopDeviceDrivingPurchases.js
assets/js/modules/analytics-4/components/widgets/TopTrafficSourceWidget.js
as a starting point due to the similarity, with difference in report optionstotalPurchasesReportOptions
:ecommercePurchases
metricdeviceReportOptions
:deviceCategory
for dimensionsecommercePurchases
metricassets/js/modules/analytics-4/index.js
to include new widget registrationTest Coverage
QA Brief
Top device driving purchases
widget is not availableconversionReporting
feature flagTop device driving purchases
tileTop device driving purchases
widget is showing zero data (since the widget will only be having data on properties that have required ACR events and data associated with them)Changelog entry
The text was updated successfully, but these errors were encountered: