====== Tracking storefront searches using Google Analytics ====== ===== Google Analytics Site Search ===== The [[https://www.google.com/support/googleanalytics/bin/answer.py?answer=91491|Site Search]] feature in the Google Analytics system allows you to track what your store visitors are searching for when using the search feature that's built into ProductCart. ===== Configuring Site Search ===== In order to configure Site Search so that it tracks relevant queries on your ProductCart-powered store: * [[https://www.google.com/support/googleanalytics/bin/answer.py?answer=75817|See this article]] for general information on how to configure Site Search * Use the following parameters/selections: * //Do Track Site Search//: selected * //Query Parameter//: enter: "keyword" \\ If you are also using a Google site search engine on your Web site, then a "q" should also appear in the query parameters (so the field should read "q,keyword"). * //No, do not strip query parameters out of URL//: selected * //Do you use categories for site search?//: Yes * //Category Parameter//: "idcategory" * //No, do not strip category parameters out of URL//: selected Here is a visual example of how the page should be setup: {{:widgets:integrations:googleanalytics:googleanalytics_sitesearch.jpg|Google Analytics Site Search settings}}