Changed fbclid and gclid matching

This commit is contained in:
Jonas Linter
2025-09-27 17:00:19 +02:00
parent 553fcc7a24
commit 5fb313d4cc

View File

@@ -122,11 +122,11 @@ def main():
utm_comment_text.append(f"{label}: {val}")
utm_comment = " | ".join(utm_comment_text) if utm_comment_text else None
hotel_res_id_data = HotelReservationIdData(
res_id_type="13",
res_id_value=None,
res_id_value=data.get("field:fbclid") or data.get("field:gclid"),
res_id_source=None,
res_id_source_context="99tales",
)
@@ -156,12 +156,9 @@ def main():
)],
)
comment2 = CommentData(
name= ab.CommentName2.ADDITIONAL_INFO,
text=utm_comment or "",
)
comments_data = CommentsData(comments=[comment, comment2])
comments_data = CommentsData(comments=[comment])
comments = alpine_bits_factory.create(comments_data, OtaMessageType.RETRIEVE)
# ResGlobalInfo