Skip to content

Commit 37a0b86

Browse files
glosiermarkzegarelli
andauthored
Explain "convert timestamps" for Customer.io destination actions (#2337)
* add info about timestamps * remove 'we' Co-authored-by: markzegarelli <[email protected]>
1 parent 23606d8 commit 37a0b86

File tree

1 file changed

+9
-0
lines changed
  • src/connections/destinations/catalog/customer-io-actions

1 file changed

+9
-0
lines changed

src/connections/destinations/catalog/customer-io-actions/index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,12 @@ redirect_from:
4040

4141
Keep the following in mind if you plan to move to Customer.io (Actions) from the classic Customer.io destination.
4242
{% include components/actions-map-table.html name="customer-io" %}
43+
44+
## Convert timestamps
45+
46+
When you map some actions, you'll see a **Convert Timestamps** setting. This setting is on by default, and converts traits containing ISO-8601 timestamps to Unix timestamps (seconds since epoch). We strongly suggest that you leave this setting enabled. While we support ISO-8601 timestamps in liquid, you must use Unix timestamps to take advantage of timestamp conditions when segmenting your audience in Customer.io.
47+
48+
For example, if you send an event with a `purchase_time` trait of `2006-01-02T18:04:07Z`, Customer.io converts it to `1136253847`. If the timestamp is *not* in ISO-8601 format, Customer.io doesn't convert it. This avoids inadvertently converting values like phone numbers or IDs.
49+
50+
Customer.io makes an exception for the `created_at` trait, converting ISO-8601 timestamps or any values supported by JavaScript `Date` objects to Unix timestamps.
51+

0 commit comments

Comments
 (0)