Thursday 26 August 2010

Solution : Google Event tracking tutorial for beginer

I just learned , how to use google event tracking and found it amazing. It's not as hard as i thought and amount of information it gives is anormus that too for free !!

It take around 5 minutes to setup and you do not need to have much knowledge at all. It all just works ( you can do your SEO ( search engine optimization) for free. just follow the given steps.

1. Log in http://www.google.com/analytics/ , you can use your google user name and password. If you don't have google account, you need to create one to access this service.

2. just follow the steps given on the site and it will generate  some code for you

ex.
"
<script type="text/javascript">

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");

document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));

</script>

<script type="text/javascript">

try{

var pageTracker = _gat._getTracker("UA-xxxxxx-x");

pageTracker._trackPageview();

} catch(err) {}

</script>

"

3. copy this code , paste this into your websites code , just before the </head> tag

(you can put it anywhere you like, but i think it's more manageable).

ex. if you want to tract your whole site , you need to add this script to every page. As your website can be accessed using search engine ( directly to a pin point page, adding it to a index page may not be helpful)

If you are a blogger, just add that to the index page and that's enough.

4. That's it.. all done.

now it may take up to 24 hrs for the website to start up and show you the history.

Other information :[1] Check the 'Status' column of your website profiles' Overview page

Google Analytics will itself check to see that the tracking code has
been installed correctly on the home page of your site - once you've
created a new profile, the Tracking Status will display a warning icon,
"Tracking status unknown," until the system detects the code. You can
see what the different status icons look like and mean

After you install the Google Analytics Tracking Code on your site,
you will not see data appearing in your reports until at least 24 hours.
You can always check the status of your installation in the Website
Profile summary box, under the column "Status." The following tracking
status messages can appear for your profile:
  • Waiting for Data

    The tracking code has been detected on the home page of your website,
    and Google Analytics is aggregating the data to populate into your
    reports.
  • Tracking Unknown or Not Verified
    The tracking code has not been detected on the homepage of your website, so please verify that you have installed the code correctly.
  • Receiving Data
    The tracking code is working properly and data is being populated into your reports

- Mihir Patel

[1] http://www.google.com/support/analytics/bin/answer.py?hl=en_US&answer=55480&utm_id=ad

No comments:

Post a Comment