Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with tracking No Result Search Keywords #12869

Closed
Vinutab opened this issue May 9, 2018 · 1 comment
Closed

Issue with tracking No Result Search Keywords #12869

Vinutab opened this issue May 9, 2018 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@Vinutab
Copy link

Vinutab commented May 9, 2018

Hi,

One of our application that is integrated with Piwik is mainly used as a search engine. Hence, it is very important for us to get the exact number of times a keyword has been searched or the number of times it has produced no results.

How can I get the number of searches for a keyword/the number of times a keyword has produced no results despite if it is from a single visit or not?

We have used the below code.
_paq.push(['setCustomUrl', document.URL + '&search_count=' + searchCount]);

Please help.

@Findus23
Copy link
Member

If you are using JS to set the number of search results, it is probably easiest to directly use the JS API:
https://developer.matomo.org/guides/tracking-javascript-guide#internal-search-tracking

If this issue still happens to you or someone else, please reopen this issue or open a new one.

@Findus23 Findus23 added the answered For when a question was asked and we referred to forum or answered it. label May 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants