summaryrefslogtreecommitdiffstats
path: root/web/templates
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-09-23 14:04:08 -0700
committerCorey Hulen <corey@hulen.com>2015-09-23 14:04:08 -0700
commitd792745f54463772472bec23b0caaae703eaddb3 (patch)
treed98c966e0f273c5a6052e3c154bd7d75d091aa27 /web/templates
parent0170cfe604e6cfb430be0b6181243ca85a9ab27b (diff)
parentccf2e6e4e74fc249a094c2c27de675644f1065cb (diff)
downloadchat-d792745f54463772472bec23b0caaae703eaddb3.tar.gz
chat-d792745f54463772472bec23b0caaae703eaddb3.tar.bz2
chat-d792745f54463772472bec23b0caaae703eaddb3.zip
Merge pull request #752 from mattermost/PLT-11-email
PLT-11 Cleaned up config file and added ability to makes changes from the admin console.
Diffstat (limited to 'web/templates')
-rw-r--r--web/templates/head.html23
1 files changed, 0 insertions, 23 deletions
diff --git a/web/templates/head.html b/web/templates/head.html
index bbd4c2f1a..e1f2fe43f 100644
--- a/web/templates/head.html
+++ b/web/templates/head.html
@@ -74,28 +74,5 @@
analytics.track = function(){};
}
</script>
- <!-- Snowplow starts plowing -->
- <script type="text/javascript">
- if ('{{ .Props.AnalyticsUrl }}'.trim() !== '') {
- ;(function(p,l,o,w,i,n,g){if(!p[i]){p.GlobalSnowplowNamespace=p.GlobalSnowplowNamespace||[];
- p.GlobalSnowplowNamespace.push(i);p[i]=function(){(p[i].q=p[i].q||[]).push(arguments)
- };p[i].q=p[i].q||[];n=l.createElement(o);g=l.getElementsByTagName(o)[0];n.async=1;
- n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","//d1fc8wv8zag5ca.cloudfront.net/2.4.2/sp.js","snowplow"));
-
- window.snowplow('newTracker', 'cf', '{{ .Props.AnalyticsUrl }}', {
- appId: window.config.SiteName
- });
-
- var user = window.UserStore.getCurrentUser(true);
- if (user) {
- window.snowplow('setUserId', user.id);
- }
-
- window.snowplow('trackPageView');
- } else {
- window.snowplow = function(){};
- }
- </script>
- <!-- Snowplow stops plowing -->
</head>
{{end}}