Add Google Analytics to learn.wpcarro.dev

Ten people have visited https://learn.wpcarro.dev, but no one has emailed me
yet. I'd like to learn more about how people are using my website.
This commit is contained in:
William Carroll 2020-03-10 15:00:41 +00:00
parent c06d93a275
commit d408915cfd

View file

@ -55,5 +55,15 @@
<footer class="mb-8"> <footer class="mb-8">
<p class="text-center">Why delay? Start today.</p> <p class="text-center">Why delay? Start today.</p>
</footer> </footer>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-160226702-1">
</script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-160226702-1');
</script>
</body> </body>
</html> </html>