X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   [PATCH] Update to non-legacy Google Analytics code (https://forum.x-cart.com/showthread.php?t=38092)

intel352 04-04-2008 07:14 AM

Re: [PATCH] Update to non-legacy Google Analytics code
 
bah, if I'd known, wouldn't have gone to the trouble :-)

is the QT patch posted in the forum?

magicant 04-10-2008 03:51 AM

Re: [PATCH] Update to non-legacy Google Analytics code
 
Changing the subject slightly... I've enabled my google adwords in admin, and put in my tracking code, and enabled everything !

But still if I load up my shop homepage and view source no google tracking code shows up :(

Any ideas why?

it's at www.magicshop.biz

Cheers

All the best
Anthony
www.magicworld.co.uk
www.magiccourse.com

kube 04-10-2008 04:35 AM

Re: [PATCH] Update to non-legacy Google Analytics code
 
Hi Magicant,

Quote:

Originally Posted by magicant
But still if I load up my shop homepage and view source no google tracking code shows up :(


I can see it. It's the old version code and should still work as intended.

When you view your source just do a search for google and you'll see...

<script src="http://www.google-analytics.com/urchin.js" bla bla bla

pop up.

Was it another page you were looking at within the site then?

magicant 04-10-2008 05:13 AM

Re: [PATCH] Update to non-legacy Google Analytics code
 
Hi Kube, thanks for the quick reply,

The code is now in it becuase I realised the home.tpl did not have the smarty code for some reason for google analytics.

I found a copy on another forum put it at bottom and voila :) Not sure if the conversion / checkout page will work yet.. hopefully i'll get my first order on it soon :)

Thanks again, yes I will be updating the urchin.js script soon too.

All the best
Ant

gkeraunen 04-15-2008 06:13 AM

Re: [PATCH] Update to non-legacy Google Analytics code
 
Quote:

Originally Posted by DreamCatcher
qualiteam has an official patch for this as well. Awesome work though thank you for sharing!


How can we be sure to know about these official patches?

I'm logged into support helpdesk and don't see this patch.

Thanks.

DreamCatcher 04-15-2008 06:36 AM

Re: [PATCH] Update to non-legacy Google Analytics code
 
I had to ask in the support desk and they then emailed it to me and put a link to it in the response. I suspect they are only handing it out on a per request basis as it will be included in the next release (I hope). I also have to say qualiteam used to suck for service, response time and throughness. The last few times I have delt with them they have been great.

-Todd

MythNReality 04-15-2008 05:58 PM

Re: [PATCH] Update to non-legacy Google Analytics code
 
This is what I got...any idea what went wrong:

Status legend:
OK - file ready to patch,
checksum error - patch contents is corrupted,
non-writable - please give those files a write permissions,
not a file - the target is not a file,
not exists - file is missing,
could not patch - patch cannot be applied to this file automatically because it was significantly modified, the patch for this file should be applied manually,
already patched - file was already patched.

intel352 04-15-2008 08:31 PM

Re: [PATCH] Update to non-legacy Google Analytics code
 
Quote:

Status legend:
OK - file ready to patch,
checksum error - patch contents is corrupted,
non-writable - please give those files a write permissions,
not a file - the target is not a file,
not exists - file is missing,
could not patch - patch cannot be applied to this file automatically because it was significantly modified, the patch for this file should be applied manually,
already patched - file was already patched.

The status legend (which is what you posted here) shows up regardless of if the patch is successful or not. The legend explains to you the result of each file that you tried to patch.

For example, file1.php shows a result of "could not patch", you look down at the legend and it explains: "patch cannot be applied to this file automatically because it was significantly modified, the patch for this file should be applied manually"

You need to tell or show us what the results of the individual files are (OK, could not patch, already patched, etc)

MythNReality 04-15-2008 08:41 PM

Re: [PATCH] Update to non-legacy Google Analytics code
 
Thank you very much Jon for the explanation.
I think I've got it installed successfully. Had to check back with the Google analytics again tomorrow.

;-)

GeeCee 04-18-2008 04:26 AM

Re: [PATCH] Update to non-legacy Google Analytics code
 
1 Attachment(s)
I have contacted QT support and they sent me the official patch files, I've attached them to this post as a zip along with the contents of the message they sent in a readme.txt

There are 2 files basically and have to be applied in number order.


All times are GMT -8. The time now is 07:37 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.