Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

[PATCH] Update to non-legacy Google Analytics code

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #21  
Old 04-04-2008, 07:14 AM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default 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?
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #22  
Old 04-10-2008, 03:51 AM
 
magicant magicant is offline
 

Advanced Member
  
Join Date: Jan 2004
Location: Manchester UK
Posts: 62
 

Default 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
__________________
X-Cart Version: 4.7.6
PHP 5.3.29
MySQL server 5.6.29
MySQL client 5.6.29
Reply With Quote
  #23  
Old 04-10-2008, 04:35 AM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default 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?
__________________
Doms
kube v4.1.9
Reply With Quote
  #24  
Old 04-10-2008, 05:13 AM
 
magicant magicant is offline
 

Advanced Member
  
Join Date: Jan 2004
Location: Manchester UK
Posts: 62
 

Default 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
__________________
X-Cart Version: 4.7.6
PHP 5.3.29
MySQL server 5.6.29
MySQL client 5.6.29
Reply With Quote
  #25  
Old 04-15-2008, 06:13 AM
 
gkeraunen gkeraunen is offline
 

Advanced Member
  
Join Date: Jan 2004
Posts: 37
 

Default 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.
__________________
X-Cart 4.1.9
PHP 4.4.1
MySQL 4.0.27
Linux
Apache
Reply With Quote
  #26  
Old 04-15-2008, 06:36 AM
  DreamCatcher's Avatar 
DreamCatcher DreamCatcher is offline
 

Senior Member
  
Join Date: Mar 2004
Posts: 178
 

Default 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
__________________
X-Cart 4.7.8 Pro
php 7.x
Reply With Quote
  #27  
Old 04-15-2008, 05:58 PM
  MythNReality's Avatar 
MythNReality MythNReality is offline
 

X-Adept
  
Join Date: Mar 2005
Location: S. Cali
Posts: 403
 

Default 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.
__________________
_____________
Capture Your Mini-Me Look!

- X-CART Gold (Current Version) V4.6
- Reboot
- CDSEO
Reply With Quote
  #28  
Old 04-15-2008, 08:31 PM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default 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)
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #29  
Old 04-15-2008, 08:41 PM
  MythNReality's Avatar 
MythNReality MythNReality is offline
 

X-Adept
  
Join Date: Mar 2005
Location: S. Cali
Posts: 403
 

Default 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.

__________________
_____________
Capture Your Mini-Me Look!

- X-CART Gold (Current Version) V4.6
- Reboot
- CDSEO
Reply With Quote
  #30  
Old 04-18-2008, 04:26 AM
 
GeeCee GeeCee is offline
 

Senior Member
  
Join Date: Aug 2007
Posts: 111
 

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

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.
Attached Files
File Type: zip GA Upgrade.zip (2.6 KB, 242 views)
__________________
X-Cart Gold v4.1.10
Manchester, UK
Get SEO, PPC or just advice from Intrinsic Marketing
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:35 PM.

   

 
X-Cart forums © 2001-2020