From: Juriy Zaytsev Date: Mon, 15 Feb 2010 14:03:35 +0000 (-0500) Subject: Add GA. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=acd065a74c24b903fb1e3165faa144b8a77a401e;p=html-minifier.git Add GA. --- 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