View Single Post
  #1  
Old 05-21-2014, 12:07 AM
 
herber@wirehub.nl herber@wirehub.nl is offline
 

eXpert
  
Join Date: Nov 2002
Posts: 305
 

Default 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.
Attached Files
File Type: txt Google_Analytics_patch.txt (872 Bytes, 275 views)
Reply With Quote