diff --git a/services/collector/src/dto/track-view.dto.ts b/services/collector/src/dto/track-view.dto.ts index ebd1d8f..62a37cb 100644 --- a/services/collector/src/dto/track-view.dto.ts +++ b/services/collector/src/dto/track-view.dto.ts @@ -56,6 +56,11 @@ export class TrackViewDto { @IsString() sessionId!: string; + @ApiProperty({ description: 'Original domain the visitor used to reach the site', required: false }) + @IsOptional() + @IsString() + domain?: string; + @ApiProperty({ description: 'Additional metadata', required: false }) @IsOptional() @IsObject()