add google analytics
This commit is contained in:
@@ -80,3 +80,5 @@ contact.whatsapp = "https://wa.me/255555555555"
|
||||
default.author = "proofy"
|
||||
default.width = 600
|
||||
default.height = 314
|
||||
facebookdomainverification = "1234567890"
|
||||
googlegtagid = "G-1234567890"
|
||||
|
||||
+13
-1
@@ -2,10 +2,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{lang}}">
|
||||
<head>
|
||||
{%- if config.extra.googlegtagid -%}
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id={{config.extra.googlegtagid}}"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', '{{config.extra.googlegtagid}}');
|
||||
</script>
|
||||
{%- endif %}
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="facebook-domain-verification" content="fth0wkvg1tvufsgz8gmmniuqnzgf0e" />
|
||||
{% if config.extra.facebookdomainverification %}
|
||||
<meta name="facebook-domain-verification" content="{{ config.extra.facebookdomainverification }}" />
|
||||
{% endif %}
|
||||
<link rel="icon" type="image/x-icon" sizes="192x192" href="/images/serinty_logo.png" />
|
||||
<link rel="apple-touch-icon" href="/images/serinty_logo.png" />
|
||||
<link rel="stylesheet" href="{{get_url(path='style.css')}}" />
|
||||
|
||||
Reference in New Issue
Block a user