| Written by Steve Burge |
 This is a great tip from Lowkey over on the Joomla forums. It enables you to track searches made on your site from inside Google Analytics. You can go beyond simply what words people used to search and collect data and where they came from and which pages they viewed.How to Track Joomla Site Searches with Google Analytics- Log in to your Google Analytics account.
- Click 'Edit' under Website Profiles for the profile you would like to enable Site Search for.
- Click 'Edit' in the top-right corner of the "Main Website Profile Information"
- Select "Do Track Site Search".
- Enter "searchword" in "Query Parameter".
- Select "No, do not strip query parameters out of URL"
Your data will appear in your main Google Analytics report, under the "Content" tab. More Google Analytics Advice for Joomla? ? |
Comments
I doesn't know that google analytics can do this
thanks Steve I'll give it a try now
I mean, is the parameter still = searchword.
Thanks
With Joomla 1.5 native SEF enabled, the search URL is:
http://yoursite.com/component/search/test//:-?ordering=&searchphrase=all
when the search term is "test"
Basically this is the file that creates the SEF functionality in the Search Component. By taking it out of the path, it turns search queries back to their old format so Google Analytics work fine and the rest of your site is not affected.
renamed /components/com_search/router.php and worked with SEF
RSS feed for comments to this post