1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-18 22:05:29 -04:00

send event to analytics on theme toggle

This commit is contained in:
2020-04-30 09:42:00 -04:00
parent 35bfbb517c
commit dead391723
6 changed files with 62 additions and 54 deletions

View File

@@ -9,3 +9,4 @@
{{ partialCached "head/webmention" . -}}
{{ partial "head/canonical" . -}}
{{ partial "head/schema" . -}}
{{ partial "scripts/simple_analytics_events" . -}}

View File

@@ -0,0 +1,2 @@
<script async defer src="https://scripts.simpleanalyticscdn.com/latest.js"></script>
<noscript><img src="https://queue.simpleanalyticscdn.com/noscript.gif" alt=""/></noscript>

View File

@@ -0,0 +1 @@
<script>window.sa_event=window.sa_event||function(){a=[].slice.call(arguments);sa_event.q?sa_event.q.push(a):sa_event.q=[a]};</script>