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

Tracking Internal Site Search tracks only the first query parameter that matches the URL #8287

Closed
jpthompson23 opened this issue Jul 7, 2015 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.

Comments

@jpthompson23
Copy link

Under the "Tracking Internal Site Search" section of the "Websites Management" page I entered the list of query parameters: "q, fq"

If I perform a site search on my site, the query URL looks like this:
/select?q=%3A&fq=case%3A1

See, in the URL I have both parameters "q" for query and "fq" for filter query. I need to track both of these parameters, but Piwik only tracks the first one in my list that matches the URL, so it only tracks the search "q=:" in this instance.

Can I track both "q" and "fq"?

@mattab
Copy link
Member

mattab commented Jul 7, 2015

Hi @jpthompson23

Can I track both "q" and "fq"?

No it's not possible. Piwik will track only one site search term. You can however manually track your two search terms by using the Javascript tracking API function trackSiteSearch(keyword, [category], [resultsCount])

@mattab mattab closed this as completed Jul 7, 2015
@mattab mattab added wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it. answered For when a question was asked and we referred to forum or answered it. labels Jul 7, 2015
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. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

2 participants