Skip to content

Commit fe35c59

Browse files
committed
Updated analytics to use Philip Walton version
1 parent d596831 commit fe35c59

File tree

194 files changed

+1555
-1555
lines changed

Some content is hidden

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

194 files changed

+1555
-1555
lines changed

a/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
<html lang="en">
2020
<head>
2121

22-
<!-- Global site tag (gtag.js) - Google Analytics -->
23-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-33848682-1"></script>
2422
<script>
25-
window.dataLayer = window.dataLayer || [];
26-
function gtag() {
27-
window.dataLayer.push(arguments);
28-
}
29-
gtag('js', new Date());
30-
gtag('config', 'UA-33848682-1');
23+
// philipwalton.com/articles/the-google-analytics-setup-i-use-on-every-site-i-build
24+
window.ga = window.ga || function() {
25+
(ga.q = ga.q || []).push(arguments);
26+
};
27+
ga('create', 'UA-33848682-1', 'auto');
28+
ga('set', 'transport', 'beacon');
29+
ga('send', 'pageview');
3130
</script>
31+
<script async src="https://www.google-analytics.com/analytics.js"></script>
3232

3333
<title>Redirecting...</title>
3434
<link rel="canonical" href="https://simpl.info/audio"/>

ajax/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
<html lang="en">
2020
<head>
2121

22-
<!-- Global site tag (gtag.js) - Google Analytics -->
23-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-33848682-1"></script>
2422
<script>
25-
window.dataLayer = window.dataLayer || [];
26-
function gtag() {
27-
window.dataLayer.push(arguments);
28-
}
29-
gtag('js', new Date());
30-
gtag('config', 'UA-33848682-1');
23+
// philipwalton.com/articles/the-google-analytics-setup-i-use-on-every-site-i-build
24+
window.ga = window.ga || function() {
25+
(ga.q = ga.q || []).push(arguments);
26+
};
27+
ga('create', 'UA-33848682-1', 'auto');
28+
ga('set', 'transport', 'beacon');
29+
ga('send', 'pageview');
3130
</script>
31+
<script async src="https://www.google-analytics.com/analytics.js"></script>
3232

3333
<title>Redirecting...</title>
3434
<link rel="canonical" href="https://simpl.info/xhr"/>

appcache/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@
2020
<html manifest="manifest.appcache">
2121
<head>
2222

23-
<!-- Global site tag (gtag.js) - Google Analytics -->
24-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-33848682-1"></script>
2523
<script>
26-
window.dataLayer = window.dataLayer || [];
27-
function gtag() {
28-
window.dataLayer.push(arguments);
29-
}
30-
gtag('js', new Date());
31-
gtag('config', 'UA-33848682-1');
24+
// philipwalton.com/articles/the-google-analytics-setup-i-use-on-every-site-i-build
25+
window.ga = window.ga || function() {
26+
(ga.q = ga.q || []).push(arguments);
27+
};
28+
ga('create', 'UA-33848682-1', 'auto');
29+
ga('set', 'transport', 'beacon');
30+
ga('send', 'pageview');
3231
</script>
32+
<script async src="https://www.google-analytics.com/analytics.js"></script>
3333

3434
<meta charset="utf-8">
3535
<meta name="description" content="Simplest possible examples of HTML, CSS and JavaScript.">

array/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
<html lang="en">
2020
<head>
2121

22-
<!-- Global site tag (gtag.js) - Google Analytics -->
23-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-33848682-1"></script>
2422
<script>
25-
window.dataLayer = window.dataLayer || [];
26-
function gtag() {
27-
window.dataLayer.push(arguments);
28-
}
29-
gtag('js', new Date());
30-
gtag('config', 'UA-33848682-1');
23+
// philipwalton.com/articles/the-google-analytics-setup-i-use-on-every-site-i-build
24+
window.ga = window.ga || function() {
25+
(ga.q = ga.q || []).push(arguments);
26+
};
27+
ga('create', 'UA-33848682-1', 'auto');
28+
ga('set', 'transport', 'beacon');
29+
ga('send', 'pageview');
3130
</script>
31+
<script async src="https://www.google-analytics.com/analytics.js"></script>
3232

3333
<meta charset="utf-8">
3434
<meta name="description" content="Simplest possible examples of HTML, CSS and JavaScript.">

audio/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
<html lang="en">
2020
<head>
2121

22-
<!-- Global site tag (gtag.js) - Google Analytics -->
23-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-33848682-1"></script>
2422
<script>
25-
window.dataLayer = window.dataLayer || [];
26-
function gtag() {
27-
window.dataLayer.push(arguments);
28-
}
29-
gtag('js', new Date());
30-
gtag('config', 'UA-33848682-1');
23+
// philipwalton.com/articles/the-google-analytics-setup-i-use-on-every-site-i-build
24+
window.ga = window.ga || function() {
25+
(ga.q = ga.q || []).push(arguments);
26+
};
27+
ga('create', 'UA-33848682-1', 'auto');
28+
ga('set', 'transport', 'beacon');
29+
ga('send', 'pageview');
3130
</script>
31+
<script async src="https://www.google-analytics.com/analytics.js"></script>
3232

3333
<meta charset="utf-8">
3434
<meta name="description" content="Simplest possible examples of HTML, CSS and JavaScript.">

audiodata/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
<html lang="en">
2020
<head>
2121

22-
<!-- Global site tag (gtag.js) - Google Analytics -->
23-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-33848682-1"></script>
2422
<script>
25-
window.dataLayer = window.dataLayer || [];
26-
function gtag() {
27-
window.dataLayer.push(arguments);
28-
}
29-
gtag('js', new Date());
30-
gtag('config', 'UA-33848682-1');
23+
// philipwalton.com/articles/the-google-analytics-setup-i-use-on-every-site-i-build
24+
window.ga = window.ga || function() {
25+
(ga.q = ga.q || []).push(arguments);
26+
};
27+
ga('create', 'UA-33848682-1', 'auto');
28+
ga('set', 'transport', 'beacon');
29+
ga('send', 'pageview');
3130
</script>
31+
<script async src="https://www.google-analytics.com/analytics.js"></script>
3232

3333
<meta charset="utf-8">
3434
<meta name="description" content="Simplest possible examples of HTML, CSS and JavaScript.">

av1/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
<html lang="en">
2020
<head>
2121

22-
<!-- Global site tag (gtag.js) - Google Analytics -->
23-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-33848682-1"></script>
2422
<script>
25-
window.dataLayer = window.dataLayer || [];
26-
function gtag() {
27-
window.dataLayer.push(arguments);
28-
}
29-
gtag('js', new Date());
30-
gtag('config', 'UA-33848682-1');
23+
// philipwalton.com/articles/the-google-analytics-setup-i-use-on-every-site-i-build
24+
window.ga = window.ga || function() {
25+
(ga.q = ga.q || []).push(arguments);
26+
};
27+
ga('create', 'UA-33848682-1', 'auto');
28+
ga('set', 'transport', 'beacon');
29+
ga('send', 'pageview');
3130
</script>
31+
<script async src="https://www.google-analytics.com/analytics.js"></script>
3232

3333
<meta charset="utf-8">
3434
<meta name="description" content="Simplest possible examples of HTML, CSS and JavaScript.">

battery/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
<html lang="en">
2020
<head>
2121

22-
<!-- Global site tag (gtag.js) - Google Analytics -->
23-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-33848682-1"></script>
2422
<script>
25-
window.dataLayer = window.dataLayer || [];
26-
function gtag() {
27-
window.dataLayer.push(arguments);
28-
}
29-
gtag('js', new Date());
30-
gtag('config', 'UA-33848682-1');
23+
// philipwalton.com/articles/the-google-analytics-setup-i-use-on-every-site-i-build
24+
window.ga = window.ga || function() {
25+
(ga.q = ga.q || []).push(arguments);
26+
};
27+
ga('create', 'UA-33848682-1', 'auto');
28+
ga('set', 'transport', 'beacon');
29+
ga('send', 'pageview');
3130
</script>
31+
<script async src="https://www.google-analytics.com/analytics.js"></script>
3232

3333
<meta charset="utf-8">
3434
<meta name="description" content="Simplest possible examples of HTML, CSS and JavaScript.">

bigimage/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
<html lang="en">
2020
<head>
2121

22-
<!-- Global site tag (gtag.js) - Google Analytics -->
23-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-33848682-1"></script>
2422
<script>
25-
window.dataLayer = window.dataLayer || [];
26-
function gtag() {
27-
window.dataLayer.push(arguments);
28-
}
29-
gtag('js', new Date());
30-
gtag('config', 'UA-33848682-1');
23+
// philipwalton.com/articles/the-google-analytics-setup-i-use-on-every-site-i-build
24+
window.ga = window.ga || function() {
25+
(ga.q = ga.q || []).push(arguments);
26+
};
27+
ga('create', 'UA-33848682-1', 'auto');
28+
ga('set', 'transport', 'beacon');
29+
ga('send', 'pageview');
3130
</script>
31+
<script async src="https://www.google-analytics.com/analytics.js"></script>
3232

3333
<meta charset="utf-8">
3434
<meta name="description" content="Simplest possible examples of HTML, CSS and JavaScript.">

br/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
<html lang="en">
2020
<head>
2121

22-
<!-- Global site tag (gtag.js) - Google Analytics -->
23-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-33848682-1"></script>
2422
<script>
25-
window.dataLayer = window.dataLayer || [];
26-
function gtag() {
27-
window.dataLayer.push(arguments);
28-
}
29-
gtag('js', new Date());
30-
gtag('config', 'UA-33848682-1');
23+
// philipwalton.com/articles/the-google-analytics-setup-i-use-on-every-site-i-build
24+
window.ga = window.ga || function() {
25+
(ga.q = ga.q || []).push(arguments);
26+
};
27+
ga('create', 'UA-33848682-1', 'auto');
28+
ga('set', 'transport', 'beacon');
29+
ga('send', 'pageview');
3130
</script>
31+
<script async src="https://www.google-analytics.com/analytics.js"></script>
3232

3333
<title>Redirecting...</title>
3434
<link rel="canonical" href="https://simpl.info/vibrate"/>

canplaytype/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
<html lang="en">
2020
<head>
2121

22-
<!-- Global site tag (gtag.js) - Google Analytics -->
23-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-33848682-1"></script>
2422
<script>
25-
window.dataLayer = window.dataLayer || [];
26-
function gtag() {
27-
window.dataLayer.push(arguments);
28-
}
29-
gtag('js', new Date());
30-
gtag('config', 'UA-33848682-1');
23+
// philipwalton.com/articles/the-google-analytics-setup-i-use-on-every-site-i-build
24+
window.ga = window.ga || function() {
25+
(ga.q = ga.q || []).push(arguments);
26+
};
27+
ga('create', 'UA-33848682-1', 'auto');
28+
ga('set', 'transport', 'beacon');
29+
ga('send', 'pageview');
3130
</script>
31+
<script async src="https://www.google-analytics.com/analytics.js"></script>
3232

3333
<meta charset="utf-8">
3434
<meta name="description" content="Simplest possible examples of HTML, CSS and JavaScript.">

canvas/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
<html lang="en">
2020
<head>
2121

22-
<!-- Global site tag (gtag.js) - Google Analytics -->
23-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-33848682-1"></script>
2422
<script>
25-
window.dataLayer = window.dataLayer || [];
26-
function gtag() {
27-
window.dataLayer.push(arguments);
28-
}
29-
gtag('js', new Date());
30-
gtag('config', 'UA-33848682-1');
23+
// philipwalton.com/articles/the-google-analytics-setup-i-use-on-every-site-i-build
24+
window.ga = window.ga || function() {
25+
(ga.q = ga.q || []).push(arguments);
26+
};
27+
ga('create', 'UA-33848682-1', 'auto');
28+
ga('set', 'transport', 'beacon');
29+
ga('send', 'pageview');
3130
</script>
31+
<script async src="https://www.google-analytics.com/analytics.js"></script>
3232

3333
<meta charset="utf-8">
3434
<meta name="description" content="Simplest possible examples of HTML, CSS and JavaScript.">

ck/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
<html lang="en">
2020
<head>
2121

22-
<!-- Global site tag (gtag.js) - Google Analytics -->
23-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-33848682-1"></script>
2422
<script>
25-
window.dataLayer = window.dataLayer || [];
26-
function gtag() {
27-
window.dataLayer.push(arguments);
28-
}
29-
gtag('js', new Date());
30-
gtag('config', 'UA-33848682-1');
23+
// philipwalton.com/articles/the-google-analytics-setup-i-use-on-every-site-i-build
24+
window.ga = window.ga || function() {
25+
(ga.q = ga.q || []).push(arguments);
26+
};
27+
ga('create', 'UA-33848682-1', 'auto');
28+
ga('set', 'transport', 'beacon');
29+
ga('send', 'pageview');
3130
</script>
31+
<script async src="https://www.google-analytics.com/analytics.js"></script>
3232

3333
<title>Redirecting...</title>
3434
<link rel="canonical" href="https://simpl.info/eme/clearkey"/>

cors/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
<html lang="en">
2020
<head>
2121

22-
<!-- Global site tag (gtag.js) - Google Analytics -->
23-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-33848682-1"></script>
2422
<script>
25-
window.dataLayer = window.dataLayer || [];
26-
function gtag() {
27-
window.dataLayer.push(arguments);
28-
}
29-
gtag('js', new Date());
30-
gtag('config', 'UA-33848682-1');
23+
// philipwalton.com/articles/the-google-analytics-setup-i-use-on-every-site-i-build
24+
window.ga = window.ga || function() {
25+
(ga.q = ga.q || []).push(arguments);
26+
};
27+
ga('create', 'UA-33848682-1', 'auto');
28+
ga('set', 'transport', 'beacon');
29+
ga('send', 'pageview');
3130
</script>
31+
<script async src="https://www.google-analytics.com/analytics.js"></script>
3232

3333
<meta charset="utf-8">
3434
<meta name="description" content="Simplest possible examples of HTML, CSS and JavaScript.">

cpt/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
<html lang="en">
2020
<head>
2121

22-
<!-- Global site tag (gtag.js) - Google Analytics -->
23-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-33848682-1"></script>
2422
<script>
25-
window.dataLayer = window.dataLayer || [];
26-
function gtag() {
27-
window.dataLayer.push(arguments);
28-
}
29-
gtag('js', new Date());
30-
gtag('config', 'UA-33848682-1');
23+
// philipwalton.com/articles/the-google-analytics-setup-i-use-on-every-site-i-build
24+
window.ga = window.ga || function() {
25+
(ga.q = ga.q || []).push(arguments);
26+
};
27+
ga('create', 'UA-33848682-1', 'auto');
28+
ga('set', 'transport', 'beacon');
29+
ga('send', 'pageview');
3130
</script>
31+
<script async src="https://www.google-analytics.com/analytics.js"></script>
3232

3333
<title>Redirecting...</title>
3434

cssbackgroundanimation/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
<html lang="en">
2020
<head>
2121

22-
<!-- Global site tag (gtag.js) - Google Analytics -->
23-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-33848682-1"></script>
2422
<script>
25-
window.dataLayer = window.dataLayer || [];
26-
function gtag() {
27-
window.dataLayer.push(arguments);
28-
}
29-
gtag('js', new Date());
30-
gtag('config', 'UA-33848682-1');
23+
// philipwalton.com/articles/the-google-analytics-setup-i-use-on-every-site-i-build
24+
window.ga = window.ga || function() {
25+
(ga.q = ga.q || []).push(arguments);
26+
};
27+
ga('create', 'UA-33848682-1', 'auto');
28+
ga('set', 'transport', 'beacon');
29+
ga('send', 'pageview');
3130
</script>
31+
<script async src="https://www.google-analytics.com/analytics.js"></script>
3232

3333
<meta charset="utf-8">
3434
<meta name="description" content="Simplest possible examples of HTML, CSS and JavaScript.">

0 commit comments

Comments
 (0)