vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
New vBSEO Discount Level for Network Builders Meet vBSEO Team in New York (Nov. 3rd & 4th) vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

Google Analytics "Site Search" with vBulletin search

This is a discussion on Google Analytics "Site Search" with vBulletin search within the Off-Topic & Chit Chat forums, part of the Focus on Members category; Since we're all here to gather as much information as possible on how well our sites are doing, I find ...

Go Back   vBulletin SEO Forums > Focus on Members > Off-Topic & Chit Chat

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Reply

 

LinkBack (1) Thread Tools
  1 links from elsewhere to this Post. Click to view. #1  
Old 01-22-2008, 07:56 PM
Junior Member
 
Real Name: Peter Van den Wyngaert
Join Date: Jan 2008
Posts: 15
Google Analytics "Site Search" with vBulletin search

Since we're all here to gather as much information as possible on how well our sites are doing, I find the following Google Analytics feature extremely interesting.

Google Analytics has a great feature these days which allows you to tracks internal site searches, and get some nice analytics in return.

I would love to see our forum searches hooked up to this, to get a better understanding what people are searching for, internally on our site.

Does anyone know how to achief this with vBulletin? GA looks for URL encoded search strings (ie: search?hl=en&q=Keywords+here), but since vBulletin uses a different technique, it would only be alternativly possible by feeding the google script like this : pageTracker._trackPageview('search?q=searchQueryHe re');

Any idea how I pass the entered search query also to the little GA script?


I found two links describing the technique used, which might be helpfull:

https://www.google.com/support/googl...75817&hl=en_US

Google Analytics Site Search | Wiki | ExpressionEngine


I've posted this question at vBulletin.com as well, but I guess vBSEO's forums has more people interested in stats & results, in order to "traffic tune" their websites
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #2  
Old 01-25-2008, 05:53 PM
Joe Ward's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Joseph Ward
Join Date: Jun 2005
Location: Puerto Rico
Posts: 19,638
Blog Entries: 7
Have you discovered a solution yet? This would be a quite useful capability.
__________________
Joe Ward / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #3  
Old 01-29-2008, 10:35 AM
Junior Member
 
Real Name: Peter Van den Wyngaert
Join Date: Jan 2008
Posts: 15
Still no solution yet. I'm not a coder, else I would have tried myself. I can't believe there's so little interest though for internal searchs stats.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #4  
Old 01-29-2008, 02:56 PM
Joe Ward's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Joseph Ward
Join Date: Jun 2005
Location: Puerto Rico
Posts: 19,638
Blog Entries: 7
This is something we might look at eventually. The way vBulletin does there search is a little inconvenient for these purposes. Right now our task list is overbooked; however, we may revisit this, because it would be interesting and valuable information to have at our disposal.
__________________
Joe Ward / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #5  
Old 01-31-2008, 04:10 AM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,521
Mint is able to track internal searches using the search.php script.
unfortunately, vB directs the search.php?q=abc into search.php?searchid=123

It's rudamentary at best... it gives you the searchid.

but, if you want, you can see those searches (as long as vb hasn't expired them) to see what people are looking for.

In the end, I think you'll find that there's a couple gimmes of what people search for (main theme of your site) and the rest are 2-3 repeats of not so common phrases.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #6  
Old 01-31-2008, 07:30 AM
Junior Member
 
Real Name: Peter Van den Wyngaert
Join Date: Jan 2008
Posts: 15
Briansol, we use Mint already, but it's way too limited and focusses only on realtime/recent stats since you can't specify date ranges or do any serious analyzing of the gathered stats. Plus, it's made for one user only to view it, since it shares all settings & prefs with anyone you give access to your stats.

Google comes with many more interesting insite search specific features, such as:
  • Search categories
  • Visits with Search
  • Total Unique Searches
  • Results Pageviews
  • Search Exits
  • Search Refinements
  • Time after Search
  • Search Depth
  • Trending
and much more. So it's not just about what keywords people are entering, it's how they use the search function.


I'm aware that vBulletin transforms the search result page into search.php?searchid=10646, that's why there's still a different solution possible.

Notice that on the search result page, the keywords are being summed up.

All we need to figure out is how to pass those keywords into Google's Tracking Code on that page, like this: pageTracker._trackPageview('/search?q={exp:search:keywords}');
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #7  
Old 01-31-2008, 10:51 AM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,561
Please try to modify functions_vbseo.php file (make sure that you are implemented the new analytics code asa per New Google Analytics Code ):
PHP Code:
if(VBSEO_ADD_ANALYTICS_CODE)

add below:
PHP Code:
            global $display;
            
$track_url '';
            if(
THIS_SCRIPT == 'search' && $_REQUEST['do'] == 'showresults' && $display['highlight'])
                
$track_url 'search.php?q='.urlencode(implode(' ',$display['highlight'])); 
find:
PHP Code:
pageTracker._trackPageview(); 
replace with:
PHP Code:
pageTracker._trackPageview('.($track_url?"'$track_url'":"").'); 
__________________
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #8  
Old 01-31-2008, 11:43 AM
Junior Member
 
Real Name: Peter Van den Wyngaert
Join Date: Jan 2008
Posts: 15
Many thanks Oleg, this is exactly what I was looking for. It seems to work at first sight, when looking at the source code of our search result pages. I'll have to wait another day though to see the results showing up in our Google Analytics account.

I did add an extra forums category into the code since we use the site search already on other parts of the site as well.

PHP Code:
            global $display;
            
$track_url '';
            if(
THIS_SCRIPT == 'search' && $_REQUEST['do'] == 'showresults' && $display['highlight'])
                
$track_url 'search.php?cat=forums&q='.urlencode(implode(' ',$display['highlight'])); 
I would strongly suggest to implement this feature into the next release of vBSEO!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #9  
Old 01-31-2008, 12:15 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,561
Yes, this is included in our interim vBSEO build and running @ vbseo.com now, we'll see how it goes when analytics reports are updated.
__________________
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #10  
Old 01-31-2008, 12:16 PM
Senior Member
 
Real Name: Samo
Join Date: Jan 2006
Location: Slovenia
Posts: 118
i included this code at my place too ... will tell you tomorow if it works ... what did you put in Query Parameter (required): search.php, search.php?searchid or something else?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #11  
Old 01-31-2008, 12:31 PM
Junior Member
 
Real Name: Peter Van den Wyngaert
Join Date: Jan 2008
Posts: 15
We use for the query parameter:
q,keyword

And for the Category parameter:
cat


keyword & cat are used on a different non forum part at our website.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #12  
Old 02-01-2008, 05:23 AM
Junior Member
 
Real Name: Peter Van den Wyngaert
Join Date: Jan 2008
Posts: 15
The first results showed up in our stats... It's all looking very good!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #13  
Old 02-01-2008, 06:56 AM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,561
Looks great in our reports too!
__________________
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #14  
Old 02-01-2008, 08:35 AM
Senior Member
 
Real Name: Samo
Join Date: Jan 2006
Location: Slovenia
Posts: 118
my results are empty ... what i must include in this Query Parameter (required): isnt this for search.php? ... or did i missunderstand that?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #15  
Old 02-01-2008, 08:46 AM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,561
You should just apply modification as described above, then enable Site search in analytics profile, enter "q" as query parameter and give it some time (a day or so) until reports are updated.
__________________
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.vbseo.com/f46/google-analytics-site-search-vbulletin-search-20175/

Posted By For Type Date
How to hook up Google Analytics "Site Search" with vBulletin search forum - vBulletin Community Forum This thread Refback 02-02-2008 07:15 PM

Similar Threads

Thread Thread Starter Forum Replies Last Post
does "disallowing copy" effect search engines bots ? khalid890 General Discussion 2 10-14-2007 12:29 PM
Danny Sullivan - Search Engine Watch "Rockstar" Joe Ward SEO Buzz 2 09-19-2006 03:30 AM
v7N Search Engine Optimization Contest - Winners Announced - "V7ndotcom Elursrebmem" Joe Ward SEO Buzz 3 05-16-2006 05:38 PM
Custom rewrite rule for "Search" and "Search Result" Sony Custom Rewrite Rules 1 09-24-2005 10:38 AM


All times are GMT -4. The time now is 11:51 AM.


Powered by vBulletin Version 3.8.0 Beta 4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.