Commit Graph
9 Commits
Author SHA1 Message Date
30c390c19c chore: unify telemetry event sending (#32861)
* chore: unify telemetry event sending

* organize some imports

* remove final useTelemetryProps

* add www telemetry actions typing and docs

* remove gaevents

* fix build

* move telemetry identify into PageTelemetry

* fix telemetry constants import

---------

Co-authored-by: Pamela Chia <pamelachiamayyee@gmail.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-01-22 23:52:32 +08:00
Joshen Lim ed207751ad Update telemetry calls for docs to support PH (#29749)
* Update telemetry calls for docs to support PH

* Update telemetry calls for www to support PH

* Add ts ignore

* Remove use of useRouter for docs

* Add credentials include for www and docs for telemetry calls

* Update TELEMETRY_CONSENT in common for www and docs to reset telemetry opt in preference

* Update common telemetry to use new endpoint and payload, and trigger reset request when opting out of telemetry from ui patterns PrigacySettings

* Fix

* Fix

* Fix

* Fix build issue in docs

* Fix build issue in docs

* I hope this fixes the build issues

* once more...

* Fix

* Add credentials include

* Fix
2024-10-16 15:16:33 +08:00
Francesco Sansalvadore d09a25f742 guard events (#28817)
* guard accepted

* return noop

* refactor root events

* cleanup

* remove debug logs

* npm i

* revert change
2024-08-29 11:45:54 +02:00
Francesco Sansalvadore 82951ed7ff chore: remove browser-session-tabs 2023-05-09 08:56:03 +02:00
Francesco Sansalvadore 0edff93e46 chore: rename telemetryProps 2023-05-09 08:50:57 +02:00
phamhieu 00e76cd00d feat: send page params on telemetry event 2023-05-08 15:29:47 +07:00
phamhieu 5ab4f79a31 feat: send browser session on telemetry call 2023-05-08 09:47:00 +07:00
Francesco Sansalvadore 5e2dca6cc0 chore: update API_URL preview check 2023-05-04 11:47:56 +02:00
Francesco Sansalvadore f13c729923 chore: add analytics event to hp herop 2023-05-03 15:42:56 +02:00