@base44-preview/sdk 0.8.12-pr.65.417dc37 → 0.8.12-pr.65.5df0d45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -174,7 +174,7 @@ function trackReferrerEvent(track) {
|
|
|
174
174
|
if (typeof window === "undefined" || analyticsSharedState.wasReferrerTracked)
|
|
175
175
|
return;
|
|
176
176
|
analyticsSharedState.wasReferrerTracked = true;
|
|
177
|
-
const referrer = document.referrer;
|
|
177
|
+
const referrer = document === null || document === void 0 ? void 0 : document.referrer;
|
|
178
178
|
if (!referrer)
|
|
179
179
|
return;
|
|
180
180
|
track({ eventName: ANALYTICS_REFERRER_EVENT_NAME, properties: { referrer } });
|