diff options
| author | Josh Brewer | 2011-03-30 23:05:29 -0700 | 
|---|---|---|
| committer | Josh Brewer | 2011-03-30 23:05:29 -0700 | 
| commit | 7f07f24a26e5041d0e7b743534b178a724386285 (patch) | |
| tree | 98b13758f496b338b32c28ad6fa91cd2999bf6aa | |
| parent | 0b56868cafc04bcca61a9bda36d6351f05a2461c (diff) | |
| download | ffffallback-7f07f24a26e5041d0e7b743534b178a724386285.tar.bz2 | |
added analytics
| -rw-r--r-- | index.html | 13 | ||||
| -rw-r--r-- | secret.html | 14 | 
2 files changed, 27 insertions, 0 deletions
| @@ -18,5 +18,18 @@    <p>      Coming soon.     </p> +  <script type="text/javascript"> + +    var _gaq = _gaq || []; +    _gaq.push(['_setAccount', 'UA-109790-10']); +    _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'; +      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); +    })(); + +  </script>  </body>  </html> diff --git a/secret.html b/secret.html index 5fa0df4..1336324 100644 --- a/secret.html +++ b/secret.html @@ -17,5 +17,19 @@    </hgroup>     <p>Shhhh! This is top secret. Grab the bookmarklet and take it for a spin. Please send any and all feedback to me at <a href="mailto:josh@jbrewer.me">feedback@ffffallback.com</a></p>    <p>This is the bookmarklet: <a href="javascript:(function(){var scriptTag=document.createElement('script');scriptTag.setAttribute('src','http://ffffallback.com/bookmarklet/ffffallback.js?r' + Math.random());var linkTag=document.createElement('link');linkTag.setAttribute('href','http://ffffallback.com/bookmarklet/ffffallback.css');linkTag.setAttribute('rel','stylesheet');document.body.appendChild(scriptTag);document.body.appendChild(linkTag);})();">ffffallback</a>—drag it to your bookmarks bar and brace yourself for an onslaught of unicorns and rainbows.</p> + +  <script type="text/javascript"> + +    var _gaq = _gaq || []; +    _gaq.push(['_setAccount', 'UA-109790-10']); +    _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'; +      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); +    })(); + +  </script>  </body>  </html> | 
