Storesprite.com Shopping Cart Ecommerce Forums  

Go Back   Storesprite.com Shopping Cart Ecommerce Forums > Storesprite Forums > Tips and Tricks

Tips and Tricks Share your little gems right here.

Sponsored Links
IMPORTANT NOTICE

We kindly ask that all forum users respect the following:
We would appreciate it if you could be patient. Please help each other and most of all take some time to search for the answer to your question! It is very rare that we get a new question so invariably the answer will be here somewhere! Thank you!
Reply
 
Thread Tools Display Modes
  #1  
Old 07-27-2010, 07:37 PM
slick slick is offline
Junior Member
 
Join Date: Mar 2009
Posts: 5
slick is on a distinguished road
Lightbulb Search Parameter on Storesprite

hi,

in Google Analytics, you can get Google to capture your in-site search info, to do this, it requires a "parameter"

"Normally when a user searches on your site, their query can be found in the URL. For example, if you search on Google.com, you will see your search query followed by 'q='. Therefore, Google's query parameter would be 'q.' See example below:

http://www.google.com/search
?source=ig&hl=en&q=Google+Analytics&btnG=Google+Se arch


In the example above, the query parameter is 'q,' and the query was 'Google Analytics.' If your site uses categories, then the same principle above applies. You can also contact your webmaster to identify the query parameter for your site."

Can I ask what the parameter is on Storesprite?

Cheers

S
Reply With Quote
  #2  
Old 07-28-2010, 09:01 AM
Storesprite Storesprite is offline
Administrator
 
Join Date: Jun 2008
Posts: 1,179
Storesprite has disabled reputation
Default

The search parameter is 'query_string', however it is a $_POST variable not a $_GET variable as they suggest and is not passed in the URL per se. I am not sure how much mileage you will get from it, might be worth trying in case their scripts detect both.
Reply With Quote
  #3  
Old 08-04-2010, 10:51 PM
slick slick is offline
Junior Member
 
Join Date: Mar 2009
Posts: 5
slick is on a distinguished road
Default

For anyone interested in knowing what people are searchgin on in their site, put this into your search.php

<?php if (!empty($_POST[query_string])) { mail("you@youremail","Search for ".htmlentities($_POST[query_string])."","Someone searched for '".htmlentities($_POST[query_string])."'","FROM:server@yoursitedomain"); } ?>
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 01:19 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© Copyright 2008 Lamp Design Limited