Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
5edb7b9c
Commit
5edb7b9c
authored
Nov 05, 2014
by
Renzo Lucioni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Track logistration form toggles and password reset form views
parent
8a0507c9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
lms/static/js/student_account/views/AccessView.js
+10
-2
lms/templates/main.html
+1
-2
No files found.
lms/static/js/student_account/views/AccessView.js
View file @
5edb7b9c
var
edx
=
edx
||
{};
(
function
(
$
,
_
,
Backbone
,
gettext
)
{
(
function
(
$
,
_
,
Backbone
,
gettext
,
analytics
)
{
'use strict'
;
edx
.
student
=
edx
.
student
||
{};
...
...
@@ -125,6 +125,10 @@ var edx = edx || {};
},
resetPassword
:
function
()
{
analytics
.
track
(
'edx.bi.password_reset_form.viewed'
,
{
category
:
'user-engagement'
});
this
.
element
.
hide
(
this
.
$header
);
this
.
element
.
hide
(
$
(
this
.
el
).
find
(
'.form-type'
)
);
this
.
loadForm
(
'reset'
);
...
...
@@ -135,6 +139,10 @@ var edx = edx || {};
$form
=
$
(
'#'
+
type
+
'-form'
),
$anchor
=
$
(
'#'
+
type
+
'-anchor'
);
analytics
.
track
(
'edx.bi.'
+
type
+
'_form.toggled'
,
{
category
:
'user-engagement'
});
if
(
!
this
.
form
.
isLoaded
(
$form
)
)
{
this
.
loadForm
(
type
);
}
...
...
@@ -170,4 +178,4 @@ var edx = edx || {};
}
});
})(
jQuery
,
_
,
Backbone
,
gettext
);
})(
jQuery
,
_
,
Backbone
,
gettext
,
analytics
);
lms/templates/main.html
View file @
5edb7b9c
...
...
@@ -110,6 +110,7 @@
<![endif]-->
<
%
include
file=
"widgets/optimizely.html"
/>
<
%
include
file=
"widgets/segment-io.html"
/>
<meta
name=
"path_prefix"
content=
"${EDX_ROOT_URL}"
>
<meta
name=
"google-site-verification"
content=
"_mipQ4AtZQDNmbtOkwehQDOgCxUUV2fb_C0b6wbiRHY"
/>
...
...
@@ -151,8 +152,6 @@
% endif
<
%
block
name=
"js_extra"
/>
<
%
include
file=
"widgets/segment-io.html"
/>
</body>
</html>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment