Skip to content

Commit

Permalink
Updating Google Analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
jkkummerfeld committed Oct 24, 2022
1 parent d343467 commit eebd5ab
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
title: Text-to-SQL Datasets and Baselines
description: A collection of datasets that pair questions with SQL queries.
show_downloads: true
google_analytics: UA-19179423-2
google_analytics: G-JVV2VPL5CX
theme: jekyll-theme-cayman
11 changes: 11 additions & 0 deletions _includes/head-custom-google-analytics.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{% if site.google_analytics %}
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', '{{ site.google_analytics }}');
</script>
{% endif %}

0 comments on commit eebd5ab

Please sign in to comment.