View Single Post
  #2  
Old 07-09-2014, 02:06 AM
 
xtech xtech is offline
 

X-Adept
  
Join Date: Jun 2010
Posts: 605
 

Default Re: Update Google Analytics to support Display Advertising

Quote:
Originally Posted by herber@wirehub.nl
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.

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
Reply With Quote