Verified Commit e3f4f9a5 authored by Maxwell Power's avatar Maxwell Power
Browse files

Add Tag Manager

parent cafc43f2
Pipeline #387122348 passed with stage
in 1 minute and 12 seconds
......@@ -7,7 +7,6 @@ css: '/assets/css'
js: '/assets/js'
lightbox: '/assets/lightbox'
images: '/assets/img'
ganalytics: 'UA-93235303-1'
timezone: 'America/Edmonton'
permalink: 'pretty'
collections:
......
......@@ -66,49 +66,6 @@
<script src="{{ '/owl.carousel.min.js' | prepend: site.js | relative_url }}"></script>
<script src="{{ '/js/lightbox.min.js' | prepend: site.lightbox | relative_url }}"></script>
<script src="{{ '/main.js' | prepend: site.js | relative_url }}"></script>
<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', '{{ site.ganalytics }}', 'auto');
ga('send', 'pageview');
</script>
<script>
window.fbAsyncInit = function () {
FB.init({
appId: '368214421145652',
cookie: true,
xfbml: true,
version: 'v9.0'
});
FB.AppEvents.logPageView();
};
(function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {
return;
}
js = d.createElement(s);
js.id = id;
js.src = "https://connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<script src="//instant.page/5.1.0" type="module"
integrity="sha384-by67kQnR+pyfy8yWP4kPO12fHKRLHZPfEsiSXR8u2IKcTdxD805MGUXBzVPnkLHw"></script>
......
<!DOCTYPE html>
<html lang="en-CA">
<head>
<script>
var _mtm = window._mtm = window._mtm || [];
_mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'});
var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
g.async = true;
g.src = 'https://analytics.maxpower.co/js/container_GXF4IbvR.js';
s.parentNode.insertBefore(g, s);
</script>
{% include basepath.html %}
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
......@@ -21,7 +29,6 @@
<meta property="og:image" content="{{ '/share.png' | prepend: site.images | absolute_url }}">
<meta property="fb:app_id" content="368214421145652">
<!-- Twitter -->
<meta name="twitter:card" content="summary">
<meta name="twitter:description" content="{{ site.description }}">
......@@ -56,11 +63,15 @@
{% endif %}
<!-- Icons -->
<link rel="apple-touch-icon" sizes="180x180" href="{{ '/ico/apple-touch-icon.png' | prepend: site.images | relative_url }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ '/ico/favicon-32x32.png' | prepend: site.images | relative_url }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ '/ico/favicon-16x16.png' | prepend: site.images | relative_url }}">
<link rel="apple-touch-icon" sizes="180x180"
href="{{ '/ico/apple-touch-icon.png' | prepend: site.images | relative_url }}">
<link rel="icon" type="image/png" sizes="32x32"
href="{{ '/ico/favicon-32x32.png' | prepend: site.images | relative_url }}">
<link rel="icon" type="image/png" sizes="16x16"
href="{{ '/ico/favicon-16x16.png' | prepend: site.images | relative_url }}">
<link rel="manifest" href="{{ '/ico/site.webmanifest' | prepend: site.images | relative_url }}">
<link rel="mask-icon" href="{{ '/ico/safari-pinned-tab.svg' | prepend: site.images | relative_url }}" color="#5bbad5">
<link rel="mask-icon" href="{{ '/ico/safari-pinned-tab.svg' | prepend: site.images | relative_url }}"
color="#5bbad5">
<link rel="shortcut icon" href="{{ '/ico/favicon.ico' | prepend: site.images | relative_url }}">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="{{ '/ico/browserconfig.xml' | prepend: site.images | relative_url }}">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment