-
Notifications
You must be signed in to change notification settings - Fork 295
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 leads
ACR KMW
#9217
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
zutigrm
added
P0
High priority
Type: Enhancement
Improvement of an existing feature
Team S
Issues for Squad 1
labels
Aug 21, 2024
zutigrm
added
Needs Documentation
Issues which require new or updated public-facing documentation.
Type: Feature
New feature
Module: Analytics
Google Analytics module related issues
javascript
Pull requests that update Javascript code
and removed
Type: Enhancement
Improvement of an existing feature
labels
Aug 23, 2024
AC ✔️ |
IB ✔️ |
18 tasks
binnieshah
removed
the
Needs Documentation
Issues which require new or updated public-facing documentation.
label
Sep 11, 2024
QA Update ✅
Note : In the Figma design, the traffic source title font size is set to 16px. However, for similar existing KMWs, we use a font size of 18px, which is also the size we use for ACR widgets. The 18px size looks better, while 16px appears too small. Pass Cases |
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 pages driving leads. Details of this metric tile are as follows:
Description: Total number of lead form submissions for top traffic source. We will extract only the top performing one and show it in the existing numeric tile template (like what we have for the existing “Top traffic source” KM tile). Tile should combine counts from both contact and submit_lead_form events, if present, otherwise, it will use the data for events that are present.
Events:
generate_lead
submit_lead_form
andcontact
Metrics: Total
generate_lead
submit_lead_form
andcontact
events count, ordered bysessionDefaultChannelGroup
dimension, returning the 1st item from resultsDimension:
sessionDefaultChannelGroup
Order: Descending
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Top traffic source driving leads
ACR widget is introduced to the existing list of widgets available within KMWgenerate_lead
|submit_lead_form
|contact
event count for thesessionDefaultChannelGroup
dimension (using the 1st/top channel from the results)Total number of leads for the top traffic source
should be used for description and the tootlipconversionReporting
feature flag is not enabledImplementation Brief
assets/js/googlesitekit/datastore/user/constants.js
KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_LEADS
, holding a stringkmAnalyticsTopTrafficSourceDrivingLeads
assets/js/components/KeyMetrics/key-metrics-widgets.js
KM_ANALYTICS_TOP_TRAFFIC_SOURCE_DRIVING_LEADS
title
description
andtooltip
requiredConversionEventName
, and assign it an array value containing following event names:submit_lead_form
,contact
andgenerate_lead
displayInList
pass the helper functionshouldDisplayWidgetWithConversionEvent
assets/js/modules/analytics-4/components/widgets/TopTrafficSourceDrivingLeads.js
assets/js/modules/analytics-4/components/widgets/TopTrafficSourceWidget.js
as a starting pointtotalLeadsReportOptions
:eventCount
for metricseventName
dimensiondimensionFilters
foreventName
dimension. UseinListFilter
forfilterType
and for thevalue
include the detected event name by cross-referencing therecentEvents
inline data returned from selector implemented in Creation of a New GA4 Datastore Partial for Detected ACR Events #9132 with -['submit_lead_form', 'contact', 'generate_lead']
. In case bothcontact
andsubmit_lead_form
are detected, use onlysubmit_lead_form
, to cover the cases where users have both Popup Maker and Contact Form 7 plugins installed, as both events would be tracked, making them duplicate.inListFilter
filter used inassets/js/modules/analytics-4/components/widgets/TopRecentTrendingPagesWidget.js
trafficSourceReportOptions
:sessionDefaultChannelGroup
andeventName
for dimensionseventCount
metricdimensionFilters
as in previous report optionsassets/js/modules/analytics-4/index.js
to include new widget registrationTest Coverage
QA Brief
Top traffic source driving leads
widget is not availableconversionReporting
feature flagTop traffic source driving leads
tileTop traffic source driving leads
widget is showing zero data (since widget will only have data on property that has ACR data)Changelog entry
The text was updated successfully, but these errors were encountered: