mirror of
https://github.com/softinio/softinio.com.git
synced 2025-08-31 17:26:42 -07:00
Revert "add matomo"
This commit is contained in:
parent
76f3708a1b
commit
103355eaa7
2 changed files with 0 additions and 25 deletions
|
@ -1,24 +0,0 @@
|
|||
{{- with .Site.Params.ga_analytics }}
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id={{ . }}"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', '{{ . }}');
|
||||
</script>
|
||||
{{- end -}}
|
||||
{{- with .Site.Params.enableMatomo }}
|
||||
<script>
|
||||
var _paq = window._paq = window._paq || [];
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
var u="//softinio.dev/matomo/";
|
||||
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
||||
_paq.push(['setSiteId', '1']);
|
||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
</script>
|
||||
{{- end -}}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue