Skip to content

Commit

Permalink
Amend GA4 schema with new keys for autocomplete
Browse files Browse the repository at this point in the history
These have been agreed on for the autocomplete tracking.
  • Loading branch information
csutter committed Nov 6, 2024
1 parent 3da9df9 commit c5c7583
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
percent_scrolled: this.undefined,
video_current_time: this.undefined,
length: this.undefined,
video_percent: this.undefined
video_percent: this.undefined,
autocomplete_input: this.undefined,
autocomplete_suggestions: this.undefined
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ describe('Google Analytics schemas', function () {
percent_scrolled: undefined,
video_current_time: undefined,
length: undefined,
video_percent: undefined
video_percent: undefined,
autocomplete_input: undefined,
autocomplete_suggestions: undefined
}
}
var returned = schemas.mergeProperties(data, 'example')
Expand Down Expand Up @@ -76,7 +78,9 @@ describe('Google Analytics schemas', function () {
percent_scrolled: undefined,
video_current_time: undefined,
length: undefined,
video_percent: undefined
video_percent: undefined,
autocomplete_input: undefined,
autocomplete_suggestions: undefined
}
}
var returned = schemas.mergeProperties(data, 'example')
Expand Down Expand Up @@ -111,7 +115,9 @@ describe('Google Analytics schemas', function () {
percent_scrolled: undefined,
video_current_time: undefined,
length: undefined,
video_percent: undefined
video_percent: undefined,
autocomplete_input: undefined,
autocomplete_suggestions: undefined
}
}
var returned = schemas.mergeProperties(data, 'example')
Expand Down Expand Up @@ -147,7 +153,9 @@ describe('Google Analytics schemas', function () {
percent_scrolled: undefined,
video_current_time: undefined,
length: undefined,
video_percent: undefined
video_percent: undefined,
autocomplete_input: undefined,
autocomplete_suggestions: undefined
}
}
var returned = schemas.mergeProperties(data, 'example')
Expand Down

0 comments on commit c5c7583

Please sign in to comment.