jigarpandya - 5:29 pm on Jan 9, 2013 (gmt 0)
I found the answer for you at developers dot google com.. It may have the answer for you..
The ga.js tracking snippet now includes a window property that, when set to true, disables the tracking snippet from sending data to Google Analytics. When Google Analytics attempts to set a cookie or send data back to the Google Analytics servers, it will check for whether this property is set to true. If it is, it will have the same effect as if the visitor had the Google Analytics Opt-out Browser Plugin installed .
To disable tracking, set the following window property to true:
window['ga-disable-UA-XXXXXX-Y'] = true;
Where the value UA-XXXXXX-Y corresponds to the web property ID on which you would like to disable tracking.
This window property must be set before the tracking code is called. This property must be set on each page where you want to disable Google Analytics tracking. If the property is not set or set to false then the tracking will work as usual.
So, for example, if your Google Analytics tracking code on a page includes:
And you would like to disable that tracking code from setting cookies or sending data back to Google Analytics, then you use the following code before the tracking code is called:
window['ga-disable-UA-123456-1'] = true;
If you use multiple trackers on a page with multiple web property IDs, you must set the equivalent window['ga-disable-UA-XXXXXX-Y'] variable to true for each web property to completely disable Google Analytics tracking on that page.
Jigar - Ans via Delevopers Dot Google dot com