Author Topic: Keeping a search log  (Read 501 times)

EvanGR

  • Jr. Member
  • **
  • Posts: 462
Keeping a search log
« 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

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1286
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Keeping a search log
« Reply #1 on: December 02, 2021, 13:51:24 pm »
Quickly:
add to google analytics :)
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

EvanGR

  • Jr. Member
  • **
  • Posts: 462
Re: Keeping a search log
« Reply #2 on: December 03, 2021, 09:02:00 am »
I can track local/site searches in google analytics?

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1286
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Keeping a search log
« Reply #3 on: December 03, 2021, 10:25:34 am »
Quote
I can track local/site searches in google analytics?

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

I'm waiting :)

Quote
I 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.
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

EvanGR

  • Jr. Member
  • **
  • Posts: 462
Re: Keeping a search log
« Reply #4 on: December 03, 2021, 10:45:37 am »
Quote
I 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!

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10343
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Keeping a search log
« Reply #5 on: December 03, 2021, 11:26:19 am »
use your server access logs ... filter by ?keyword
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

EvanGR

  • Jr. Member
  • **
  • Posts: 462
Re: Keeping a search log
« Reply #6 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.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4550
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Keeping a search log
« Reply #7 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