Fix analytics

This commit is contained in:
Daniel Flanagan 2020-09-14 11:00:31 -05:00
parent 9b2f6d9ebc
commit b735229725
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
5 changed files with 41 additions and 11 deletions

View file

@ -58,8 +58,3 @@ My laptop when I'm "working".
My desktop when I'm "working". My desktop when I'm "working".
--> -->
+ [Privacy][pp]
[pp]: /privacy

View file

@ -8,7 +8,8 @@ title: Contact
description: "Need to get in touch?" description: "Need to get in touch?"
--- ---
Email me at daniel@lyte.dev or use the form below. Email me at [daniel@lyte.dev][e], [message me on Discord][d], or use the form
below.
<form action="https://formspree.io/daniel@lyte.dev" method="POST"> <form action="https://formspree.io/daniel@lyte.dev" method="POST">
<fieldset> <fieldset>
@ -29,3 +30,6 @@ Email me at daniel@lyte.dev or use the form below.
<input type="hidden" name="_next" value="/thanks" /> <input type="hidden" name="_next" value="/thanks" />
<input type="hidden" name="_subject" value="Contact Form Submission - lytedev" /> <input type="hidden" name="_subject" value="Contact Form Submission - lytedev" />
</form> </form>
[e]: mailto:daniel@lyte.dev
[d]: https://discord.gg/jUCXCYp

View file

@ -6,13 +6,18 @@
</p> </p>
<p> <p>
I live in Kansas City where I help run a small Christian church, raise a
family, and write software for Postmates. I live in Kansas City where I help run <a target="_blank"
href="https://kcrising.church">a small Christian church</a>, raise two
kids with my <a target="_blank"
href="https://www.instagram.com/valerielauren93">awesome wife</a>, and
write software for <a target="_blank"
href="https://postmates.com">Postmates</a>.
</p> </p>
<p> <p>
Occasionally, I write technical blog posts. You can also check out my work Occasionally, I post technical blog posts here.
on <a target="_blank" href="https://github.com/lytedev">GitHub</a>.
</p> </p>
<h2>Latest Posts</h2> <h2>Latest Posts</h2>
@ -24,4 +29,26 @@
<p>Looks like there's nothing here!... yet!</p> <p>Looks like there's nothing here!... yet!</p>
{{ end }} {{ end }}
</ul> </ul>
<h2>More Me</h2>
<ul>
<li>
<a href="https://discord.gg/jUCXCYp">Discord</a>
</li>
<li>
<a href="mailto:daniel@lyte.dev">Email</a>
</li>
<li>
<a href="https://github.com/lytedev">GitHub</a>
</li>
</ul>
<h2>Meta</h2>
<ul>
<li>
<a href="/privacy">Privacy Policy</a>
</li>
</ul>
{{ end }} {{ end }}

View file

@ -35,5 +35,6 @@
</footer> </footer>
{{ end }} {{ end }}
<script defer src="/global.js"></script> <script defer src="/global.js"></script>
<script defer src="//a.lyte.dev/matomo.js"></script>
</body> </body>
</html> </html>

View file

@ -1,5 +1,7 @@
window._paq=[['trackPageView'],['enableLinkTracking'],['setTrackerUrl','//a.lyte.dev/matomo.php'],['setSiteId','1']]
/*
var _paq = window._paq = window._paq || []; var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']); _paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']); _paq.push(['enableLinkTracking']);
(function() { (function() {
@ -9,3 +11,4 @@ _paq.push(['enableLinkTracking']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})(); })();
*/