| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Update Google Analytics to support Display Advertising | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Update Google Analytics to support Display Advertising
This patch will change the Google Analytics (GA) link as suggested by Google here to support the Display Advertising network.
This will add new statistics to your Google Analytics stats, such as demographic stats. You can find more info on the different types of Google Analytics here. I'm assuming you're already using the asynchronous version of GA, because you should. It speeds up your site as it doesn't have to wait for GA to load. Be sure to make the following file writeable (chmod 666): /skin/common_files/modules/Google_Analytics/ga_code_async.tpl And set it back to read only (chmod 644) after finishing the patch. Next, activate this in Google Analytics by for example accessing the Age demographic in Google Analytics, it will ask you to upgrade your tracking code (which this patch does) and click to validate. Done. Save the patch, as you can use it to revert the changes, in case you want to upgrade X-Cart. |
|||||||
#2
|
|||||||
|
|||||||
Re: Update Google Analytics to support Display Advertising
Quote:
Thanks for your codes.Now can i make Google_Analytics_patch.txt to Google_Analytics_patch.diff and run the patch from admin Patch/Upgrade center in Apply patch section? Thanks again.
__________________
X-cart Platinum 4.6.1 Reboot template |
|||||||
#3
|
|||||||
|
|||||||
Re: Update Google Analytics to support Display Advertising
Quote:
It's just a text file, the extension doesn't matter, you can run it (be sure the file has write rights) and that's it.
__________________
X-Cart 4.7.12 |
|||||||
#4
|
|||||||
|
|||||||
Re: Update Google Analytics to support Display Advertising
Quote:
I have PM you the code.please check and add whatever required. Thanks, xtech
__________________
X-cart Platinum 4.6.1 Reboot template |
|||||||
#5
|
|||||||||
|
|||||||||
Re: Update Google Analytics to support Display Advertising
I was trying to run this update and I get an error saying "ga_code_async.tpl - Not Found" even thought I know it is there as I changed the permissions on it to 666 as I was supposed to do. Any ideas as to what is going on?
__________________
www.kzeinc.com www.ptgoils.com.com 5.4.09 www.earths-oils.com 5.4.09 www.1exoticwear.com.com 5.4.09 |
|||||||||
#6
|
|||||||
|
|||||||
Re: Update Google Analytics to support Display Advertising
Quote:
Yep, you're using an older version, so it isn't the same file. My patch is written for X-Cart 4.6.x Xtech was using 4.5.x and I don't what you're using, but if you post the file 'ga_code_async.tpl', I will write a patch for you.
__________________
X-Cart 4.7.12 |
|||||||
#7
|
|||||||||
|
|||||||||
Re: Update Google Analytics to support Display Advertising
I am using 4.6.3 but I just went in and manually fixed the code myself but thanks for the offer of writing the script to fix it.
__________________
www.kzeinc.com www.ptgoils.com.com 5.4.09 www.earths-oils.com 5.4.09 www.1exoticwear.com.com 5.4.09 |
|||||||||
#8
|
|||||||
|
|||||||
Re: Update Google Analytics to support Display Advertising
Quote:
As long as it works right now, good to hear you fixed it!
__________________
X-Cart 4.7.12 |
|||||||
|
|||
X-Cart forums © 2001-2020
|