ConnectorAction
ConnectorAction
A representation of a Connector Action, from AudienceStream Trace (with some action and connector information added for convenience).
There are five types (the entryType
property contains the type as a string):
executed_actions
(actually executed, will have an is_success boolean)queued_actions
(batched items, should be immediately followed by an executed event in Trace)queued_delayed_actions
(delayed actions, Trace will not give you much detail)triggered_actions
(all actions that were triggered, regardless of how/if they immediately executed or were queued/delayed)not_triggered_actions
(blocked for some reason, will have a 'not_triggered_reason' string)
Example:
{
"action": "685a2176-51e0-4836-de27-55073fc8c7ef",
"action_params": {
"Action Type": "webhook.send_visitor",
"Visitor ID": "__tealium-solutions_test-example__5034_000000000000000075486438797653950__",
"method": "POST",
"url": "",
"body_content_type": "APPLICATION_JSON",
"pretty_print": "checked",
"HTTP Request URL": "POST ",
"HTTP Request Headers": "Content-Type: application/json; charset=UTF-8",
"HTTP Request Body": "{\"metrics\":{\"Weeks since first visit\":1.0,\"Lifetime visit count\":1.0,\"Average visit duration in minutes\":1.32,\"Lifetime event count\":17.0,\"Total direct visits\":1.0,\"Total time spent on site in minutes\":1.32,\"Counter - Current Value [num]\":42.0,\"Average visits per week\":1.0},\"dates\":{\"Last visit\":1593610329000,\"last_visit_start_ts\":1593610250000,\"audience_tealium-solutions_test-example_101_count_ts\":1593610320746,\"First visit\":1593610250000,\"audience_tealium-solutions_test-example_102_count_ts\":1593610282090},\"properties\":{\"Lifetime browser versions used (favorite)\":\"other\",\"Lifetime browser types used (favorite)\":\"other\",\"profile\":\"test-example\",\"visitor_id\":\"__tealium-solutions_test-example__5034_000000000000000075486438797653950__\",\"Lifetime devices used (favorite)\":\"Mac desktop\",\"Lifetime platforms used (favorite)\":\"browser\",\"Last event URL\":\"https://solutions.tealium.net/hosted/webdriver-testing/standard-integration-test.html\",\"account\":\"tealium-solutions\",\"Lifetime operating systems used (favorite)\":\"other\"},\"replaces\":[\"import_spoof_38011963487653830\",\"01730a92a1e1001686f32657805c03079005507100ac2\"],\"audiences\":[\"Counter at least 40\"],\"badges\":[\"Not Live On Site\"],\"metric_sets\":{\"Lifetime operating systems used\":{\"other\":1.0,\"Mac OS X\":1.0},\"Lifetime devices used\":{\"Mac desktop\":1.0,\"other\":1.0},\"Lifetime browser versions used\":{\"other\":1.0,\"Chrome\":1.0},\"Lifetime browser types used\":{\"other\":1.0,\"Chrome\":1.0},\"Lifetime platforms used\":{\"browser\":1.0}},\"creation_ts\":1593610318000,\"_id\":\"__tealium-solutions_test-example__5034_000000000000000075486438797653950__\",\"expire_at\":1601386318000,\"secondary_ids\":{\"5034\":\"000000000000000075486438797653950\"},\"_dctrace\":[\"eu-central-1_visitor_processor_i-06f3e219cb66f43c4\"],\"new_visitor\":true,\"_trace_message_\":{\"account\":\"tealium-solutions\",\"profile\":\"test-example\",\"trace_id\":\"DCFhysPi\",\"visitor_id\":\"01730a92a1e1001686f32657805c03079005507100ac2\",\"event_id\":\"e3d6e6ac-56bb-4939-8098-0e06e2c34139\",\"event_time\":1593610329000},\"audiences_joined_at\":{\"tealium-solutions_test-example_101\":1593610320746}}",
"HTTP Request Time": "370 ms",
"HTTP Response Status": "200",
"HTTP Response Content": "{\"args\":{},\"data\":{\"metrics\":{\"Weeks since first visit\":1,\"Lifetime visit count\":1,\"Average visit duration in minutes\":1.32,\"Lifetime event count\":17,\"Total direct visits\":1,\"Total time spent on site in minutes\":1.32,\"Counter - Current Value [num]\":42,\"Average visits per week\":1},\"dates\":{\"Last visit\":1593610329000,\"last_visit_start_ts\":1593610250000,\"audience_tealium-solutions_test-example_101_count_ts\":1593610320746,\"First visit\":1593610250000,\"audience_tealium-solutions_test-example_102_count_ts\":1593610282090},\"properties\":{\"Lifetime browser versions used (favorite)\":\"other\",\"Lifetime browser types used (favorite)\":\"other\",\"profile\":\"test-example\",\"visitor_id\":\"__tealium-solutions_test-example__5034_000000000000000075486438797653950__\",\"Lifetime devices used (favorite)\":\"Mac desktop\",\"Lifetime platforms used (favorite)\":\"browser\",\"Last event URL\":\"https://solutions.tealium.net/hosted/webdriver-testing/standard-integration-test.html\",\"account\":\"tealium-solutions\",\"Lifetime operating systems used (favorite)\":\"other\"},\"replaces\":[\"import_spoof_38011963487653830\",\"01730a92a1e1001686f32657805c03079005507100ac2\"],\"audiences\":[\"Counter at least 40\"],\"badges\":[\"Not Live On Site\"],\"metric_sets\":{\"Lifetime operating systems used\":{\"other\":1,\"Mac OS X\":1},\"Lifetime devices used\":{\"Mac desktop\":1,\"other\":1},\"Lifetime browser versions used\":{\"other\":1,\"Chrome\":1},\"Lifetime browser types used\":{\"other\":1,\"Chrome\":1},\"Lifetime platforms used\":{\"browser\":1}},\"creation_ts\":1593610318000,\"_id\":\"__tealium-solutions_test-example__5034_000000000000000075486438797653950__\",\"expire_at\":1601386318000,\"secondary_ids\":{\"5034\":\"000000000000000075486438797653950\"},\"_dctrace\":[\"eu-central-1_visitor_processor_i-06f3e219cb66f43c4\"],\"new_visitor\":true,\"_trace_message_\":{\"account\":\"tealium-solutions\",\"profile\":\"test-example\",\"trace_id\":\"DCFhysPi\",\"visitor_id\":\"01730a92a1e1001686f32657805c03079005507100ac2\",\"event_id\":\"e3d6e6ac-56bb-4939-8098-0e06e2c34139\",\"event_time\":1593610329000},\"audiences_joined_at\":{\"tealium-solutions_test-example_101\":1593610320746}},\"files\":{},\"form\":{},\"headers\":{\"x-forwarded-proto\":\"https\",\"x-forwarded-port\":\"443\",\"host\":\"postman-echo.com\",\"x-amzn-trace-id\":\"Root=1-5efc906b-199ec0983b0b2ab2e777051c\",\"content-length\":\"2076\",\"content-type\":\"application/json; charset=UTF-8\",\"user-agent\":\"Apache-HttpClient/4.5.5 (Java/1.8.0_131)\",\"accept-encoding\":\"gzip,deflate\"},\"json\":{\"metrics\":{\"Weeks since first visit\":1,\"Lifetime visit count\":1,\"Average visit duration in minutes\":1.32,\"Lifetime event count\":17,\"Total direct visits\":1,\"Total time spent on site in minutes\":1.32,\"Counter - Current Value [num]\":42,\"Average visits per week\":1},\"dates\":{\"Last visit\":1593610329000,\"last_visit_start_ts\":1593610250000,\"audience_tealium-solutions_test-example_101_count_ts\":1593610320746,\"First visit\":1593610250000,\"audience_tealium-solutions_test-example_102_count_ts\":1593610282090},\"properties\":{\"Lifetime browser versions used (favorite)\":\"other\",\"Lifetime browser types used (favorite)\":\"other\",\"profile\":\"test-example\",\"visitor_id\":\"__tealium-solutions_test-example__5034_000000000000000075486438797653950__\",\"Lifetime devices used (favorite)\":\"Mac desktop\",\"Lifetime platforms used (favorite)\":\"browser\",\"Last event URL\":\"https://solutions.tealium.net/hosted/webdriver-testing/standard-integration-test.html\",\"account\":\"tealium-solutions\",\"Lifetime operating systems used (favorite)\":\"other\"},\"replaces\":[\"import_spoof_38011963487653830\",\"01730a92a1e1001686f32657805c03079005507100ac2\"],\"audiences\":[\"Counter at least 40\"],\"badges\":[\"Not Live On Site\"],\"metric_sets\":{\"Lifetime operating systems used\":{\"other\":1,\"Mac OS X\":1},\"Lifetime devices used\":{\"Mac desktop\":1,\"other\":1},\"Lifetime browser versions used\":{\"other\":1,\"Chrome\":1},\"Lifetime browser types used\":{\"other\":1,\"Chrome\":1},\"Lifetime platforms used\":{\"browser\":1}},\"creation_ts\":1593610318000,\"_id\":\"__tealium-solutions_test-example__5034_000000000000000075486438797653950__\",\"expire_at\":1601386318000,\"secondary_ids\":{\"5034\":\"000000000000000075486438797653950\"},\"_dctrace\":[\"eu-central-1_visitor_processor_i-06f3e219cb66f43c4\"],\"new_visitor\":true,\"_trace_message_\":{\"account\":\"tealium-solutions\",\"profile\":\"test-example\",\"trace_id\":\"DCFhysPi\",\"visitor_id\":\"01730a92a1e1001686f32657805c03079005507100ac2\",\"event_id\":\"e3d6e6ac-56bb-4939-8098-0e06e2c34139\",\"event_time\":1593610329000},\"audiences_joined_at\":{\"tealium-solutions_test-example_101\":1593610320746}},\"url\":\"\"}",
"Action Time": "371 ms"
},
"is_success": true,
"error_title": null,
"eventNumber": 17,
"entryType": "executed_actions",
"entryIndex": 0,
"actionInfoFromProfile": {
"configurations": "(removed)",
"connectorId": "ca801be7-db94-4825-963a-09a247ec2800",
"createdBy": "caleb.jaquith@tealium.com",
"creationDate": "2020-06-17T14:59:29.556Z",
"dataSourceIds": [],
"delay": {
"value": 0,
"unit": "HOURS"
},
"deleted": false,
"deliveryType": "cloud",
"enabled": true,
"frequencyCap": {
"cooldownGroupId": "NO_COOLDOWN",
"priority": 0
},
"hidden": false,
"id": "685a2176-51e0-4836-de27-55073fc8c7ef",
"labelIds": [],
"name": "Over 40 at End of Visit, without delay",
"notes": "",
"source": {
"id": "tealium-solutions_test-example_101",
"type": "VISITOR",
"name": "Counter at least 40"
},
"trigger": "IN_AUDIENCE_AT_END_OF_VISIT",
"type": "send_visitor",
"updatedBy": "caleb.jaquith@tealium.com",
"updatedDate": "2020-06-17T15:02:52.723Z"
},
"connectorType": "audienceStream",
"connectorInfoFromProfile": {
"configurations": "(removed)",
"createdBy": "caleb.jaquith@tealium.com",
"creationDate": "2020-06-16T13:17:18.192Z",
"deleted": false,
"deliveryType": "cloud",
"enabled": true,
"hidden": false,
"id": "ca801be7-db94-4825-963a-09a247ec2800",
"labelIds": [],
"name": "Webhooks - Postman Echo",
"notes": "Postman Echo for testing",
"type": "webhook",
"updatedBy": "caleb.jaquith@tealium.com",
"updatedDate": "2020-06-17T15:00:32.240Z"
}
}