Browse Source

Added Matomo tracking code

Nathan Schneider 5 years ago
parent
commit
c517368139

+ 17 - 0
_includes/head.html

@@ -11,6 +11,23 @@
 
 <!--ADDITIONS-->
   <link rel="shortcut icon" href="{{ "/assets/favicon.ico" | relative_url }}" type="image/vnd.microsoft.icon" />
+
+<!-- Matomo -->
+<script type="text/javascript">
+  var _paq = window._paq || [];
+  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+  _paq.push(['trackPageView']);
+  _paq.push(['enableLinkTracking']);
+  (function() {
+    var u="//analytics.medlab.host/";
+    _paq.push(['setTrackerUrl', u+'matomo.php']);
+    _paq.push(['setSiteId', '3']);
+    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+    g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
+  })();
+</script>
+<!-- End Matomo Code -->
+
 <!--/ADDITIONS-->
   
 </head>

+ 17 - 0
_site/404.html

@@ -17,6 +17,23 @@
 <!-- End Jekyll SEO tag -->
 <link rel="stylesheet" href="/medlab/assets/main.css"><link type="application/atom+xml" rel="alternate" href="https://cmci.colorado.edu/medlab/feed.xml" title="Media Enterprise Design Lab @ CU Boulder" /><!--ADDITIONS-->
   <link rel="shortcut icon" href="/medlab/assets/favicon.ico" type="image/vnd.microsoft.icon" />
+
+<!-- Matomo -->
+<script type="text/javascript">
+  var _paq = window._paq || [];
+  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+  _paq.push(['trackPageView']);
+  _paq.push(['enableLinkTracking']);
+  (function() {
+    var u="//analytics.medlab.host/";
+    _paq.push(['setTrackerUrl', u+'matomo.php']);
+    _paq.push(['setSiteId', '3']);
+    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+    g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
+  })();
+</script>
+<!-- End Matomo Code -->
+
 <!--/ADDITIONS-->
   
 </head>

+ 17 - 0
_site/about/index.html

@@ -17,6 +17,23 @@
 <!-- End Jekyll SEO tag -->
 <link rel="stylesheet" href="/medlab/assets/main.css"><link type="application/atom+xml" rel="alternate" href="https://cmci.colorado.edu/medlab/feed.xml" title="Media Enterprise Design Lab @ CU Boulder" /><!--ADDITIONS-->
   <link rel="shortcut icon" href="/medlab/assets/favicon.ico" type="image/vnd.microsoft.icon" />
+
+<!-- Matomo -->
+<script type="text/javascript">
+  var _paq = window._paq || [];
+  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+  _paq.push(['trackPageView']);
+  _paq.push(['enableLinkTracking']);
+  (function() {
+    var u="//analytics.medlab.host/";
+    _paq.push(['setTrackerUrl', u+'matomo.php']);
+    _paq.push(['setSiteId', '3']);
+    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+    g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
+  })();
+</script>
+<!-- End Matomo Code -->
+
 <!--/ADDITIONS-->
   
 </head>

+ 1 - 1
_site/feed.xml

@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.5">Jekyll</generator><link href="https://cmci.colorado.edu/medlab/feed.xml" rel="self" type="application/atom+xml" /><link href="https://cmci.colorado.edu/medlab/" rel="alternate" type="text/html" /><updated>2019-02-06T12:32:13-07:00</updated><id>https://cmci.colorado.edu/medlab/feed.xml</id><title type="html">Media Enterprise Design Lab @ CU Boulder</title><subtitle>MEDLab is a think tank for community ownership and governance in media organizations, based at the University of Colorado Boulder's College of Media, Communication and Information.</subtitle><entry><title type="html">Meet KOSAKTI, a Creative New Cooperative in Indonesia</title><link href="https://cmci.colorado.edu/medlab/2019/02/02/meet-kosakti-in-indonesia.html" rel="alternate" type="text/html" title="Meet KOSAKTI, a Creative New Cooperative in Indonesia" /><published>2019-02-02T00:00:00-07:00</published><updated>2019-02-02T00:00:00-07:00</updated><id>https://cmci.colorado.edu/medlab/2019/02/02/meet-kosakti-in-indonesia</id><content type="html" xml:base="https://cmci.colorado.edu/medlab/2019/02/02/meet-kosakti-in-indonesia.html">&lt;p&gt;&lt;em&gt;The following is a lightly edited email exchange I had with Bimo Ario Suryandaru, CEO of KOSAKTI, a cooperative in Indonesia. He and his team are developing an interesting approach that I was grateful to learn about, and I thought others might be, too. &lt;a href=&quot;http://kosakti.id/wp-content/uploads/2019/02/KOSAKTI-PROFILE-compressed.pdf&quot;&gt;See their slide deck here&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
+<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.5">Jekyll</generator><link href="https://cmci.colorado.edu/medlab/feed.xml" rel="self" type="application/atom+xml" /><link href="https://cmci.colorado.edu/medlab/" rel="alternate" type="text/html" /><updated>2019-02-06T20:09:31-07:00</updated><id>https://cmci.colorado.edu/medlab/feed.xml</id><title type="html">Media Enterprise Design Lab @ CU Boulder</title><subtitle>MEDLab is a think tank for community ownership and governance in media organizations, based at the University of Colorado Boulder's College of Media, Communication and Information.</subtitle><entry><title type="html">Meet KOSAKTI, a Creative New Cooperative in Indonesia</title><link href="https://cmci.colorado.edu/medlab/2019/02/02/meet-kosakti-in-indonesia.html" rel="alternate" type="text/html" title="Meet KOSAKTI, a Creative New Cooperative in Indonesia" /><published>2019-02-02T00:00:00-07:00</published><updated>2019-02-02T00:00:00-07:00</updated><id>https://cmci.colorado.edu/medlab/2019/02/02/meet-kosakti-in-indonesia</id><content type="html" xml:base="https://cmci.colorado.edu/medlab/2019/02/02/meet-kosakti-in-indonesia.html">&lt;p&gt;&lt;em&gt;The following is a lightly edited email exchange I had with Bimo Ario Suryandaru, CEO of KOSAKTI, a cooperative in Indonesia. He and his team are developing an interesting approach that I was grateful to learn about, and I thought others might be, too. &lt;a href=&quot;http://kosakti.id/wp-content/uploads/2019/02/KOSAKTI-PROFILE-compressed.pdf&quot;&gt;See their slide deck here&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
 
 &lt;p&gt;&lt;strong&gt;What does KOSAKTI exist to do?&lt;/strong&gt;&lt;/p&gt;
 

+ 17 - 0
_site/index.html

@@ -17,6 +17,23 @@
 <!-- End Jekyll SEO tag -->
 <link rel="stylesheet" href="/medlab/assets/main.css"><link type="application/atom+xml" rel="alternate" href="https://cmci.colorado.edu/medlab/feed.xml" title="Media Enterprise Design Lab @ CU Boulder" /><!--ADDITIONS-->
   <link rel="shortcut icon" href="/medlab/assets/favicon.ico" type="image/vnd.microsoft.icon" />
+
+<!-- Matomo -->
+<script type="text/javascript">
+  var _paq = window._paq || [];
+  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+  _paq.push(['trackPageView']);
+  _paq.push(['enableLinkTracking']);
+  (function() {
+    var u="//analytics.medlab.host/";
+    _paq.push(['setTrackerUrl', u+'matomo.php']);
+    _paq.push(['setSiteId', '3']);
+    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+    g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
+  })();
+</script>
+<!-- End Matomo Code -->
+
 <!--/ADDITIONS-->
   
 </head>

+ 17 - 0
_site/posts/index.html

@@ -17,6 +17,23 @@
 <!-- End Jekyll SEO tag -->
 <link rel="stylesheet" href="/medlab/assets/main.css"><link type="application/atom+xml" rel="alternate" href="https://cmci.colorado.edu/medlab/feed.xml" title="Media Enterprise Design Lab @ CU Boulder" /><!--ADDITIONS-->
   <link rel="shortcut icon" href="/medlab/assets/favicon.ico" type="image/vnd.microsoft.icon" />
+
+<!-- Matomo -->
+<script type="text/javascript">
+  var _paq = window._paq || [];
+  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+  _paq.push(['trackPageView']);
+  _paq.push(['enableLinkTracking']);
+  (function() {
+    var u="//analytics.medlab.host/";
+    _paq.push(['setTrackerUrl', u+'matomo.php']);
+    _paq.push(['setSiteId', '3']);
+    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+    g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
+  })();
+</script>
+<!-- End Matomo Code -->
+
 <!--/ADDITIONS-->
   
 </head>

+ 17 - 0
_site/projects/index.html

@@ -17,6 +17,23 @@
 <!-- End Jekyll SEO tag -->
 <link rel="stylesheet" href="/medlab/assets/main.css"><link type="application/atom+xml" rel="alternate" href="https://cmci.colorado.edu/medlab/feed.xml" title="Media Enterprise Design Lab @ CU Boulder" /><!--ADDITIONS-->
   <link rel="shortcut icon" href="/medlab/assets/favicon.ico" type="image/vnd.microsoft.icon" />
+
+<!-- Matomo -->
+<script type="text/javascript">
+  var _paq = window._paq || [];
+  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+  _paq.push(['trackPageView']);
+  _paq.push(['enableLinkTracking']);
+  (function() {
+    var u="//analytics.medlab.host/";
+    _paq.push(['setTrackerUrl', u+'matomo.php']);
+    _paq.push(['setSiteId', '3']);
+    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+    g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
+  })();
+</script>
+<!-- End Matomo Code -->
+
 <!--/ADDITIONS-->
   
 </head>

+ 19 - 2
_site/projects/social-fiction.html

@@ -13,12 +13,29 @@
 <meta property="og:url" content="https://cmci.colorado.edu/medlab/projects/social-fiction.html" />
 <meta property="og:site_name" content="Media Enterprise Design Lab @ CU Boulder" />
 <meta property="og:type" content="article" />
-<meta property="article:published_time" content="2019-02-06T12:32:13-07:00" />
+<meta property="article:published_time" content="2019-02-06T20:09:31-07:00" />
 <script type="application/ld+json">
-{"datePublished":"2019-02-06T12:32:13-07:00","@type":"BlogPosting","mainEntityOfPage":{"@type":"WebPage","@id":"https://cmci.colorado.edu/medlab/projects/social-fiction.html"},"url":"https://cmci.colorado.edu/medlab/projects/social-fiction.html","headline":"Social Fiction for Social Enterprise","description":"MEDLab offers workshops for community-oriented enterprises of all stages using methods of speculative fiction. We are developing a methodology for applying narrative practices to the imaginative process of enterprise building—addressing challenges of internal governance, stakeholder acquisition, and social impact. In addition to helping entrepreneurs and their communities develop their own narratives, we commission original works from leading authors.","dateModified":"2019-02-06T12:32:13-07:00","@context":"http://schema.org"}</script>
+{"datePublished":"2019-02-06T20:09:31-07:00","@type":"BlogPosting","mainEntityOfPage":{"@type":"WebPage","@id":"https://cmci.colorado.edu/medlab/projects/social-fiction.html"},"url":"https://cmci.colorado.edu/medlab/projects/social-fiction.html","headline":"Social Fiction for Social Enterprise","description":"MEDLab offers workshops for community-oriented enterprises of all stages using methods of speculative fiction. We are developing a methodology for applying narrative practices to the imaginative process of enterprise building—addressing challenges of internal governance, stakeholder acquisition, and social impact. In addition to helping entrepreneurs and their communities develop their own narratives, we commission original works from leading authors.","dateModified":"2019-02-06T20:09:31-07:00","@context":"http://schema.org"}</script>
 <!-- End Jekyll SEO tag -->
 <link rel="stylesheet" href="/medlab/assets/main.css"><link type="application/atom+xml" rel="alternate" href="https://cmci.colorado.edu/medlab/feed.xml" title="Media Enterprise Design Lab @ CU Boulder" /><!--ADDITIONS-->
   <link rel="shortcut icon" href="/medlab/assets/favicon.ico" type="image/vnd.microsoft.icon" />
+
+<!-- Matomo -->
+<script type="text/javascript">
+  var _paq = window._paq || [];
+  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+  _paq.push(['trackPageView']);
+  _paq.push(['enableLinkTracking']);
+  (function() {
+    var u="//analytics.medlab.host/";
+    _paq.push(['setTrackerUrl', u+'matomo.php']);
+    _paq.push(['setSiteId', '3']);
+    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+    g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
+  })();
+</script>
+<!-- End Matomo Code -->
+
 <!--/ADDITIONS-->
   
 </head>

+ 19 - 2
_site/projects/stakeholder-news.html

@@ -13,12 +13,29 @@
 <meta property="og:url" content="https://cmci.colorado.edu/medlab/projects/stakeholder-news.html" />
 <meta property="og:site_name" content="Media Enterprise Design Lab @ CU Boulder" />
 <meta property="og:type" content="article" />
-<meta property="article:published_time" content="2019-02-06T12:32:13-07:00" />
+<meta property="article:published_time" content="2019-02-06T20:09:31-07:00" />
 <script type="application/ld+json">
-{"datePublished":"2019-02-06T12:32:13-07:00","@type":"BlogPosting","mainEntityOfPage":{"@type":"WebPage","@id":"https://cmci.colorado.edu/medlab/projects/stakeholder-news.html"},"url":"https://cmci.colorado.edu/medlab/projects/stakeholder-news.html","headline":"Stakeholder Ownership for Sustainable News","description":"In collaboration with pioneering publications, we are exploring how democratic strategies for ownership, financing, and governance can support a new generation of accountable, sustainable news organizations.","dateModified":"2019-02-06T12:32:13-07:00","@context":"http://schema.org"}</script>
+{"datePublished":"2019-02-06T20:09:31-07:00","@type":"BlogPosting","mainEntityOfPage":{"@type":"WebPage","@id":"https://cmci.colorado.edu/medlab/projects/stakeholder-news.html"},"url":"https://cmci.colorado.edu/medlab/projects/stakeholder-news.html","headline":"Stakeholder Ownership for Sustainable News","description":"In collaboration with pioneering publications, we are exploring how democratic strategies for ownership, financing, and governance can support a new generation of accountable, sustainable news organizations.","dateModified":"2019-02-06T20:09:31-07:00","@context":"http://schema.org"}</script>
 <!-- End Jekyll SEO tag -->
 <link rel="stylesheet" href="/medlab/assets/main.css"><link type="application/atom+xml" rel="alternate" href="https://cmci.colorado.edu/medlab/feed.xml" title="Media Enterprise Design Lab @ CU Boulder" /><!--ADDITIONS-->
   <link rel="shortcut icon" href="/medlab/assets/favicon.ico" type="image/vnd.microsoft.icon" />
+
+<!-- Matomo -->
+<script type="text/javascript">
+  var _paq = window._paq || [];
+  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+  _paq.push(['trackPageView']);
+  _paq.push(['enableLinkTracking']);
+  (function() {
+    var u="//analytics.medlab.host/";
+    _paq.push(['setTrackerUrl', u+'matomo.php']);
+    _paq.push(['setSiteId', '3']);
+    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+    g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
+  })();
+</script>
+<!-- End Matomo Code -->
+
 <!--/ADDITIONS-->
   
 </head>

+ 19 - 2
_site/projects/user-trusts.html

@@ -13,12 +13,29 @@
 <meta property="og:url" content="https://cmci.colorado.edu/medlab/projects/user-trusts.html" />
 <meta property="og:site_name" content="Media Enterprise Design Lab @ CU Boulder" />
 <meta property="og:type" content="article" />
-<meta property="article:published_time" content="2019-02-06T12:32:13-07:00" />
+<meta property="article:published_time" content="2019-02-06T20:09:31-07:00" />
 <script type="application/ld+json">
-{"datePublished":"2019-02-06T12:32:13-07:00","@type":"BlogPosting","mainEntityOfPage":{"@type":"WebPage","@id":"https://cmci.colorado.edu/medlab/projects/user-trusts.html"},"url":"https://cmci.colorado.edu/medlab/projects/user-trusts.html","headline":"User Trusts","description":"Through employee stock-ownership plans (ESOPs), millions of Americans experience the benefits of being co-owners of their workplaces. But employment is only one kind of economic relationship that can be strengthened with co-ownership trusts. Louis Kelso, the inventor of the ESOP, also imagined other SOPs, including a consumer stock-ownership plan (CSOP). In an era when fixed employment may be in decline, perhaps the time is right to revisit the CSOP proposal.","dateModified":"2019-02-06T12:32:13-07:00","@context":"http://schema.org"}</script>
+{"datePublished":"2019-02-06T20:09:31-07:00","@type":"BlogPosting","mainEntityOfPage":{"@type":"WebPage","@id":"https://cmci.colorado.edu/medlab/projects/user-trusts.html"},"url":"https://cmci.colorado.edu/medlab/projects/user-trusts.html","headline":"User Trusts","description":"Through employee stock-ownership plans (ESOPs), millions of Americans experience the benefits of being co-owners of their workplaces. But employment is only one kind of economic relationship that can be strengthened with co-ownership trusts. Louis Kelso, the inventor of the ESOP, also imagined other SOPs, including a consumer stock-ownership plan (CSOP). In an era when fixed employment may be in decline, perhaps the time is right to revisit the CSOP proposal.","dateModified":"2019-02-06T20:09:31-07:00","@context":"http://schema.org"}</script>
 <!-- End Jekyll SEO tag -->
 <link rel="stylesheet" href="/medlab/assets/main.css"><link type="application/atom+xml" rel="alternate" href="https://cmci.colorado.edu/medlab/feed.xml" title="Media Enterprise Design Lab @ CU Boulder" /><!--ADDITIONS-->
   <link rel="shortcut icon" href="/medlab/assets/favicon.ico" type="image/vnd.microsoft.icon" />
+
+<!-- Matomo -->
+<script type="text/javascript">
+  var _paq = window._paq || [];
+  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+  _paq.push(['trackPageView']);
+  _paq.push(['enableLinkTracking']);
+  (function() {
+    var u="//analytics.medlab.host/";
+    _paq.push(['setTrackerUrl', u+'matomo.php']);
+    _paq.push(['setSiteId', '3']);
+    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+    g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
+  })();
+</script>
+<!-- End Matomo Code -->
+
 <!--/ADDITIONS-->
   
 </head>