Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

sdk: remove screen view on init

Carl-Gerhard Lindesvärd1b10371940ca
diff --git a/packages/sdk-web/index.ts b/packages/sdk-web/index.ts
index 29aa00200..fb5e25155 100644
--- a/packages/sdk-web/index.ts
+++ b/packages/sdk-web/index.ts
@@ -72,7 +72,6 @@ export class MixanWeb extends Mixan {
...this.properties(),
...(properties ?? {}),
});
- this.screenView();
window.addEventListener('beforeunload', () => {
this.flush();