Skip to content
Discussion options

You must be logged in to vote

Hello @moussatat,
the documentation page doesn't mention anything about file downloads. I'm talking about this page:

You can look at the implementation of the built-in analytics code for search here:

/* Set up search tracking */
if (document.forms.search) {
var query = document.forms.search.query
query.addEventListener("blur", function() {
if (this.value)
gtag("event", "search", { search_term: this.value })
})
}

As you can see JavaScript is used to at…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by moussatat
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants