Blueshift exports raw campaign activity data, including actions such as sent, delivered, opened, and more. These campaign activity reports provide valuable insights into tracking and measuring campaign performance.
Campaign activity reports can be exported to:
Export frequency:
Amazon S3: Data is exported in batches every 5 minutes. These are incremental updates written to the designated folder.
Snowflake: Data is batched and exported once daily.
Databricks: Data is batched and exported once daily.
Google BigQuery: Data is batched and exported once daily.
Exported campaign activity data
The following attributes and extended attributes are exported in the campaign activity reports to S3, Snowflake, Databricks, and Google BigQuery.
Note: Blueshift can add new columns in the future, but any new columns will be added at the end.
Attributes
Name | Description | Type |
trigger_timestamp | Time of the action in iso8601 UTC | timestamp |
trigger_type | Type of the trigger
| String |
experiment_uuid | Unique identifier of experiment. | String |
user_uuid | Unique Blueshift generated user uuid for the user. | String |
retailer_customer_id | The customer ID is passed into Blueshift via API or CRM upload. | String |
Email identifier of the customer | String | |
action | User campaign activity action. The action is set to attribution when a goal event gets attributed to a campaign. Possible values:
| String |
event | The event name for event triggered campaigns or attribution:
| String |
extended_attributes | JSON encoded metadata for the message, including “message_uuid,” uniquely tracks all user actions to a send. | String |
trigger_uuid | UUID of the Trigger step in the journey (example: Send an email). | String |
campaign_uuid | UUID of the Campaign. | String |
merged_from_user_uuid | Old user UUID, if the user was merged to another user | String |
creative_uuid | Template UUID. | String |
uuid | UUID for this action | String |
execution_key | Campaign execution time | timestamp |
message_uuid | UUID of the message sent | String |
phone_number | The customer’s phone number which is used for SMS and WhatsApp communication. | String |
custom_user_identities | JSON object containing additional user identifiers like Salesforce ID or Magento ID. | JSON |
Extended attributes
The extended attributes field in a report includes metadata of a campaign activity.
A campaign activity can be a message that is sent, a message that bounces, spam reports, etc. You can use this additional information in your attribution models.
In addition, extended attributes also include:
Additional parameters that you specify in your campaign
Certain attributes specific to an adapter or a channel, such as IP addresses for Sparkpost and Sendgrid
Each campaign type has attributes added in the report’s extended attributes field.
The rendered attributes are available only for ‘send’ events. The raw values are available for all events.
The following table provides the extended attributes for the following types of campaigns:
One Time
Recurring
Segment triggered
Event-triggered
API triggered
Note: For event-triggered campaigns, the extended attributes can also show the whitelisted event attributes. Please reach out to [email protected] to enable this feature.
Parameter | Available in |
account_algorithm_uuid | Email, SMS, WhatsApp, Push, In-app, Cloud-app |
campaign_exec_term | Email, SMS, WhatsApp, Push, In-app, Cloud-app |
campaign_tags
The report contains the entry "Business_Unit:Marketplace|Country:AUS,CAN,US". | Email, SMS, WhatsApp, Push, In-app, Cloud-app |
trigger_name | Email, SMS, WhatsApp, Push, In-app, Cloud-app |
action_type | — |
message_uuid | Email, SMS, WhatsApp, Push, In-app, Cloud-app |
transaction_uuid | Email, SMS, Push |
product_uuid | |
bsft_click_uuid | Email, SMS, WhatsApp |
user_agent | Email, SMS, Push |
mime_type | |
url | Email, SMS, WhatsApp |
utm_source | Email, In-app |
utm_campaign | Email, SMS, WhatsApp, Push, In-app, Cloud-app |
utm_medium | Email, SMS, WhatsApp, Push, In-app, Cloud-app |
utm_content | Email, SMS, WhatsApp, Push, In-app, Cloud-app |
utm_term | Email, SMS, WhatsApp, Push, In-app, Cloud-app |
sending_ip | Email, SMS |
ip_pool | |
sending_domain | |
adapter_uuid | |
subaccount_id | |
friendly_from | |
execution_key | Email, In-app, Cloud-app |
product_ids | |
products | |
bsft_link_url | Email, SMS, WhatsApp |
cloud_app | Cloud-app |
template | In-app, Cloud-app |
Recommendations | Email, SMS, WhatsApp, Push, In-app, Cloud-app |
clk_elmt | In-app |
is_global
| Email, SMS, WhatsApp, Push, In-app, Cloud-app |
clk_url | In-app |
preheader_text | |
rendered_preheader_text | |
email_subject | |
rendered_email_subject | |
from_name | |
rendered_from_name | |
from_address | |
rendered_from_address | |
reply_to_address | |
rendered_reply_to_address | |
sms_type | SMS |
sender_from | SMS |
rendered_sender_from | SMS |
sms_message | SMS |
sms_parts | SMS |
sms_subject | SMS |
media_url | SMS |
click_type
| |
opened_by For emails (refer to the note), it can have one of the following values:
For in-app messages, it can have one of the following values:
| Email, In-app |
clicked_by It can have one of the following values:
| Email, SMS |
cf_bot_score | Email, SMS |
bot_reason | Email, SMS |
ja3 | Email, SMS |
ja4 | Email, SMS |
unsubscribe_source
Available for "unsubscribe" events only. It can have one of the following values:
| |
subscription_group_id | Email, SMS, Push, In-app |
subscription_group_subscribed | Email, SMS, Push, In-app |
price_per_message | SMS |
currency | SMS |
bsft_template_version | |
bsft_link_index | |
phone_number | Email, SMS, WhatsApp, Push, In-app, Cloud-app |
custom_user_identities | Email, SMS, WhatsApp, Push, In-app, Cloud-app |
link_position_id |
Understanding the user_agent attribute in email open events
The user_agent attribute in an email open event provides details about the email client used to open the email. It helps determine whether the email was opened by a user, prefetch system, or a proxy server.
How user_agent data is returned
User open: The full
user_agentstring is returned, including details about the operating system, browser, and version.
Example:Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0Prefetch open: Only the user agent information is returned, without full device details.
Example:Mozilla/5.0Proxy open: No
user_agentdata is returned.
The User-Agent request header is a characteristic string that servers and network peers use to identify the application, operating system, vendor, and/or version of the requesting client.
Sample data
Here’s some sample data:
Field | Example 1 | Example 2 |
trigger_timestamp | 2018-06-21T07:08:18+00:00 | 2018-06-21T07:08:52+00:00 |
trigger_type | EmailTrigger | EmailTrigger |
experiment_uuid | 153811c3-16b5-4ca9-9ba5-6a0e50a606b2 | 153811c3-16b5-4ca9-9ba5-6a0e50a606b2 |
user_uuid | 69d56862-049f-405d-b162-ea457fd11ea8 | 69d56862-049f-405d-b162-ea457fd11ea8 |
retailer_customer_id | C12345 | C12345 |
action | sent | delivered |
event | ||
extended_attributes | {““campaign_exec_term””: ““transactional””, | {""message_uuid"":""8e5b8e0f-9a7a-48ea-9e49-8913ffe20334"", |
trigger_uuid | 1244a2ad-f23d-4422-85b3-be2954eb11b6 | 1244a2ad-f23d-4422-85b3-be2954eb11b6 |
campaign_uuid | a20a33f7-8e05-4742-bc75-60ffe6da7d2c | a20a33f7-8e05-4742-bc75-60ffe6da7d2c |
merged_from_user_uuid | ||
creative_uuid | c8b47d68-db9b-4d71-b198-9e9f6fa94f98 | c8b47d68-db9b-4d71-b198-9e9f6fa94f98 |
uuid | 1e5b8e0f-9a7a-48ea-9e49-8913ffe20334 | 4293e8a4-d167-47e0-a4cc-883c176824d8 |
execution_key | 2018-06-21T07:00:00Z | 2018-06-21T07:00:00Z |
message_uuid | 8e5b8e0f-9a7a-48ea-9e49-8913ffe20334 | 8e5b8e0f-9a7a-48ea-9e49-8913ffe20334 |
phone_number | +11234567890 | 001234567890 |
custom_user_identities | {"shopify_id": "SH12345", "loyalty_id": "LY98765"} | {"zendesk_id": "ZD45678", "hubspot_id": "HS87654"} |
subscription_groups | { "subscription_group_id": "newsletter", "subscription_group_subscribed": true } | { "subscription_groups": [ { "id": "newsletter", "subscribed": true }, { "id": "promotions", "subscribed": false } ] } |
