浏览代码

Added User Drift Identity

Yoginth 7 年之前
父节点
当前提交
012822660f
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      templates/base/verification.tmpl

+ 4 - 3
templates/base/verification.tmpl

@@ -8,7 +8,6 @@
   gtag('config', 'UA-107259345-2');
 </script>
 
-<!-- Start of Async Drift Code -->
 <script>
 "use strict";
 
@@ -34,5 +33,7 @@
 }();
 drift.SNIPPET_VERSION = '0.3.1';
 drift.load('7xn6zh55rcbx');
-</script>
-<!-- End of Async Drift Code -->
+drift.identify('{{.LoggedUser.FullName}}', {
+  email: '{{.LoggedUser.Email}}'
+});
+</script>