Set up HumanBehavior SDK with Angular applications
src/environments/environment.ts
:
src/environments/environment.prod.ts
:
environment.ts
with environment.prod.ts
during production builds. This is the standard Angular way to handle environment variables.humanbehavior-js
package.isPlatformBrowser
and runOutsideAngular
HumanBehaviorTracker.init
is called as init(apiKey, ingestionUrl?, options?)
@rrweb/types@2.0.0-alpha.17
rrweb-snapshot@2.0.0-alpha.17