Skip to content

Commit 9a137da

Browse files
committed
Remove gtags
1 parent 84949e5 commit 9a137da

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

config.env.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
# Logging config
1717
LOG_LEVEL = environ.get("PACKET_LOG_LEVEL", "INFO")
18-
ANALYTICS_ID = environ.get("ANALYTICS_ID", "UA-420696-9")
1918

2019
# OpenID Connect SSO config
2120
REALM = environ.get("PACKET_REALM", "csh")

packet/templates/include/head.html

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,4 @@
9595
});
9696
});
9797
</script>
98-
99-
<!-- Analytics -->
100-
<script async src="https://www.googletagmanager.com/gtag/js?id={{ config['ANALYTICS_ID'] }}"></script>
101-
<script>
102-
window.dataLayer = window.dataLayer || [];
103-
function gtag(){dataLayer.push(arguments);}
104-
gtag('js', new Date());
105-
gtag('set', {'user_id': '{{ info.uid }}' });
106-
gtag('config', '{{ config['ANALYTICS_ID'] }}');
107-
</script>
10898
</head>

0 commit comments

Comments
 (0)