Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郝肖肖
8 years ago
Commit
2183782e754c82532b58f9211cb487486d8519b5
1 parent
a04c452e
注册埋点
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
public/js/passport/register/password.js
public/js/passport/register/password.js
View file @
2183782
...
...
@@ -14,6 +14,8 @@ var tip = require('../../plugin/tip');
var
trim
=
$
.
trim
;
var
showErrTip
=
tip
.
show
;
require
(
'../../common'
);
api
.
bindEyesEvt
({
status
:
'open'
// 默认眼睛打开
});
...
...
@@ -49,6 +51,16 @@ $btnSure.on('touchstart', function() {
var
res
=
data
.
data
;
if
(
data
.
code
===
200
)
{
// 统计代码:用于统计从哪个渠道注册成功的
if
(
window
.
_yas
&&
window
.
_yas
.
sendCustomInfo
)
{
window
.
_yas
.
sendCustomInfo
({
op
:
'YB_REGISTER_SUCCESS_L'
,
param
:
JSON
.
stringify
({
C_ID
:
window
.
_ChannelVary
[
window
.
cookie
(
'_Channel'
)]
||
1
,
UNION_TYPE
:
window
.
queryString
().
union_type
||
window
.
cookie
(
'unionTypeYas'
)
||
false
})
},
true
);
}
showErrTip
(
'注册成功'
);
location
.
href
=
res
.
href
;
...
...
Please
register
or
login
to post a comment