Skip to content

Commit

Permalink
[#257] Try to create custom dimension to track click on registration …
Browse files Browse the repository at this point in the history
…email
  • Loading branch information
wayangalihpratama committed Aug 20, 2024
1 parent d28a732 commit 0712a6e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions frontend/src/pages/login/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ const Login = () => {
const [isResetPassword, setIsResetPassword] = useState(false);

const trackEventOnClickLivingIncomeEmail = () => {
CustomEvent.trackEvent(
"Registration",
"Click",
"IDC Measurement unit Frequency on Living income email"
);
CustomEvent.trackEvent({
category: "Registration",
action: "Click",
name: "Clicking on Living income email for registration",
value: 1,
dimension1: "Clicked",
});
};

const onFinish = (values) => {
Expand Down

0 comments on commit 0712a6e

Please sign in to comment.