fix: mixpanel crash

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-11-06 23:00:40 +01:00
parent a9b9ffa029
commit 5b1c582023

View File

@@ -357,7 +357,8 @@ export class MixpanelProvider extends BaseImportProvider<MixpanelRawEvent> {
} else if (
value === undefined &&
key &&
props.utm_source.startsWith(key)
props.utm_source &&
String(props.utm_source).startsWith(key)
) {
event.properties['__query.utm_source'] = String(key);
}