The Google Analytics tracking code looks like this:
(function() { code })();
What\'s the technique they are using with those brackets -
The "function(){code}" part only creates a function, the () at the end call the created function. You could rewrite
As
var x = function() {code}; x();