Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding matomo to TW #423

Merged
merged 1 commit into from
Nov 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 51 additions & 8 deletions www/run/index.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,58 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/webmidi@latest/dist/iife/webmidi.iife.js"></script>
<script src="micropython.mjs" type="module"></script>
<script type="text/javascript" src="enable-threads.js"></script>
<script type="text/javascript" src="amy.js"></script>
<script type="text/javascript" src="spss.js"></script>
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
<meta name="description" content="Tulip on the web. An affordable, portable and focused Python device for music, writing and coding">
<link rel="apple-touch-icon" sizes="180x180" href="img/apple-touch-icon.png">
<meta property="og:title" content="Tulip Creative Computer Web">
<meta property="og:image" content="https://tulip.computer/img/tulip_hero.jpg">
<meta property="og:description" content="Tulip on the web. An affordable, portable and focused Python device for music, writing and coding">

<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@shorepinesound">
<meta name="twitter:creator" content="@shorepinesound">
<meta name="twitter:title" content="Tulip Creative Computer Web">
<meta name="twitter:description" content="Tulip on the web. An affordable, portable and focused Python device for music, writing and coding.">
<meta name="twitter:image" content="https://tulip.computer/img/tulip_hero.jpg">

<meta property="og:type" content="product" />
<meta property="og:url" content="https://tulip.computer"/>
<meta property="og:site_name" content="Tulip Creative Computer"/>
<meta property="product:price:amount" content="58.90"/>
<meta property="product:price:currency" content="USD"/>
<meta property="og:availability" content="instock" />

<link rel="icon" type="image/png" sizes="32x32" href="img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="img/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="96x96" href="img/favicon.png">
<meta name="author" content="shore pine sound systems">
<meta name="HandheldFriendly" content="true">
<title>Tulip Creative Computer Web</title>

<meta charset="UTF-8">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/webmidi@latest/dist/iife/webmidi.iife.js"></script>
<script src="micropython.mjs" type="module"></script>
<script type="text/javascript" src="enable-threads.js"></script>
<script type="text/javascript" src="amy.js"></script>
<script type="text/javascript" src="spss.js"></script>
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://tulipcomputer.matomo.cloud/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src='https://cdn.matomo.cloud/tulipcomputer.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
</head>

<body>
<script type="module">
// Tulip settings
Expand Down
Loading