Welcome to Alledia, the #1 Joomla Training Company

Would you like to learn Joomla? We're here to help you: Sign Up Today

  • Professionally-produced training videos and tutorials.
  • Guaranteed same-day answers to all your Joomla questions.
  • No Joomla experience needed. We've taught 1000s of Joomla students.

Home / Analytics / Tracking Joomla Searches with Google 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

?

?

Free Weekly Joomla Tutorials

Your Comments (9)

goodwebpractices
David Towers
February 29, 2008

Great tip, thanks Steve! smilies/smiley.gif

Ansiklopedi
Ulas ALKAN
February 29, 2008

it's an intresting tip with google analitics. smilies/smiley.gif

SZ4H.com
Space Zone
July 20, 2008

Waoow
I doesn't know that google analytics can do this smilies/shocked.gif
thanks Steve I'll give it a try now

emagin
mark magin
September 10, 2008

Does this still apply to J 1.5.7 with sh404sef installed?
I mean, is the parameter still = searchword.

Thanks

0
STC
April 09, 2009

Excactly what I was looking for. Simple and precise. Great!

0
ES
April 23, 2009

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.

0
aef03
May 19, 2009

Same problem as last postersmilies/cry.gif

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"

motownphilly
Drew Hannush
August 20, 2009

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.

0
danieldue
October 30, 2009

motownphilly.. I will try this. Sounds plausible smilies/cheesy.gif

Write comment

 
  smaller | bigger
 

busy