-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creation of Top traffic source driving add to cart
ACR KMW
#9158
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
Comments
10upsimon
added
javascript
Pull requests that update Javascript code
Module: Analytics
Google Analytics module related issues
Type: Feature
New feature
labels
Aug 7, 2024
jamesozzie
added
the
Needs Documentation
Issues which require new or updated public-facing documentation.
label
Aug 7, 2024
AC ✔️ |
IB ✔️ |
binnieshah
removed
the
Needs Documentation
Issues which require new or updated public-facing documentation.
label
Sep 11, 2024
19 tasks
QA Update ✅
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 traffic source driving add to cart
. Details of this metric tile are as follows:add_to_cart
addToCarts
sessionDefaultChannelGroup
Figma design: TBA
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Top traffic source driving add to cart
ACR widget is introduced to the existing list of widgets available within KMWaddToCarts
metric count for thesessionDefaultChannelGroup
dimension (using the 1st/top channel from the results)Traffic source that generates the most add to cart events
should be used for description and the tooltipadd_to_cart
event is not present, orconversionReporting
feature flag is not enabledImplementation Brief
assets/js/googlesitekit/datastore/user/constants.js
KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_ADD_TO_CART
, holding a stringkmAnalyticsTopTrafficSourceDrivingAddToCart
assets/js/components/KeyMetrics/key-metrics-widgets.js
KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_ADD_TO_CART
title
description
andtooltip
requiredConversionEventName
, and assign it an array value containingadd_to_cart
event namedisplayInList
pass the helper functionshouldDisplayWidgetWithConversionEvent
assets/js/modules/analytics-4/components/widgets/TopTrafficSourceDrivingAddToCart.js
assets/js/modules/analytics-4/components/widgets/TopTrafficSourceWidget.js
as a starting pointshowWidget
const which should hold value ofisKeyMetricActive
or if no event is present in the inline data (the condition used inshouldDisplayWidgetWithConversionEvent
helper function), so this const can be used to returnWidgetNull
and prevent report requests if conditions are not met. You can see example usage of this const inassets/js/modules/analytics-4/components/widgets/PopularProductsWidget.js
totalAddToCartReportOptions
:addToCarts
metrictrafficSourceReportOptions
:sessionDefaultChannelGroup
for dimensionsaddToCarts
metricassets/js/modules/analytics-4/index.js
to include new widget registrationTest Coverage
QA Brief
Top traffic source driving add to cart
widget is not availableconversionReporting
feature flagTop traffic source driving add to cart
tileTop traffic source driving add to cart
widget is showing zero data (since widget will only have data on property that has ACR data)Changelog entry
Top traffic source driving add to cart
widget.The text was updated successfully, but these errors were encountered: