How to measure WordPress Search on Google Analytics?

If you have Google Analytics implemented on your WordPress site or blog, you might want to know what users are searching on your website. With Google Analytics you can see what are the keywords that users are searching.

When users search on WordPress, the URL have this S Here the example:

In Google Analytics, to collect the info searched by the users, you just need to add this S to the View Settings, in Site Search Settings:

Then, on Behaviour, Site Search, Google Analytics will have available the keywords search on your WordPress site. See here the example:

Here is a video on how to do it