Find out what your users are searching for internally with analytics and the SEO search mod
Recently when I released my SEO search mod for sNews CMS I had mentioned a neat trick you can do with Google Analytics once you have set up everything.
This filter will give you a list of all the keywords your users searched for using your internal sNews search engine. You must have the mod installed for this to work, as the default sNews install uses POST and you'll never be able to track the keywords submitted. So let's get started...
- First you want to create a new filter within the filter manager, click add filter
- Enter the filter name: Internal Search
- Enter the filter type: custom filter
- Select advanced
- Field A -> Extract A; select REQUEST URI from the drop down, and then enter ^/search/(.*) in the textbox.
- Field B -> Extract B; leave blank
- Output To -> Constructor; select Page Title from the drop down, and then enter isearch | $A1 in the text box
- Field A Required; Yes
- Field B Required; No
- Override Output Field; Yes
- Case Sensitive: No
- Then add your website profile(s), and save changes
Now do a few test searches for yourself, and then after the next Analytics update, in your website profile, view your report and select content-> content by title, and then at the bottom of the report, enter "isearch" at Find Page Title: containing and it will show your test searches (and any others) and the keywords used with each search (after the pipe symbol).
Here's an image example of what the filter set-up should look like.