mirror of
https://github.com/conventional-commits/conventionalcommits.org.git
synced 2025-08-23 06:18:38 +00:00
feat: add google analytics (#227)
This commit is contained in:
parent
8937421aa1
commit
1a18c01591
@ -1,3 +1,14 @@
|
|||||||
|
<head>
|
||||||
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-2173276-5"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
|
gtag('config', 'UA-2173276-5');
|
||||||
|
</script>
|
||||||
|
|
||||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/style.css">
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/style.css">
|
||||||
|
|
||||||
<title>{{ .Param "Title" }}</title>
|
<title>{{ .Param "Title" }}</title>
|
||||||
@ -15,3 +26,4 @@
|
|||||||
<meta property="og:url" content="{{ .Permalink }}"/>
|
<meta property="og:url" content="{{ .Permalink }}"/>
|
||||||
<meta property="og:description" content="{{ .Param "Description" }}"/>
|
<meta property="og:description" content="{{ .Param "Description" }}"/>
|
||||||
<meta property="og:site_name" content="{{ .Param "Title" }}"/>
|
<meta property="og:site_name" content="{{ .Param "Title" }}"/>
|
||||||
|
</head>
|
||||||
|
Loading…
Reference in New Issue
Block a user