diff --git a/src/components/DictionaryView.vue b/src/components/DictionaryView.vue index 6182d3b0cadcfb95cc7a61a1c92fb54ecc9bdac7..040184afedc01e79086fc4dcfbad64e7b4fe23aa 100644 --- a/src/components/DictionaryView.vue +++ b/src/components/DictionaryView.vue @@ -211,13 +211,13 @@ export default { this.waiting_for_articles = true history.replaceState({article: this.article, search_results: this.search_results, lang: this.lang, error: this.error}, '') navigate_to_word(this, event.match) - this.$plausible.trackEvent('dropdown selection', {props: {query: event.label, match: event.match}}) + this.$plausible.trackEvent('dropdown selection', {props: {query: event.q, match: event.match}}) }else{ this.waiting_for_articles = true this.article = null this.$router.push(`/${this.lang}/search/${event.q}`) navigate_to_search(this, event.q) - this.$plausible.trackEvent('dropdown selection', {props: {query: event.label, match: '<fritekstsøk>'}}) + this.$plausible.trackEvent('dropdown selection', {props: {query: event.q, match: '<fritekstsøk>'}}) } }, update_lang_form: function(event) {