Attentive SFTP Data Feeds

Attentive SFTP data feeds

Attentive provides two different types of data feeds that are updated daily: General Events and Conversions. These data feeds are available on a nightly basis by 10:00 UTC in an assigned SFTP folder. The file names are configurable using {attn_domain}, {file_type}, and {date_str} as variable values. For example, file names for the General Events data feed and Conversions data feed follow the format {attn_domain}_attentive_{file_type}_{date_str}.csv. The outcome would look something like: whatevercompany_attentive_email_SMS_20230131.csv.

Tip: Contact our White Glove team or your dedicated Client Strategy Manager (CSM) if you'd like an example data feed file for more information.

Note: For compliance purposes, we purge all files after 30 days. After that point, you're no longer able to view or download them.

See the following sections to learn more about each data feed that Attentive can provide.

General Events Data Feed

This file contains events generated from Attentive. The following event types are available:

TypeDefinition
SUBSCRIPTION_OPT_IN_COMPLETEDThe event recorded when a user completes the double opt-in process (reply Y) to become an active SMS subscriber or when a user submits their email through an Attentive-hosted sign-up unit (only applicable for email and SMS sign-up units). This is a sign up-based event.
SUBSCRIPTION_OPTED_OUTThe event recorded when a user unsubscribes from SMS. This event accounts for both SMS and EMAIL subscriptions, and used to be called OPT_OUT.
IMPRESSIONThe event recorded when the Attentive-hosted creative is displayed on your website. This is a sign up-based event.
CLICKThe event recorded when a user submits their phone number and clicks Submit through the Attentive-hosted sign-up unit. This is a sign up-based event.
MESSAGE_RECEIPTThe event recorded when an active SMS subscriber receives an SMS message from Attentive. This is a message-based event.
MESSAGE_LINK_CLICKThe event recorded when an active subscriber clicks the Attentive shortlink within an message. This is a message-based event.

To differentiate between SMS and EMAIL messages, a subscription\_channel column can be added.
CLOSEThe event recorded when an Attentive-hosted creative is closed by a user.
USER_PROPERTY_SETThe event recorded when an attribute or preference is assigned to a subscriber. These attributes may be collected via the Custom Attributes API, via Attentive sign-up units, or within journeys.
PRODUCT_VIEWThe event recorded when the Attentive tag or eCommerce API tracks a product view for a user. These events are collected for all users on your site, not just active subscribers on Attentive.
ADD_TO_CARTThe event recorded when the Attentive tag or eCommerce API tracks an add to cart action for a user. These events are collected for all users on your site, not just active subscribers on Attentive.
PURCHASEThe event recorded when the Attentive tag or eCommerce API tracks a purchase for a user. These events are collected for all users on your site, not just active subscribers on Attentive.
SUBSCRIBER_TAGThe event recorded when a tag is applied to a subscriber as part of segmentation.
SUBSCRIPTION_OPT_IN_STARTEDThe event recorded for the first part of a double opt-in, before the potential subscriber replies 'Y'.
SUBSCRIPTION_ALREADY_SUBSCRIBEDThis event is recorded when a user attempts to sign up, but they were already registered as a subscriber. This will trigger even if their subscriber record is inactive.
EMAIL_DELIVERY_EVENTSThese events are recorded whenever there's an email status update. This event type will include the following sub-events, differentiated within the type column:

EMAIL_DROPPED: Our email send service won't attempt to send the email, for example if the email contains spam content or the recipient is on an unsubscribe list.

EMAIL_PROCESSED: Our email send service received the request to send the email, but hasn't yet decided to send the email.

EMAIL_BLOCKED: Our email send service tried to deliver an email, but the receiving server couldn't or wouldn't accept the message temporarily.

EMAIL_DEFERRED: Our email send service tried to deliver an email, but the email inbox client temporarily rejected it.

EMAIL_BOUNCE: Our email send service tried to deliver an email, but the receiving server couldn't or wouldn't accept mail to this recipient permanently.

EMAIL_DELIVERED: Our email send service successfully landed the email in the recipient's inbox.
EMAIL_MESSAGE_OPENEDThe event recorded when an active email subscriber opens an email sent.
EMAIL_SPAM_REPORTEDThe event recorded when an active email subscriber reports an email as spam.
SUBSCRIPTION_SUPPRESSEDAn email-specific event that occurs automatically when an email bounces. It may be caused by the sender being blocked, an incorrectly formatted email, or an inactive email, among other things. Once this event occurs, we suppress messages to the email address in question unless they're manually unsuppressed.
SUBSCRIPTION_UNSUPPRESSEDThe event recorded when a SUBSCRIPTION\_SUPPRESSED is manually reversed.

Data Feed Field Breakdown

The table below outlines every field we support across all event types.

HeaderRelevant EventsDescription
typeAll typesThe event type from the above list
statusAll typesWhether the subscriber is active
phoneAll typesThe E.164 formatted phone number.
phone_countryAll typesCountry of origin for a phone number
client_idAll typesThe user_id collected from the client's website. This is not an Attentive user ID.

For example: 1234567890
emailAll typesThe format validated email address.
zipcodeAll typesAdditional location info
dateAll typesAuto-formatted timestamp
timestampAll typesThe time (in UTC) at which a given event Type (i.e., a row) occurred.
For example: 2020-04-10T21:55:00+00:00
join_sourceAll events with SUBSCRIBER_ prefixSee Event data field definitions to view descriptions of each available value.
subscription_typeAll events with SUBSCRIBER_ prefixSee Event data field definitions to view descriptions of each available value.
subscription_channelAll subscriber related eventsA type of action that occurred, usually through one of two channels, text or email.

Example: a customer subscribing, a message being sent.
visitor_idAll typestag-generated visitor_id
uuidAll typesAn encoded event ID
totalPURCHASE, CONVERSIONSTotal price for the purchase
sourceAll events with SUBSCRIBER_ prefixHow the event was generated, either DIRECT from a text, DOUBLE_OPT_IN, or CODE.
external_idAll typesA version of subscriber ID that can be shared externally with clients.
raw_external_idAll typesexternal_id is a hashed version of the ID often used by webhooks. This value is the unhashed version, which is useful if you want to match with a webhook event.
order_idPURCHASE, CONVERSIONSID associated with a transaction
quantityPURCHASE, ADD_TO_CART, CONVERSIONSThe number of products in a transaction
couponsAll typesThe coupons associated with a subscriber
product_namePURCHASE, ADD_TO_CART, PRODUCT_VIEWThe name of the product in question
product_skuPURCHASE, ADD_TO_CART, PRODUCT_VIEWThe SKU for the product in question
product_pricePURCHASE, ADD_TO_CART, PRODUCT_VIEWThe price of the product in question
product_idPURCHASE, ADD_TO_CART, PRODUCT_VIEWID can be distinct from SKU if there are multiple variants of a certain product
sub_product_idPURCHASE, ADD_TO_CART, PRODUCT_VIEWThe variant_id of a product
message_idMESSAGE_RECEIPT, MESSAGE_LINK_CLICKThe internal unique identifier for the message.

Example: 123456
message_nameMESSAGE_RECEIPT, MESSAGE_LINK_CLICKThe name of the text message a subscriber received through Attentive.

Example: Free Shipping Extended
message_textMESSAGE_RECEIPT, MESSAGE_LINK_CLICKThe body from the UI.
message_typeMESSAGE_RECEIPT, MESSAGE_LINK_CLICKThe automated message type. See Event data field definitions to view descriptions of each available value.
message_subtypeMESSAGE_RECEIPT, MESSAGE_LINK_CLICKThe automated message subtype. See Event data field definitions to view descriptions of each available value.
message_startMESSAGE_RECEIPT, MESSAGE_LINK_CLICKThe date and time the message started to send.

Example: 12/8/20 16:45
creative_idAll events with SUBSCRIBER_ prefixThe internal unique identifier for the sign-up unit hosted by Attentive.

Example: 12345
creative_nameAll events with SUBSCRIBER_ prefixThe internal name of the Attentive sign-up unit from which a given user subscribed.

Example: Email+SMS Mobile Fullscreen
creative_typeAll events with SUBSCRIBER_ prefixThe automated creative type. See Event data field definitions to view descriptions of each available value.
creative_subtypeAll events with SUBSCRIBER_ prefixThe automated creative subtype. See Event data field definitions to view descriptions of each available value.
property_idUSER_PROPERTY_SETThe Attentive-assigned identifier for a single property_name.

Example: 1234
property_nameUSER_PROPERTY_SETThe client-defined name of the attribute assigned to the subscriber.

Example: First Name
property_value_idUSER_PROPERTY_SETThe Attentive-assigned ID for each pre-defined attribute value. If the attribute type is "Custom Input," then this column will be blank.

Example: 4567
property_valueUSER_PROPERTY_SETThe value of the attribute selected by or assigned to the subscriber.

Example: Jane
message_link_targetMESSAGE_RECEIPT, MESSAGE_LINK_CLICKThe destination of a link in a message
campaign_nameMESSAGE_RECEIPT, MESSAGE_LINK_CLICK, all EMAIL eventsThe name of the campaign associated with a message, if it was part of a campaign.
campaign_typeMESSAGE_RECEIPT, MESSAGE_LINK_CLICK, all EMAIL eventsCampaigns can be sent instantly (type INSTANT) or delayed (SUBSCRIBER_OPTIMIZED_SEND_TIME, SUBSCRIBER_LOCAL_TIME)
message_sidMESSAGE_RECEIPT

Note: Applies only to this event type, not MESSAGE_LINK_CLICK.
External unique identifier provided by SMS/MMS aggregator or carrier upon successful message delivery confirmation.

Note: This ID is specific to the delivery event (MESSAGE_RECEIPT) and isn’t generated by Attentive or associated with link click events (MESSAGE_LINK_CLICK).

Conversions Data Feed

This file contains conversions data, which is calculated based on the behavioral data collection. Each message field shows the message associated with the conversion data.

HeaderDescription
phoneThe E.164 formatted phone number.
emailThe formatted email address
external_idEncoded format of a subscribers external ID.
client_idThe user_id collected from the client's website. This is not an Attentive user ID.

Example: 1234567890
amountThe purchase amount.
uuidAn encoded event ID.
timestampThe time (in UTC) at which a given event Type (i.e., a row) occurred.

Example: 2021-03-30T00:09:07
message_idThe internal unique identifier for the message.

Example: 123456
message_nameThe name of the text message a subscriber received through Attentive.

Example: Free Shipping Extended
message_textThe body from the UI.
message_typeThe automated message type. See Event data field definitions to view descriptions of each available value.
message_subtypeThe automated message subtype. See Event data field definitions to view descriptions of each available value.
order_idThe conversions purchase ID taken from the client's site at time of purchase.
product_skusA list of product skus.
couponAny coupons used for the transaction.
quantityThe number of products in a transaction.

Sample files

Example Attentive General Events

Example Attentive Conversions