We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 55f01f9 + 7493192 commit 499ab7aCopy full SHA for 499ab7a
1 file changed
assets/source/setup-guide/app/steps/SetupTracking.js
@@ -137,7 +137,11 @@ const SetupTracking = ( { view } ) => {
137
setTagsList( results );
138
139
if ( Object.keys( results ).length > 0 ) {
140
- if ( ! appSettings?.tracking_tag ) {
+ if (
141
+ ! appSettings?.tracking_tag ||
142
+ typeof results[ appSettings?.tracking_tag ] ===
143
+ 'undefined'
144
+ ) {
145
handleOptionChange(
146
'tracking_tag',
147
Object.keys( results )[ 0 ]
0 commit comments