Merged in fix/hotjar-suppress (pull request #3211)

Fix/hotjar suppress

* fix(hotjar): suppress personal info on my pages

* fix(hotjar): suppress more data


Approved-by: Linus Flood
This commit is contained in:
Bianca Widstam
2025-11-27 13:09:37 +00:00
parent a2c517db2c
commit 5ac7e5deac
5 changed files with 14 additions and 12 deletions

View File

@@ -198,7 +198,7 @@ export default function GuestDetails({
</Typography>
{isMemberBooking && user.membership && (
<Typography variant="Body/Paragraph/mdRegular">
<p className={styles.memberNumber}>
<p className={styles.memberNumber} data-hj-suppress>
{intl.formatMessage(
{
id: "myStay.membershipId",
@@ -213,18 +213,18 @@ export default function GuestDetails({
)}
<div className={styles.contactInfoMobile}>
<Typography variant="Body/Supporting text (caption)/smRegular">
<p>{guest.email}</p>
<p data-hj-suppress>{guest.email}</p>
</Typography>
<Typography variant="Body/Supporting text (caption)/smRegular">
<p>{guest.phoneNumber}</p>
<p data-hj-suppress>{guest.phoneNumber}</p>
</Typography>
</div>
<div className={styles.contactInfoDesktop}>
<Typography variant="Body/Paragraph/mdRegular">
<p>{guest.email}</p>
<p data-hj-suppress>{guest.email}</p>
</Typography>
<Typography variant="Body/Paragraph/mdRegular">
<p>{guest.phoneNumber}</p>
<p data-hj-suppress>{guest.phoneNumber}</p>
</Typography>
</div>
</div>

View File

@@ -124,15 +124,15 @@ export default function ModifyContact({
</Typography>
<div className={styles.container}>
<Typography variant="Body/Paragraph/mdBold">
<p>
<p data-hj-suppress>
{getValues("firstName")} {getValues("lastName")}
</p>
</Typography>
<Typography variant="Body/Paragraph/mdRegular">
<p>{getValues("email")}</p>
<p data-hj-suppress>{getValues("email")}</p>
</Typography>
<Typography variant="Body/Paragraph/mdRegular">
<p>{phoneNumber}</p>
<p data-hj-suppress>{phoneNumber}</p>
</Typography>
</div>
</>