Tuesday, April 29, 2008

Customize Google Analytics New ga.js Tracking Code

Significant Data that can be tracked with the advent of the new ga.js!

1) Track outbound links easily by modify the actual URL that appears in the GA report by creating an arbitrary entry.

onClick="javascript: pageTracker._trackPageview("/my/virtual/url");


2) Track the downloadable stuff on your webpages.

onclick="pageTracker._trackPageview('/mydoc.pdf')

3) Track a webpage in multiple accounts. If you feel that one page is more important for you than the rest and that page exists in all of your websites, then use the below code for easy tracking.

var firstTracker = _gat._getTracker("UA-12345-1");firstTracker._initData();firstTracker._trackPageview();

var secondTracker = _gat._getTracker("UA-67890-1");secondTracker._initData();secondTracker._trackPageview();

4) Track sub-domains seamlessly if you have spanned multiple sub-domains for your website. Include the below stated code in your subdomains by replacing advertisingaxis.com with your domain name.

var pageTracker = _gat._getTracker("UA-12345-1");
pageTracker._setDomainName("advertisingaxis.com");
pageTracker._initData();
pageTracker._trackPageview();

5) Track visitors across your domains using a link; by transferring cookies throughout your domains. To send cookies through URL _link( ) function is used.

pageTracker._setDomainName("none");pageTracker._setAllowLinker(true);
"pageTracker._link('http://newsite.com/test.html')

6) Track visitors across domains while they fill in the form placed in your website and move to another domain( when clicking on the form submit button). Cookies would be sent through the _linkByPost() function.

pageTracker._setDomainName("none");
pageTracker._setAllowLinker(true);

pageTracker._linkByPost(this)"

7) Track Ecommerce Transactions effortlessly.

http://www.google.com/support/googleanalytics/bin/answer.py?answer=55532

8) Add secondary earch Engines to your analytics report. You can add secondary search engines using the _addOrganic() function.

pageTracker._addOrganic("secaondary search engine name", "q");

9) Restriction of cookie data to a sub-directory.

Just alter your preferred cookiepath to the _setCookiePath() function.

pageTracker._setCookiePath("/advertisingaxis path/of/cookie/");

10) Track manually tagged # symbol url instead of question mark (?). Set the _setAllowAnchor() to true.

pageTracker._setAllowAnchor(true);

Tuesday, April 8, 2008

Recover Website Hacked

How to retrieve your site when hacked

Website hacking is while hackers squeeze links to your website in an attempt to boost his site ranking.

Because of this google penalises the hacked site and the links within it to carry any sort of advantage in SERPs. Now the big question before the hacked site owners is "how to bring back their sites in google?" Google actually guides website owners in recovering their site back. Have stated below the steps to recover the hacked website.

1) Keep your site off-line and fix the problems completely.
2) Submit reconsideration request of your website through google webmaster tools.
3) Monitor the happenings via google webmaster tools.
4) Happily watch your site back on SERPs.

Adwords Consultant Website Optimization India