"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.convertReferrerProperty = convertReferrerProperty;
function convertReferrerProperty(payload) {
    const { referrer } = payload;
    if (!referrer)
        return {};
    return {
        $set: { referrer },
        $setOnce: { initial_referrer: referrer }
    };
}
//# sourceMappingURL=referrer.js.map