Export selected campaign activities

Blueshift can export selected campaign activity each time your customer interacts with a marketing message. Depending on the events that you select for export, Blueshift sends a notification each time the event occurs.

For example, when the customer opens, clicks, or unsubscribes to marketing messages, or if marketing messages bounce or get delivered.

Notifications can be sent to Segment.com, mParticle, Mixpanel or a Custom webhook URL. You can use this to update analytics or route the data to other partners you may be using.

  Note

A batch of these notifications is created every 1 minute.

Notification batches are not created if you disable the exporting of campaign activities. Campaign activity updates are not queued and are discarded. You can still download campaign activities as campaign reports.

Export selected campaign activity data

In order to export selected campaign activities, go to Account Settings > Campaign Activity Export tab and set up the required configurations.

account_settings_may23.png

Field Description
Messaging Event Notifications Set to enabled to send selected events in real time to the destination set in the Send Notifications to field.
Send Notifications to

Select the destination to which events data is to be sent. You can set the destination as one of the following options:

  • Custom webhook URL
  • Segment.com
  • mParticle
  • Mixpanel

Webhook URL

The URL to which messaging events details are sent when a new event like open, click, bounce and so on, occurs for a message sent using any campaigns from Blueshift.

Authentication

Select the type of authentication as None or Basic HTTPS.
Username The username if the Authentication is set as Basic HTTPS.
Password The password if the Authentication is set as Basic HTTPS.
Select events you want to export Select the events that you want to export.

Ensure that you Save your settings.

  Note

For SMS channels, the Inbound Message events are available only if you are using Blueshift Full Service SMS offering or if you are using Sinch as your SMS provider. For more information, see 2-way SMS messaging.

This is how the notification content looks if the payload of the webhook callback is batched.

{
"batch": [
    {  
    "action":"open",
    "bucket_uuid":"e211ea94-8da6-43a5-b95b-c21ccfe4568c",
    "campaign_exec_term":"on_going",
    "campaign_id":"0835fbbb-4059-4172-bebc-6aafdaa7b44f",
    "campaign_name":"Abandoned cart",
    "campaign_uuid":"0845bbbb-4059-4172-bebc-6aafdaa7b44f",
    "creative_uuid":"a533de05-1a32-4312-80da-7c5893fbd5a5",
    "customer_id":"12345",
    "email":"username@domain.com",
    "event":"open",
    "experiment_uuid":"ac09f565-9bd9-4f72-b5ea-6a143516f1f4",
    "ip":"198.234.218.145",
    "message_uuid":"3543b535-29ad-4144-a749-2340a5c694f0",
    "trigger_timestamp":"2016-11-22T06:50:14+00:00",
    "trigger_type":"EmailTrigger",
    "trigger_uuid":"577a52f6-0678-4aa2-80f9-f819395aba07",
    "user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:49.0) Gecko/20100101 Firefox/49.0",
    "user_uuid":"9a4df219-e42c-4913-a3d9-917e9fb4dd6d",
    "utm_campaign":"abandoned_cart",
    "utm_content":"product-banner",
    "utm_medium":"email",
    "utm_source":"blueshift",
    "utm_term":null
    },
    ...
    ]
}

  Note

This is a sample JSON and the actual JSON that you receive may look slightly different. Other attribute might also be added to the JSON in the future.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.