Changed fbclid and gclid matching
This commit is contained in:
@@ -122,11 +122,11 @@ def main():
|
|||||||
utm_comment_text.append(f"{label}: {val}")
|
utm_comment_text.append(f"{label}: {val}")
|
||||||
utm_comment = " | ".join(utm_comment_text) if utm_comment_text else None
|
utm_comment = " | ".join(utm_comment_text) if utm_comment_text else None
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
hotel_res_id_data = HotelReservationIdData(
|
hotel_res_id_data = HotelReservationIdData(
|
||||||
res_id_type="13",
|
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=None,
|
||||||
res_id_source_context="99tales",
|
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)
|
comments = alpine_bits_factory.create(comments_data, OtaMessageType.RETRIEVE)
|
||||||
|
|
||||||
# ResGlobalInfo
|
# ResGlobalInfo
|
||||||
|
|||||||
Reference in New Issue
Block a user