Merge pull request #282 from alirezarezvani/dev
fix: add GA snippet for Search Console verification
This commit is contained in:
12
docs/overrides/main.html
Normal file
12
docs/overrides/main.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block extrahead %}
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-VHRY2VKY9K"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-VHRY2VKY9K');
|
||||
</script>
|
||||
{% endblock %}
|
||||
@@ -69,9 +69,6 @@ extra:
|
||||
- icon: fontawesome/brands/medium
|
||||
link: https://alirezarezvani.medium.com
|
||||
name: Medium
|
||||
analytics:
|
||||
provider: google
|
||||
property: G-VHRY2VKY9K
|
||||
generator: false
|
||||
|
||||
extra_css:
|
||||
|
||||
Reference in New Issue
Block a user