Add Google Analytics

This commit is contained in:
2020-12-24 16:27:04 +00:00
parent 9de36a9621
commit f79d4a9b8a
23 changed files with 214 additions and 4 deletions

View File

@@ -47,6 +47,16 @@
<!-- import local styling & scripts -->
<script src="/js/global.js"></script>
<link href="/css/global.css" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-68BN6F20LG"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-68BN6F20LG');
</script>
</head>
<body>

View File

@@ -1,2 +1,2 @@
# BBC Young Reporter | Reading School
This is Reading School's BBC Young Reporter website. If you have any problems with this website, please [email me at me@mgrove.uk](mailto:me@mgrove.uk), or [create an issue on GitHub](https://github.com/reading-school-code/bbc-school-report/issues/new).
This is [Reading School's BBC Young Reporter website](https://youngreporter.mgrove.uk). If you have any problems with this website, please [email me at me@mgrove.uk](mailto:me@mgrove.uk), or [create an issue on GitHub](https://github.com/reading-school-code/bbc-school-report/issues/new).

View File

@@ -47,6 +47,16 @@
<!-- import local styling & scripts -->
<script src="/js/global.js"></script>
<link href="/css/global.css" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-68BN6F20LG"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-68BN6F20LG');
</script>
</head>
<link href="/css/article-page.css" rel="stylesheet">

View File

@@ -47,6 +47,16 @@
<!-- import local styling & scripts -->
<script src="/js/global.js"></script>
<link href="/css/global.css" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-68BN6F20LG"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-68BN6F20LG');
</script>
</head>
<link href="/css/article-page.css" rel="stylesheet">

View File

@@ -47,6 +47,16 @@
<!-- import local styling & scripts -->
<script src="/js/global.js"></script>
<link href="/css/global.css" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-68BN6F20LG"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-68BN6F20LG');
</script>
</head>
<link href="/css/article-page.css" rel="stylesheet">

View File

@@ -47,6 +47,16 @@
<!-- import local styling & scripts -->
<script src="/js/global.js"></script>
<link href="/css/global.css" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-68BN6F20LG"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-68BN6F20LG');
</script>
</head>
<link href="/css/article-page.css" rel="stylesheet">

View File

@@ -47,6 +47,16 @@
<!-- import local styling & scripts -->
<script src="/js/global.js"></script>
<link href="/css/global.css" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-68BN6F20LG"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-68BN6F20LG');
</script>
</head>
<link href="/css/article-page.css" rel="stylesheet">

View File

@@ -47,6 +47,16 @@
<!-- import local styling & scripts -->
<script src="/js/global.js"></script>
<link href="/css/global.css" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-68BN6F20LG"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-68BN6F20LG');
</script>
</head>
<link href="/css/article-page.css" rel="stylesheet">

View File

@@ -47,6 +47,16 @@
<!-- import local styling & scripts -->
<script src="/js/global.js"></script>
<link href="/css/global.css" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-68BN6F20LG"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-68BN6F20LG');
</script>
</head>
<link href="/css/article-page.css" rel="stylesheet">

View File

@@ -47,6 +47,16 @@
<!-- import local styling & scripts -->
<script src="/js/global.js"></script>
<link href="/css/global.css" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-68BN6F20LG"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-68BN6F20LG');
</script>
</head>
<link href="/css/article-page.css" rel="stylesheet">

View File

@@ -47,6 +47,16 @@
<!-- import local styling & scripts -->
<script src="/js/global.js"></script>
<link href="/css/global.css" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-68BN6F20LG"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-68BN6F20LG');
</script>
</head>
<link href="/css/article-page.css" rel="stylesheet">

View File

@@ -47,6 +47,16 @@
<!-- import local styling & scripts -->
<script src="/js/global.js"></script>
<link href="/css/global.css" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-68BN6F20LG"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-68BN6F20LG');
</script>
</head>
<link href="/css/article-page.css" rel="stylesheet">

View File

@@ -47,6 +47,16 @@
<!-- import local styling & scripts -->
<script src="/js/global.js"></script>
<link href="/css/global.css" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-68BN6F20LG"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-68BN6F20LG');
</script>
</head>
<link href="/css/article-page.css" rel="stylesheet">

View File

@@ -47,6 +47,16 @@
<!-- import local styling & scripts -->
<script src="/js/global.js"></script>
<link href="/css/global.css" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-68BN6F20LG"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-68BN6F20LG');
</script>
</head>
<link href="/css/article-page.css" rel="stylesheet">
@@ -310,9 +320,9 @@ But Reading School students want to change this.</p>
<figcaption class="mdc-typography--caption-text">Reading School Students Raising Money for the Alzheimers Society outside the University of Reading &bull; &copy; Reading School</figcaption>
</figure>
<p>Also see our podcast, related to this article:</p>
<!-- Also see our podcast, related to this article:
<!-- <iframe scrolling="no" src="https://anchor.fm/nsph/embed/episodes/Charity-Children-Want-to-Create-Change---Behind-the-Scenes-of-our-Article-ebeore/a-a1msk65"> -->
<iframe scrolling="no" src="https://anchor.fm/nsph/embed/episodes/Charity-Children-Want-to-Create-Change---Behind-the-Scenes-of-our-Article-ebeore/a-a1msk65"> -->
</div>
<div class="splitter"></div>

View File

@@ -47,6 +47,16 @@
<!-- import local styling & scripts -->
<script src="/js/global.js"></script>
<link href="/css/global.css" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-68BN6F20LG"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-68BN6F20LG');
</script>
</head>
<link href="/css/article-page.css" rel="stylesheet">

View File

@@ -47,6 +47,16 @@
<!-- import local styling & scripts -->
<script src="/js/global.js"></script>
<link href="/css/global.css" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-68BN6F20LG"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-68BN6F20LG');
</script>
</head>
<link href="/css/article-page.css" rel="stylesheet">

View File

@@ -47,6 +47,16 @@
<!-- import local styling & scripts -->
<script src="/js/global.js"></script>
<link href="/css/global.css" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-68BN6F20LG"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-68BN6F20LG');
</script>
</head>
<link href="/css/article-page.css" rel="stylesheet">

View File

@@ -47,6 +47,16 @@
<!-- import local styling & scripts -->
<script src="/js/global.js"></script>
<link href="/css/global.css" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-68BN6F20LG"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-68BN6F20LG');
</script>
</head>
<link href="/css/article-page.css" rel="stylesheet">

View File

@@ -47,6 +47,16 @@
<!-- import local styling & scripts -->
<script src="/js/global.js"></script>
<link href="/css/global.css" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-68BN6F20LG"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-68BN6F20LG');
</script>
</head>
<link href="/css/article-list.css" rel="stylesheet">

View File

@@ -47,7 +47,7 @@
<url>
<loc>http://localhost:4000/</loc>
<lastmod>2020-03-29</lastmod>
<lastmod>2020-12-24</lastmod>
<changefreq>always</changefreq>
<priority>0.5</priority>
</url>

View File

@@ -54,6 +54,16 @@
<!-- import local styling & scripts -->
<script src="/js/global.js"></script>
<link href="/css/global.css" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-68BN6F20LG"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-68BN6F20LG');
</script>
</head>
<body>

View File

@@ -54,6 +54,16 @@
<!-- import local styling & scripts -->
<script src="/js/global.js"></script>
<link href="/css/global.css" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-68BN6F20LG"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-68BN6F20LG');
</script>
</head>
<body>