View Single Post
Old 02-21-2009, 03:18 PM  
who
So Fucking Banned
 
Join Date: Aug 2003
Location: ICQ #23642053
Posts: 19,593
Quote:
Originally Posted by daniel_webcams View Post
Two weeks ago i wrote about Search Engine Optimization for Image Search now i will write about how to use Google Analytics in order to get the stats for your image traffic generated after the improvements made on your site structure following the indications from that thread.
If you already have a Google Analytics account, then you have to follow the next steps:

In the first step you have to rewrite the normal javascript function and to add an extra code, written below instead of using the usual urchin code, you must also change the relative link from my example with the absolute one related your site.
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
<script src="http://www.yoursiteaddress.com/custom_se.js" type="text/javascript"></script>
<script src="http://www.yoursiteaddress.com/track-imagesearch.js" type="text/javascript"></script>
<script type="text/javascript">
_uacct = "UA-XXXXXX-X";
urchinTracker();
</script>

In the second step you must download the javascript files from here and upload them in the specified directory from the source link (you can find the link in the first step).

And that is all, Google Analytics it will start to collect the necessary data in order to build the image traffic stats for your site.

Hope to be helpful....
Hi, do you have any contact information about the person who wrote this? Thank you.
who is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote