From acd065a74c24b903fb1e3165faa144b8a77a401e Mon Sep 17 00:00:00 2001 From: Juriy Zaytsev Date: Mon, 15 Feb 2010 09:03:35 -0500 Subject: [PATCH] Add GA. --- master.js | 12 ++++++++++++ src/license.txt | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/master.js b/master.js index 30dcde6..54bc27f 100644 --- a/master.js +++ b/master.js @@ -60,4 +60,16 @@ } }; +})(); + +var _gaq = _gaq || []; +_gaq.push(['_setAccount', 'UA-1128111-22']); +_gaq.push(['_trackPageview']); + +(function() { + var ga = document.createElement('script'); + ga.type = 'text/javascript'; + ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + document.getElementsByTagName('head')[0].appendChild(ga); })(); \ No newline at end of file diff --git a/src/license.txt b/src/license.txt index a299981..38d469b 100644 --- a/src/license.txt +++ b/src/license.txt @@ -19,4 +19,4 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. +OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file -- 2.34.1