| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Internal Site Search Data in Google Analytics | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Internal Site Search Data in Google Analytics
Hi There
Brand new member to the forums here posting for the first time - hoping someone has some experience with this as I've spent a lot of time banging my head against this particular wall. I'd like to be able to track internal site search terms within Google Analytics, but so far am having no luck. It looks like the analytics data is looking for a particular query parameter like a "q" or "s", but of course the search results URL doesn't show this type of thing - only http://www.domainname.com/search.php?mode=search&page=1". Does anyone know what changes I'd need to make, and to which template files? I have the latest Asynch GA code already in place. Thanks very much! Kathy
__________________
X-Cart Gold, V4.3.0 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Internal Site Search Data in Google Analytics
Hi Kathy,
Did you ever figure this one out? Thanks, Jason |
|||||||||
#3
|
|||||||
|
|||||||
Re: Internal Site Search Data in Google Analytics
Found this through another post. The code is very different on 4.4.4. Will it work?
http://www.squeezejuicemarketing.com/blog/capture-site-search-terms-in-x-cart-w-google-analytics/
__________________
Vera B 4.4.5 CFLSystems.com mods, Kosmos eBay Integration, Feed Manager Pro, custom mods, BCSEngineering Mods, CDSEO PRO Hosting by EWDHosting - The best home for your x-cart. |
|||||||
#4
|
|||||||||
|
|||||||||
Re: Internal Site Search Data in Google Analytics
Quote:
For 4.4.x you can try altering the "skin/common_files/modules/Google_Analytics/ga_code.tpl" template and replace this code: Code:
Code:
The second step (from the reported instructions) is still required.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
#5
|
|||||||
|
|||||||
Re: Internal Site Search Data in Google Analytics
Thanks, Alex, I'll do the changes and report back tomorrow.
__________________
Vera B 4.4.5 CFLSystems.com mods, Kosmos eBay Integration, Feed Manager Pro, custom mods, BCSEngineering Mods, CDSEO PRO Hosting by EWDHosting - The best home for your x-cart. |
|||||||
#6
|
|||||||
|
|||||||
Re: Internal Site Search Data in Google Analytics
Forgot to ask - the query parameter is "q", as in the fix from squeezejuice?
__________________
Vera B 4.4.5 CFLSystems.com mods, Kosmos eBay Integration, Feed Manager Pro, custom mods, BCSEngineering Mods, CDSEO PRO Hosting by EWDHosting - The best home for your x-cart. |
|||||||
#7
|
|||||||||
|
|||||||||
Re: Internal Site Search Data in Google Analytics
Quote:
Yes
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#8
|
|||||||
|
|||||||
Re: Internal Site Search Data in Google Analytics
Thanks Alex,
What about if we are using GA Async mode? What should be the change in this case? Regards, Nacho.
__________________
www.diamondiberica.com Xcart 4.0.7 |
|||||||
#9
|
|||||||||
|
|||||||||
Re: Internal Site Search Data in Google Analytics
The regular async script looks like this:
Code:
I suppose you use 4.0.x, thus in skin1/customer/home.tpl before the Google tracking code appears, add this: Code:
Change the tracking code like this: Code:
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions Last edited by qualiteam : 06-22-2012 at 01:14 AM. Reason: typo |
|||||||||
#10
|
|||||||
|
|||||||
Re: Internal Site Search Data in Google Analytics
Thanks Alex, but my question was for x-cart version 4.4.5
__________________
www.diamondiberica.com Xcart 4.0.7 |
|||||||
|
|||
X-Cart forums © 2001-2020
|