🎨 Add 51la analytics plug-in code.

This commit is contained in:
凡梦星尘
2022-06-12 13:55:58 +08:00
parent 9e1a6e01cf
commit a6820c7d32
4 changed files with 11 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
{{- with .Site.Params.laId }}
<script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js"></script>
<script>LA.init({id: "{{ . }}",ck: "{{ . }}",autoTrack:true})</script>
{{- end }}

View File

@@ -4,4 +4,5 @@
{{- partial "head/googleplus.html" . }}
{{- partial "head/facebook.html" . }}
{{ partial "head/verify.html" . }}
{{- partial "head/style.html" . }}
{{- partial "head/style.html" . }}
{{- partial "head/analytics.html" . }}

View File

@@ -0,0 +1 @@
{{- partial "_thirdparty/analytics/51la.html" . }}