Hello I have a php code crawler to detect a website if it has a Asynchronous Google Code. here's the snippet to detect the the asynch google Code:
$async_ga_string = "ga.async";
if(!strpos($str, $async_ga_string))$async_ga = '';
else $async_ga = 'yes';
It works fine. But what I exactly needed is for me to able to get the asynch UA code in this google code snippet:
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2595901-1']);
_gaq.push(['_trackPageview']);
I need to get the 'UA-2595901-1'