Skip to content

Commit

Permalink
nn
Browse files Browse the repository at this point in the history
  • Loading branch information
xueweic committed Sep 27, 2023
1 parent b199529 commit d5e13b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ social:
analytics:
provider : "custom" # false (default), "google", "google-universal", "custom"
google:
tracking_id : G-EKBF27Z2ZJ
google_analytics: G-EKBF27Z2ZJ
tracking_id : G-DRT4XY0NJE
# google_analytics: G-DRT4XY0NJE

# Site Author
author:
Expand Down
4 changes: 2 additions & 2 deletions _includes/analytics-providers/custom.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<!-- start custom analytics snippet -->
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-EKBF27Z2ZJ"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-DRT4XY0NJE"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-EKBF27Z2ZJ');
gtag('config', 'G-DRT4XY0NJE');
</script>
<!-- end custom analytics snippet -->

0 comments on commit d5e13b9

Please sign in to comment.