Skip to content

Commit

Permalink
added page tracker to dative
Browse files Browse the repository at this point in the history
  • Loading branch information
cesine committed Apr 5, 2015
1 parent 8ff3ffc commit 164890c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 10 deletions.
17 changes: 16 additions & 1 deletion app/404.html
Expand Up @@ -140,18 +140,33 @@
</style>
</head>
<body>
<div class="container">
<div class="">
<h1>Not found <span>:(</span></h1>
<p>Sorry, but the page you were trying to view does not exist.</p>
<p>It looks like this was the result of either:</p>
<ul>
<li>a mistyped address</li>
<li>an out-of-date link</li>
</ul>


<script>
var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,2),GOOG_FIXURL_SITE = location.host;
</script>
<script src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script>
<iframe height="800" width="100%" border="0" src="https://docs.google.com/forms/d/18KcT_SO8YxG8QNlHValEztGmFpEc4-ZrjWO76lm0mUQ/viewform">
</iframe>

</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create','UA-35422317-1','auto');
ga('set', 'page', 'dative' + window.location.href.replace(window.location.protocol, "").replace(/^\//,""));
ga('send', 'pageview');
</script>
</body>
</html>
20 changes: 11 additions & 9 deletions app/index.html
Expand Up @@ -28,15 +28,17 @@
</head>
<body>
<div id="dative-client-app"></div>
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID.
<script>
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
e.src='//www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
ga('create','UA-XXXXX-X');ga('send','pageview');
</script> -->
<!-- Google Analytics: change UA-35422317-1 to be your site's ID. -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create','UA-35422317-1','auto');
ga('set', 'page', 'dative' + window.location.href.replace(window.location.protocol, "").replace(/^\//,""));
ga('send', 'pageview');
</script>
<!-- build:js scripts/main.js -->
<script src="bower_components/fielddb/fielddb.js"></script>
<script data-main="scripts/main" src="bower_components/requirejs/require.js"></script>
Expand Down

0 comments on commit 164890c

Please sign in to comment.