You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/connections/destinations/catalog/actions-absmartly/index.md
+88-2Lines changed: 88 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,8 @@ This destination is maintained by ABsmartly. For any issues with the destination
20
20
3. Add the following Connection Settings:
21
21
-**Collector Endpoint**: Your ABsmartly Collector REST Endpoint. Usually `https://<your-subdomain>.absmartly.io/v1`
22
22
-**API Key**: An existing API Key. Created under Settings->API Keys in the ABsmartly Web Console.
23
-
-**Environment**: The environment where the events are originated matching an existing environment in ABsmartly. Created under Settings->Environments in the ABsmartly Web Console.
23
+
-**Environment**: The environment where the events are originated matching an existing environment in ABsmartly. Created under Settings->Environments in the ABsmartly Web Console.
24
+
5. Enable the _Track Calls_ mapping to send events to ABsmartly.
24
25
25
26
{% include components/actions-fields.html %}
26
27
@@ -34,7 +35,7 @@ other destinations. The Segment spec includes the [Experiment Viewed semantic ev
34
35
for this purpose.
35
36
36
37
> info ""
37
-
> By default, the _Track Calls_action will filter and not send to ABsmartly events with name `Experiment Viewed`.
38
+
> By default, the _Track Calls_mapping will filter and not send to ABsmartly events with name `Experiment Viewed`.
38
39
39
40
In the ABsmartly context, we can [install a custom event logger](https://docs.absmartly.com/docs/sdk%20documentation/getting-started/#using-a-custom-event-logger) and send exposures directly to Segment.
40
41
@@ -75,6 +76,91 @@ analytics.ready(function() {
75
76
});
76
77
```
77
78
79
+
### Publishing experiment exposures through Segment
80
+
81
+
To publish experiment exposures through Segment, you must first configure
82
+
and enable the _Exposures (Verbatim)_ mapping on your ABsmartly (Actions) destination.
83
+
84
+
We want to replace the direct flow of exposure events from the ABsmartly SDK to the ABsmartly collector, by instead sending them to Segment
85
+
for processing by the destination function.
86
+
87
+
This can be achieved by instantiating the ABsmartly SDK with a custom context publisher.
88
+
89
+
The custom publisher will publish an `Experiment Viewed` Segment event with ABsmartly's exposure data in the `properties.exposure` field as well
90
+
as the normal semantic data that Segment recommends for this event.
## Migration from the classic A/B Smartly destination
79
165
80
166
To migrate from the classic A/B Smartly destination to ABsmartly (Actions) be sure to disconnect the classic A/B Smartly destination before enabling the ABsmartly (Actions) destination to avoid duplicate experimentation events in ABsmartly.
0 commit comments