fix: type
diff --git a/src/monitor.ts b/src/monitor.ts
index 0aaa68d..bbc5f7f 100644
--- a/src/monitor.ts
+++ b/src/monitor.ts
@@ -36,7 +36,6 @@
     this.customOptions = {
       ...this.customOptions,
       ...configs,
-      segmentId: uuid(),
     };
     this.errors(this.customOptions);
     if (this.customOptions.autoTracePerf) {
diff --git a/src/trace/segment.ts b/src/trace/segment.ts
index 5b41090..040530f 100644
--- a/src/trace/segment.ts
+++ b/src/trace/segment.ts
@@ -33,7 +33,7 @@
       service: options.service,
       spans: [],
       serviceInstance: options.serviceVersion,
-      traceSegmentId: options.segmentId,
+      traceSegmentId: uuid(),
     } as SegmentFeilds;
     const xhrState = event.detail.readyState;
 
diff --git a/src/types.d.ts b/src/types.d.ts
index 06d09bc..1deb6e3 100644
--- a/src/types.d.ts
+++ b/src/types.d.ts
@@ -20,7 +20,6 @@
   service: string;
   pagePath: string;
   serviceVersion: string;
-  segmentId?: string;
   jsErrors?: boolean;
   apiErrors?: boolean;
   resourceErrors?: boolean;