Skip to content

Commit

Permalink
Add displayInList filter for KM_ANALYTICS_TOP_CITIES_DRIVING_ADD_TO_C…
Browse files Browse the repository at this point in the history
…ART.
  • Loading branch information
10upsimon committed Oct 3, 2024
1 parent 6696347 commit 177e36d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/js/components/KeyMetrics/key-metrics-widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@ const KEY_METRICS_WIDGETS = {
'google-site-kit'
),
requiredConversionEventName: [ 'add_to_cart' ],
displayInList: shouldDisplayWidgetWithConversionEvent,
},
[ KM_ANALYTICS_TOP_CITIES_DRIVING_PURCHASES ]: {
title: __( 'Top cities driving purchases', 'google-site-kit' ),
Expand Down

0 comments on commit 177e36d

Please sign in to comment.