Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
feat: add debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
Wangtaofeng committed Dec 13, 2023
1 parent 646dd99 commit 4a0d4d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/common/Nav/PC/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ const NavPC = (props) => {
<a
className={style.navBaseButtonStyle}
onClick={() => {
console.log('debug_login', cloudUrl)
sendTagEvent({
action: 'click_signin',
})
Expand All @@ -115,6 +116,7 @@ const NavPC = (props) => {
whiteTheme ? style.navSignUpWhiteStyle : '',
)}
onClick={() => {
console.log('debug_signup', cloudUrl)
sendTagEvent({
action: 'click_signup',
})
Expand Down
1 change: 1 addition & 0 deletions src/components/home/Banner/PC/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const BannerPC = (props) => {
<a
className="h-[48px] w-[400px] bg-tech-purple-01 rounded-[24px] px-[32px] py-[10px] font-normal text-white-01 text-center hover:bg-tech-purple-02 active:bg-tech-purple-n-01"
onClick={() => {
console.log('debug_try', cloudUrl)
sendTagEvent({
action: 'click',
category: 'homepage_body_try_cloud_free_click',
Expand Down

0 comments on commit 4a0d4d9

Please sign in to comment.