mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2024-11-22 16:15:38 +01:00
Added Google Analytics + Google Adsense.
This commit is contained in:
parent
bbfb0074a6
commit
6b28ab5855
@ -39,6 +39,17 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="{{ .Site.BaseURL }}/js/script.js"></script>
|
<script src="{{ .Site.BaseURL }}/js/script.js"></script>
|
||||||
|
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-112443698-1"></script>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
gtag('config', '{{ .Site.Params.GoogleAnalyticsTrackingId }}');
|
||||||
|
|
||||||
|
(adsbygoogle = window.adsbygoogle || []).push({});
|
||||||
|
</script>
|
||||||
|
|
||||||
{{- block "scripts" . }}{{- end }}
|
{{- block "scripts" . }}{{- end }}
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user