tracking selected country in GA
This commit is contained in:
@@ -17,4 +17,17 @@ class GoogleAnalytics {
|
||||
'search_term': search_term
|
||||
});
|
||||
}
|
||||
|
||||
static countrySelected(country) {
|
||||
gtag("event",
|
||||
"select_item",
|
||||
{
|
||||
item_list_id: "countrySelect",
|
||||
items: [
|
||||
{
|
||||
item_id: country,
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -117,6 +117,7 @@ class BatchCodeTableInitializer {
|
||||
this.#columnSearch.columnContentUpdated();
|
||||
this.#selectInput();
|
||||
});
|
||||
GoogleAnalytics.countrySelected(this.#getCountry());
|
||||
}
|
||||
|
||||
#_addEmptyControlColumn(json) {
|
||||
|
||||
Reference in New Issue
Block a user