Skip to content

Commit 74818ad

Browse files
author
Sachin Maheshwari
committed
adding utm source
1 parent 34cba48 commit 74818ad

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

web-assets/js/setupAuth0.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ const authSetup = function () {
3636
const returnAppUrl = qs['retUrl'];
3737
const shouldLogout = qs['logout'];
3838
const regSource = qs['regSource'];
39+
const utmSource= qs['utm_source'];
3940

4041

4142
var auth0 = null;
@@ -113,7 +114,8 @@ const authSetup = function () {
113114
auth0
114115
.loginWithPopup({
115116
redirect_uri: host + '/callback.html',
116-
regSource: regSource
117+
regSource: regSource,
118+
utmSource: utmSource
117119
})
118120
.then(function () {
119121
auth0.isAuthenticated().then(function (isAuthenticated) {

0 commit comments

Comments
 (0)