hundreds-lifeguard-65770
12/05/2023, 3:13 PMthankful-gpu-70135
12/11/2023, 7:27 AMable-insurance-93708
12/11/2023, 3:32 PMmost-ocean-90575
12/18/2023, 9:35 AMthankful-gpu-70135
12/19/2023, 3:44 AMthankful-gpu-70135
12/20/2023, 8:50 AMnum_items
is being set to 0 for some reason
• content_ids
is a string, when it should be an array.
Rudderstack is doing some type of automated translation and mapping here that I don't understand.
Looking into the documentation, we aren't doing anything special for our checkout completed events to match these attributes. is that why?
https://www.rudderstack.com/docs/event-spec/ecommerce-events-spec/ordering/#order-completedthankful-gpu-70135
12/21/2023, 5:33 PMSubscription Started
as that is our custom event name for when a purchase happens. We want this exact event name downstream in some of our destinations.
However, it seems that Rudderstack expects us to send order completed type events named as Order Completed
so it is a special event and knows how to translate this to certain destinations.
How should I handle this?
• Should I create a transformation that renames this event to Order Completed
for certain destinations like Facebook Conversion API?
• Should I have our source send 2 copies of the same event, one named Subscription Started
and another as Order Completed
?thankful-gpu-70135
12/25/2023, 7:04 AMuserId
. However, I notice that if i pass in user_id
it also seems to be recognized as user ID automatically. is that expected?thankful-gpu-70135
12/26/2023, 12:54 AMuser_id
. The client.rb file in the ruby SDK has this comment which confirms it:
"@option attrs [String] :user_id The ID for this user in your database
# (optional but you must provide either an anonymous_id
or user_id
)"
For other common traits like a user's last name, should I pass them in as last_name
or as documented here as lastName
? https://www.rudderstack.com/docs/event-spec/standard-events/common-fields/shy-kite-21035
12/29/2023, 9:27 AMshy-kite-21035
12/29/2023, 9:30 AMshy-kite-21035
12/29/2023, 9:32 AMshy-kite-21035
12/29/2023, 9:34 AMthankful-gpu-70135
01/06/2024, 1:40 AMthankful-gpu-70135
01/08/2024, 4:54 PMthankful-gpu-70135
01/08/2024, 5:12 PMthankful-gpu-70135
01/09/2024, 12:12 AM{
"type": "track",
"event": "Upgrade CTA [Discounts] Clicked",
"originalTimestamp": "2024-01-08 23:16:51.589000",
"userId": "5476",
"request_ip": "24.143.104.2",
"context": {
"traits": {
"email": "test@bigcartel.com"
}
}
}
Rudderstack is taking the context.traits and putting them underneath `properties`:
{
"anonymousId": "c3486529-fdb2-4793-93be-95d86a26f8ed",
"event": "webhook_source_event",
"messageId": "d9192b61-f628-4fb4-a4e6-80e2aadb444d",
"properties": {
"context": {
"traits": {
"Email": "test@bigcartel.com"
}
},
"event": "Upgrade CTA [Discounts] Clicked",
"originalTimestamp": "2024-01-08 23:16:51.589000",
"request_ip": "24.143.104.2",
"type": "track",
"userId": "5476"
},
"rudderId": "6b8fa3fa-3a74-49eb-a441-f8d5d2557f97",
"type": "track"
}
thankful-gpu-70135
01/09/2024, 4:15 AMthankful-gpu-70135
01/12/2024, 5:22 AMvictorious-furniture-32554
02/01/2024, 1:21 PMfancy-flag-11171
02/08/2024, 6:34 PMgentle-petabyte-80785
02/12/2024, 4:59 PMgentle-petabyte-80785
02/13/2024, 4:57 PMrough-potato-51348
02/20/2024, 1:40 AMcalm-plumber-84231
02/22/2024, 7:14 PMcalm-plumber-84231
02/22/2024, 7:20 PMshy-kite-21035
02/27/2024, 5:11 PMshy-kite-21035
03/08/2024, 1:00 PMshy-kite-21035
03/08/2024, 1:02 PMthankful-gpu-70135
03/16/2024, 11:46 PMawait
in a javascript transformation but getting the error "SyntaxError: Unexpected reserved keyword"