Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
toduckhanh committed Sep 1, 2023
2 parents c4dc897 + 7715c72 commit 65aa604
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ social:
analytics:
provider : "google-universal" # false (default), "google", "google-universal", "custom"
google:
tracking_id :
tracking_id : G-RP79Z22T6X


# Site Author
Expand Down
11 changes: 10 additions & 1 deletion _includes/analytics.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,13 @@
{% include /analytics-providers/custom.html %}
{% endcase %}

{% endif %}
{% endif %}
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-RP79Z22T6X"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-RP79Z22T6X');
</script>

0 comments on commit 65aa604

Please sign in to comment.