<!-- FACEBOOK SDK -->
window.fbAsyncInit = function() {
	FB.init({
		appId  : '335476023141057',
		status : true, // check login status
		cookie : true, // enable cookies to allow the server to access the session
		xfbml  : true, // parse XFBML
		oauth  : true // enable OAuth 2.0
	}); 
	_ga.trackFacebook();
};
(function(d){	
	var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
	js = d.createElement('script'); js.id = id; js.async = true;
	js.src = "//connect.facebook.net/pt_BR/all.js";
	d.getElementsByTagName('head')[0].appendChild(js);		 
	d.write('<div id="fb-root"></div>');
}(document));
<!-- FACEBOOK SDK -->

<!-- TWITTER SDK -->
(function(){
	var twitterWidgets = document.createElement('script');
	twitterWidgets.type = 'text/javascript';
	twitterWidgets.async = true;
	twitterWidgets.src = '//platform.twitter.com/widgets.js';
	
	// Setup a callback to track once the script loads.
	twitterWidgets.onload = _ga.trackTwitter;
	
	document.getElementsByTagName('head')[0].appendChild(twitterWidgets);
})();
<!-- TWITTER SDK -->
