summaryrefslogtreecommitdiffstats
path: root/web/templates/head.html
diff options
context:
space:
mode:
Diffstat (limited to 'web/templates/head.html')
-rw-r--r--web/templates/head.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/web/templates/head.html b/web/templates/head.html
index 5b423d487..d14340998 100644
--- a/web/templates/head.html
+++ b/web/templates/head.html
@@ -42,6 +42,9 @@
}
config.SiteName = '{{ .SiteName }}';
</script>
+
+ <script src="/static/js/bundle.js"></script>
+
<script>
if (config.LogglyWriteKey != null && config.LogglyWriteKey !== "") {
var _LTracker = _LTracker || [];
@@ -59,7 +62,7 @@
var user = window.UserStore.getCurrentUser(true);
if (user) {
analytics.identify(user.id, {
- name: user.full_name,
+ name: user.nickname,
email: user.email,
createdAt: user.create_at,
username: user.username,
@@ -101,7 +104,5 @@
}
</script>
<!-- Snowplow stops plowing -->
-
- <script src="/static/js/bundle.js"></script>
</head>
{{end}}