fix: mixpanel crash
This commit is contained in:
@@ -357,7 +357,8 @@ export class MixpanelProvider extends BaseImportProvider<MixpanelRawEvent> {
|
|||||||
} else if (
|
} else if (
|
||||||
value === undefined &&
|
value === undefined &&
|
||||||
key &&
|
key &&
|
||||||
props.utm_source.startsWith(key)
|
props.utm_source &&
|
||||||
|
String(props.utm_source).startsWith(key)
|
||||||
) {
|
) {
|
||||||
event.properties['__query.utm_source'] = String(key);
|
event.properties['__query.utm_source'] = String(key);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user