Skip to content

Commit

Permalink
removed analytics snippet to use netlify snippet settings. Change loa…
Browse files Browse the repository at this point in the history
…ding animation
  • Loading branch information
pkrawat1 committed Oct 9, 2018
1 parent 839e4fb commit 0b44949
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 64 deletions.
Binary file modified src/assets/default/loader.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
66 changes: 2 additions & 64 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,78 +21,16 @@

<link rel="manifest" href="/manifest.json">
<link rel="icon" type="image/x-icon" href="fevicon.ico">

<script nonce='2726c7f26c'>
(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', 'https://www.google-analytics.com/analytics.js', 'ga');

ga('create', 'UA-96095791-1', 'auto');
ga('send', 'pageview');

</script>
<script nonce='2726c7f26c'>
! function () {
var analytics = window.analytics = window.analytics || [];
if (!analytics.initialize)
if (analytics.invoked) window.console && console.error && console.error("Segment snippet included twice.");
else {
analytics.invoked = !0;
analytics.methods = ["trackSubmit", "trackClick", "trackLink", "trackForm", "pageview", "identify", "reset",
"group", "track", "ready", "alias", "debug", "page", "once", "off", "on"
];
analytics.factory = function (t) {
return function () {
var e = Array.prototype.slice.call(arguments);
e.unshift(t);
analytics.push(e);
return analytics
}
};
for (var t = 0; t < analytics.methods.length; t++) {
var e = analytics.methods[t];
analytics[e] = analytics.factory(e)
}
analytics.load = function (t, e) {
var n = document.createElement("script");
n.type = "text/javascript";
n.async = !0;
n.src = "https://cdn.segment.com/analytics.js/v1/" + t + "/analytics.min.js";
var a = document.getElementsByTagName("script")[0];
a.parentNode.insertBefore(n, a);
analytics._loadOptions = e
};
analytics.SNIPPET_VERSION = "4.1.0";
analytics.load("ZnB2hzhGUL0E3vDtT5LlkFk8n2y9weTS");
analytics.page();
}
}();

</script>
</head>

<body>
<app-root>
<div style="
vertical-align: middle;
text-align: center;
color: #129DD8;
border-style: none;
margin: 0;
position: absolute;
position: fixed;
top: 50%;
left: 50%;
margin-right: -50%;
transform: translate(-50%, -50%);">
<img height="100" width="100" src="/assets/default/loader.svg" alt="Aviabird Technology" />
<img src="/assets/default/loader.gif" alt="Aviabird Technology" />
</div>
</app-root>

Expand Down

0 comments on commit 0b44949

Please sign in to comment.