Closed vanch3d closed 1 month ago
Heap integration refactored to accommodate dual consent:
trackingAllowed
property)localStorage
)Note that the user flow around the <head>
-based script is just a glorified hack; it might be changed in the future
See https://hivemq.kanbanize.com/ctrl_board/57/cards/21687/details/
The PR adds integration with the `Heap Analytics user journey tracking framework and a simple "Privacy Settings" consent form.
The integration relies on an
application id
defined for the app (a differentid
forproduction
anddevelopment
environments), to be tracked byHeap
. The implementation expects thisid
to be provided through theVITE_MONITORING_HEAP
environment variables.Different strategies for open source or commercial installations must be investigated to provide the relevant
application id
to the app.Design
application id
is not defined, tracking is not activatedlocalStorage
key containing every supported tracked frameworksAfter