Log search queries

I’m using Matomo for a WordPress blog and I would like to log search queries coming from the ?q= parameter. I have found the following, but I don’t see how to implement this within WordPress:

Where can I find more info specific for WordPress?

Hi @vespino Since you are using Matomo for WordPress, you can find this configuration by going to your wp-admin > Matomo Analytics > Settings > General Tracking Settings:

I hope this helps.

Thanks, I already had it activated apparently.