mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-23 18:10:52 +02:00
add pirsch tracker
This commit is contained in:
parent
44e75541f7
commit
288e8fcfa3
2 changed files with 6 additions and 0 deletions
|
@ -2,3 +2,4 @@
|
|||
{{ partial "analytics/google_tag_manager" . }}
|
||||
{{ partial "analytics/microsoft_clarity" . }}
|
||||
{{ partial "analytics/baidu_tongji" . }}
|
||||
{{ partial "analytics/pirsch" . }}
|
5
modules/blox-seo/layouts/partials/analytics/pirsch.html
Normal file
5
modules/blox-seo/layouts/partials/analytics/pirsch.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
{{ $pirsch := site.Params.marketing.analytics.pirsch | default "" }}
|
||||
|
||||
{{ if hugo.IsProduction | and $pirsch }}
|
||||
<script defer src="https://api.pirsch.io/pa.js" id="pianjs" data-code="{{$pirsch}}"></script>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue