|
@@ -108,7 +108,19 @@ const clickShare = (item) => {
|
|
|
})
|
|
|
chrome.tabs.create({
|
|
|
url: item.redirectPath
|
|
|
- })
|
|
|
+ });
|
|
|
+ let strArr = item.treasureInviteUrl.split('/');
|
|
|
+ let channelName = window.atob(strArr[strArr.length-1]);
|
|
|
+ Report.reportLog({
|
|
|
+ businessType: Report.businessType.buttonClick,
|
|
|
+ pageSource: Report.pageSource.inviteFriendsPage,
|
|
|
+ objectType: Report.objectType.channelButton,
|
|
|
+ shareLinkId: state.invite_code,
|
|
|
+ myShareLinkId: state.detail.inviteCopyUrl,
|
|
|
+ currentInvitedNum: state.detail.inviteCount,
|
|
|
+ }, {
|
|
|
+ 'channel-name': channelName
|
|
|
+ });
|
|
|
}
|
|
|
|
|
|
|