NEAR-DevHub / neardevhub-contract

DevHub Portal Product Contract (Hosted on NEAR Blockchain) – Includes other instances (e.g. Infrastructure, Events)
https://neardevhub.org
19 stars 15 forks source link

feat: init posthog #147

Closed Tguntenaar closed 2 months ago

Tguntenaar commented 2 months ago

Concerning the tracking with Posthog.

@petersalomonsen Initializing Posthog within the web4_get function isn't feasible as it would require embedding the API key in the code, which would then be visible on GitHub. This approach compromises security by exposing the key. When handled in a gh secret it also prevents local reproduction of the contract.

Wanted to post this somewhere but will close it immediatly.