This is an automated email from the ASF dual-hosted git repository.
lresende pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-toree-website.git
The following commit(s) were added to refs/heads/master by this push:
new 9f55195 TOREE-559 Remove Google Analytics from the Toree Website (#12)
9f55195 is described below
commit 9f551950736fa518228d0b89bee49aba8d1161c1
Author: Niall Pemberton <[email protected]>
AuthorDate: Mon Jan 20 00:26:16 2025 +0000
TOREE-559 Remove Google Analytics from the Toree Website (#12)
Co-authored-by: Niall Pemberton <[email protected]>
---
site/_includes/JB/analytics | 2 --
site/_includes/JB/analytics-providers/google-universal | 9 ---------
2 files changed, 11 deletions(-)
diff --git a/site/_includes/JB/analytics b/site/_includes/JB/analytics
index cbada67..0499df9 100644
--- a/site/_includes/JB/analytics
+++ b/site/_includes/JB/analytics
@@ -3,8 +3,6 @@
{% case site.analytics_provider %}
{% when "google_classic" %}
{% include JB/analytics-providers/google-classic %}
-{% when "google_universal" %}
- {% include JB/analytics-providers/google-universal %}
{% when "getclicky" %}
{% include JB/analytics-providers/getclicky %}
{% when "mixpanel" %}
diff --git a/site/_includes/JB/analytics-providers/google-universal
b/site/_includes/JB/analytics-providers/google-universal
deleted file mode 100644
index badfa3b..0000000
--- a/site/_includes/JB/analytics-providers/google-universal
+++ /dev/null
@@ -1,9 +0,0 @@
-<!-- Global site tag (gtag.js) - Google Analytics -->
-<script async src="https://www.googletagmanager.com/gtag/js?id={{
site.analytics_google_universal_tracking_id }}"></script>
-<script>
- window.dataLayer = window.dataLayer || [];
- function gtag(){dataLayer.push(arguments);}
- gtag('js', new Date());
-
- gtag('config', '{{ site.analytics_google_universal_tracking_id }}');
-</script>