Home / Analytics / Tracking Joomla Searches with Google Analytics 
Analytics
Feb
29
2008
Tracking Joomla Searches with Google Analytics
Written by Steve Burge   
AvatarTracking Joomla Searches with Google AnalyticsThis 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

  1. Log in to your Google Analytics account.
  2. Click 'Edit' under Website Profiles for the profile you would like to enable Site Search for.
  3. Click 'Edit' in the top-right corner of the "Main Website Profile Information"
  4. Select "Do Track Site Search".
  5. Enter "searchword" in "Query Parameter".
  6. 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  

 
#1 David Towers 2008-02-29 09:35
Great tip, thanks Steve! :-)
Quote
 
 
#2 Ulas ALKAN 2008-02-29 09:58
it's an intresting tip with google analitics. :-)
Quote
 
 
#3 Space Zone 2008-07-20 10:29
Waoow
I doesn't know that google analytics can do this :o
thanks Steve I'll give it a try now
Quote
 
 
#4 mark magin 2008-09-10 15:30
Does this still apply to J 1.5.7 with sh404sef installed?
I mean, is the parameter still = searchword.

Thanks
Quote
 
 
#5 STC 2009-04-09 01:09
Excactly what I was looking for. Simple and precise. Great!
Quote
 
 
#6 ES 2009-04-22 21:54
The problem is that if SEF url is enabled in joomla it does not work because Google analytics gives these informations by reading the url, and the query does not appear when SEF is enabled.If anybody hasd a solution for that would love to hear it.
Quote
 
 
#7 aef03 2009-05-19 12:48
Same problem as last poster:cry:

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"
Quote
 
 
#8 Drew Hannush 2009-08-20 13:18
In Joomla 1.5 there is a simple way to fix this so you get your parameters back (searchword). Just go to /components/com_search/router.php and change this file name to /router.ignore.php.

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.
Quote
 
 
#9 danieldue 2009-10-30 13:57
motownphilly.. I will try this. Sounds plausible :D
Quote
 
 
#10 Erico Franco 2010-06-03 16:25
Thanks Drew Hannush, it worked!

renamed /components/com_search/router.php and worked with SEF
Quote
 

Add comment


Security code
Refresh