From 43206ae22cb1ef38b3090ba066596f69dfc719a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Volds=C3=A6ter?= <ole.voldsater@uib.no> Date: Wed, 3 Feb 2021 15:01:06 +0100 Subject: [PATCH] =?UTF-8?q?ikke=20logg=20url-kodet=20s=C3=B8keuttrykk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index a4e411b2..baef9e5a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -151,13 +151,13 @@ export default { this.search_results = event.articles this.article = {lemmas: [], body:{pronunciation: [], definitions: [], etymology: []}} history.replaceState({article: this.article, search_results: this.search_results, lang: this.lang}, '') - this.$plausible.trackEvent('dropdown selection', {props: {query: event.q, match: event.match}}) + this.$plausible.trackEvent('dropdown selection', {props: {query: event.label, match: event.match}}) }else{ this.waiting_for_articles = true this.article = {lemmas: [], body:{pronunciation: [], definitions: [], etymology: []}} this.$router.push(`/${this.lang}/search/${event.q}`) navigate_to_search(this, event.q) - this.$plausible.trackEvent('dropdown selection', {props: {query: event.q, match: '<fritekstsøk>'}}) + this.$plausible.trackEvent('dropdown selection', {props: {query: event.label, match: '<fritekstsøk>'}}) } }, article_link_click: function(item) { -- GitLab