View Full Version : JS: alternative to '_gaq.push' for 'ga'

May 9th, 2014, 02:36 PM
I know it's more google analytics question but I am sure I can get answer here. What's the alternative for this:

_gaq.push(['_addIgnoredOrganic', 'www.mydomainname.com']);

In ga syntax? (since I have ga('create', 'UA-XXXXXX-1', 'www.mydomainname.com');) Should I use:


or should I use:

ga('set', '_addIgnoredOrganic', 'www.mydomainname.com');

Thanks in advance

p.s. I spent couple of hours searching google but without much success