Commit 22005cbb97cd05de23f69ca1dd9bcb55fcff4dfd
1 parent
222194a3
Exists in
master
removida a chamada ao Google Analytics
Showing
2 changed files
with
0 additions
and
15 deletions
Show diff stats
assets/google-analytics.coffee
| ... | ... | @@ -1,14 +0,0 @@ |
| 1 | -_getDomain = -> | |
| 2 | - window.location.hostname.match(/(?:www[0-9]?\.)?(.[^/:]+)/)[1] | |
| 3 | -_gaq = _gaq or [] | |
| 4 | -_gaq.push ["_setAccount", "UA-38119387-1"] | |
| 5 | -_gaq.push ["_setDomainName", _getDomain] | |
| 6 | -_gaq.push ["_trackPageview"] | |
| 7 | -(-> | |
| 8 | - ga = document.createElement("script") | |
| 9 | - ga.type = "text/javascript" | |
| 10 | - ga.async = true | |
| 11 | - ga.src = ((if "https:" is document.location.protocol then "https://ssl" else "http://www")) + ".google-analytics.com/ga.js" | |
| 12 | - s = document.getElementsByTagName("script")[0] | |
| 13 | - s.parentNode.insertBefore ga, s | |
| 14 | -)() |
barra-brasil-1.yaml