mirror of
https://github.com/yuzu-emu/shared-bulma-theme
synced 2024-11-23 15:03:47 +00:00
Added Google Analytics + Google Adsense.
This commit is contained in:
parent
bbfb0074a6
commit
6b28ab5855
1 changed files with 11 additions and 0 deletions
|
@ -39,6 +39,17 @@
|
|||
</div>
|
||||
|
||||
<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 }}
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue