VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: EvanGR on December 02, 2021, 13:05:13 PM

Title: Keeping a search log
Post by: EvanGR on December 02, 2021, 13:05:13 PM
Hello,

I want to keep a search log for the VM search module.
i.e. a basic log file which shows me the searches + search terms performed by visitors

What would be a quick way to do it?

Thanks
Title: Re: Keeping a search log
Post by: pinochico on December 02, 2021, 13:51:24 PM
Quickly:
add to google analytics :)
Title: Re: Keeping a search log
Post by: EvanGR on December 03, 2021, 09:02:00 AM
I can track local/site searches in google analytics?
Title: Re: Keeping a search log
Post by: pinochico on December 03, 2021, 10:25:34 AM
QuoteI can track local/site searches in google analytics?

That was not part of the first question.
Any more additions?

I'm waiting :)

QuoteI can track local/site searches in google analytics?

Nop, and you want track local site?
Jesus why?
Put site to devel domain on ftp and you can :)
Go on.
Title: Re: Keeping a search log
Post by: EvanGR on December 03, 2021, 10:45:37 AM
Quote from: pinochico on December 03, 2021, 10:25:34 AM
QuoteI can track local/site searches in google analytics?

That was not part of the first question.
Any more additions?

I'm waiting :)


That was my original question :)

I want to track local / site searches (not google searches).

The reason is: we are optimizing our site search engine, and we want to have analytics on the search terms users are searching for (so we have a direction on what to focus on)

Thanks!
Title: Re: Keeping a search log
Post by: GJC Web Design on December 03, 2021, 11:26:19 AM
use your server access logs ... filter by ?keyword
Title: Re: Keeping a search log
Post by: EvanGR on December 22, 2021, 10:46:17 AM
Thanks GJC.
I tried it with some success... turns out the ?keyword parameter is used in many entries, many of which are not search queries... (the 'keyword' parameter is blank).
So there is a lot of noise in the results.
Title: Re: Keeping a search log
Post by: Studio 42 on December 22, 2021, 17:16:00 PM
Create a system plugin and check for input has "keyword" and option = "com_virtuemart'
Save the result in the DB or a log file