Skip to content

Commit 9068547

Browse files
committed
Custom zumerlab.js for tracking and analytics across all documentation pages.
1 parent 6562c5f commit 9068547

99 files changed

Lines changed: 197 additions & 295 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎docs/404.html‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
<!doctype html>
22
<html lang="en">
33
<head>
4-
<!-- Google tag (gtag.js) -->
5-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XL52CBETDH"></script>
6-
<script>window.dataLayer = window.dataLayer || []; function gtag () { dataLayer.push(arguments) } gtag('js', new Date()); gtag('config', 'G-XL52CBETDH')</script>
4+
<!-- Analytics, cookie consent and events for zumerlab.com -->
5+
<script async src="/zumerlab.js"></script>
76
<meta charset="utf-8">
87
<meta name="viewport" content="width=device-width, initial-scale=1">
98
<title>Page not found · Orbit</title>

‎docs/assets/site.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ function nav() {
151151
const exact = NAV.some(([, items]) => items.some(([, path]) => isHere(path)));
152152
el.innerHTML = NAV.map(([title, items]) => `<h2>${title}</h2><ul>${items.map(([label, path]) =>
153153
`<li><a href="${at(path)}"${isHere(path) ? ' aria-current="page"' : (!exact && inSection(path) ? ' aria-current="true"' : '')}>${label}</a></li>`).join('')}</ul>`).join('') +
154-
`<p class="nav-sponsor"><a href="https://github.com/${REPO}">Star on GitHub</a><a href="https://github.com/sponsors/tinchox5">Sponsor Orbit</a></p>`;
154+
`<p class="nav-sponsor"><a href="https://github.com/${REPO}">Star on GitHub</a><a href="https://github.com/sponsors/tinchox5">Sponsor Orbit</a><a href="/privacy.html">Privacy</a><span data-cookie-settings hidden><a href="#">Cookie settings</a></span></p>`;
155155
}
156156

157157
function pager() {

‎docs/craft/colors.html‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
<!doctype html>
22
<html lang="en">
33
<head>
4-
<!-- Google tag (gtag.js) -->
5-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XL52CBETDH"></script>
6-
<script>window.dataLayer = window.dataLayer || []; function gtag () { dataLayer.push(arguments) } gtag('js', new Date()); gtag('config', 'G-XL52CBETDH')</script>
4+
<!-- Analytics, cookie consent and events for zumerlab.com -->
5+
<script async src="/zumerlab.js"></script>
76
<meta charset="utf-8">
87
<meta name="viewport" content="width=device-width, initial-scale=1">
98
<title>Colors · Orbit</title>

‎docs/craft/depth.html‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
<!doctype html>
22
<html lang="en">
33
<head>
4-
<!-- Google tag (gtag.js) -->
5-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XL52CBETDH"></script>
6-
<script>window.dataLayer = window.dataLayer || []; function gtag () { dataLayer.push(arguments) } gtag('js', new Date()); gtag('config', 'G-XL52CBETDH')</script>
4+
<!-- Analytics, cookie consent and events for zumerlab.com -->
5+
<script async src="/zumerlab.js"></script>
76
<meta charset="utf-8">
87
<meta name="viewport" content="width=device-width, initial-scale=1">
98
<title>Depth layers · Orbit</title>

‎docs/craft/runtime.html‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
<!doctype html>
22
<html lang="en">
33
<head>
4-
<!-- Google tag (gtag.js) -->
5-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XL52CBETDH"></script>
6-
<script>window.dataLayer = window.dataLayer || []; function gtag () { dataLayer.push(arguments) } gtag('js', new Date()); gtag('config', 'G-XL52CBETDH')</script>
4+
<!-- Analytics, cookie consent and events for zumerlab.com -->
5+
<script async src="/zumerlab.js"></script>
76
<meta charset="utf-8">
87
<meta name="viewport" content="width=device-width, initial-scale=1">
98
<title>Runtime and resizing · Orbit</title>

‎docs/craft/themes.html‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
<!doctype html>
22
<html lang="en">
33
<head>
4-
<!-- Google tag (gtag.js) -->
5-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XL52CBETDH"></script>
6-
<script>window.dataLayer = window.dataLayer || []; function gtag () { dataLayer.push(arguments) } gtag('js', new Date()); gtag('config', 'G-XL52CBETDH')</script>
4+
<!-- Analytics, cookie consent and events for zumerlab.com -->
5+
<script async src="/zumerlab.js"></script>
76
<meta charset="utf-8">
87
<meta name="viewport" content="width=device-width, initial-scale=1">
98
<title>Themes · Orbit</title>

‎docs/craft/visual-aids.html‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
<!doctype html>
22
<html lang="en">
33
<head>
4-
<!-- Google tag (gtag.js) -->
5-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XL52CBETDH"></script>
6-
<script>window.dataLayer = window.dataLayer || []; function gtag () { dataLayer.push(arguments) } gtag('js', new Date()); gtag('config', 'G-XL52CBETDH')</script>
4+
<!-- Analytics, cookie consent and events for zumerlab.com -->
5+
<script async src="/zumerlab.js"></script>
76
<meta charset="utf-8">
87
<meta name="viewport" content="width=device-width, initial-scale=1">
98
<title>Visual aids · Orbit</title>

‎docs/demos/00-universe.html‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<!-- Google tag (gtag.js) -->
5-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XL52CBETDH"></script>
6-
<script>window.dataLayer = window.dataLayer || []; function gtag () { dataLayer.push(arguments) } gtag('js', new Date()); gtag('config', 'G-XL52CBETDH')</script>
4+
<!-- Analytics, cookie consent and events for zumerlab.com -->
5+
<script async src="/zumerlab.js"></script>
76
<meta charset="utf-8" />
87
<script>
98
// #embed shows only the drawing, for the rotating stage on the home page.

‎docs/demos/01-minimal-gauge.html‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<!-- Google tag (gtag.js) -->
5-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XL52CBETDH"></script>
6-
<script>window.dataLayer = window.dataLayer || []; function gtag () { dataLayer.push(arguments) } gtag('js', new Date()); gtag('config', 'G-XL52CBETDH')</script>
4+
<!-- Analytics, cookie consent and events for zumerlab.com -->
5+
<script async src="/zumerlab.js"></script>
76
<meta charset="utf-8" />
87
<script>
98
// #embed shows only the drawing, for the rotating stage on the home page.

‎docs/demos/02-donut-multilayer.html‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<!-- Google tag (gtag.js) -->
5-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XL52CBETDH"></script>
6-
<script>window.dataLayer = window.dataLayer || []; function gtag () { dataLayer.push(arguments) } gtag('js', new Date()); gtag('config', 'G-XL52CBETDH')</script>
4+
<!-- Analytics, cookie consent and events for zumerlab.com -->
5+
<script async src="/zumerlab.js"></script>
76
<meta charset="utf-8" />
87
<script>
98
// #embed shows only the drawing, for the rotating stage on the home page.

0 commit comments

Comments
 (0)