Commit d9375691 authored by Henrik Askjer's avatar Henrik Askjer
Browse files

test similar link

parent 5bf88926
......@@ -621,7 +621,10 @@ export default {
},
similar_link: function (word) {
console.log(word)
this.$plausible.trackEvent('similar link', {props: {lang: this.previous.params.lang, from: this.previous.query.q, to: word}})
let lang = this.previous.params.lang
let from = this.previous.query.q
let to = word
this.$plausible.trackEvent('similar link', {props: {lang, from, to , words: {from, to} })
this.event = null
navigate_to_query(this, this.queryString)
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment