Skip to content

Commit bfe4437

Browse files
authored
Merge pull request #630 from segmentio/repo-sync
repo sync
2 parents c34adb0 + ff8fc8f commit bfe4437

File tree

4 files changed

+26
-13
lines changed

4 files changed

+26
-13
lines changed

src/connections/destinations/catalog/actions-launchdarkly/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
title: LaunchDarkly (Actions) Destination
33
hide-boilerplate: true
4-
hide-dossier: true
54
id: 624dddd054ced46facfdb9c0
65
---
76

@@ -43,11 +42,13 @@ To get started with LaunchDarkly (Actions):
4342

4443
{% include components/actions-fields.html %}
4544

45+
> info "A note about Identify calls"
46+
> LaunchDarkly doesn't store user attributes for use with flag evaluations. As a result, Segment doesn't support mapping Identify calls to LaunchDarkly actions.
47+
4648
## Creating LaunchDarkly metrics
4749

4850
In order to take full-advantage of the LaunchDarkly (Actions) Destination, you need to create metrics in LaunchDarkly that correspond to Segment track events. Read [Creating metrics](https://docs.launchdarkly.com/home/experimentation/metrics){:target="_blank"} to learn how to create metrics in LaunchDarkly.
4951

50-
<!-- If applicable, add information regarding the migration from a classic destination to an Actions-based version below -->
5152

5253
## Migration from the classic LaunchDarkly destination
5354

src/connections/destinations/catalog/mutiny/index.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,33 @@ Page calls will be sent to Mutiny as an `impression`.
3131

3232
If you're not familiar with the Segment Specs, take a look to understand what the [Identify method](/docs/connections/spec/identify/) does. An example call would look like:
3333

34-
```
34+
```js
3535
analytics.identify('userId123', {
3636
3737
});
3838
```
3939

40-
Identify calls will be sent to Mutiny as an `identify` event. We use this in order to associate traits with an individual, which can be targeted for personalization in outbound email campaigns.
40+
Identify calls will be sent to Mutiny as an `identify` event. Segment uses this in order to associate traits with an individual, which can be targeted for personalization in outbound email campaigns.
4141

4242

4343
## Track
4444

4545
If you're not familiar with the Segment Specs, take a look to understand what the [Track method](/docs/connections/spec/track/) does. An example call would look like:
4646

47-
```
47+
```js
4848
analytics.track('Clicked Login Button')
4949
```
5050

51-
Track calls will be sent to Mutiny as a `track` event. Within the Mutiny dashboard, you can select which events signal a conversion for your website visitors. When a `track` event is processed for these events, a visitor will be marked as converted and that information will be displayed in the experiment results for a given experience.
51+
Track calls are sent to Mutiny as a `track` event. Within the Mutiny dashboard, you can select which events signal a conversion for your website visitors. When a `track` event is processed for these events, a visitor will be marked as converted and that information will be displayed in the experiment results for a given experience.
52+
53+
Mutiny's integration with Segment enables customers to use Segment events to track conversions in Mutiny. Mutiny also sends events *to* Segment to help track attribution for Mutiny experiences. Mutiny sends the `Mutiny Experience Viewed` with the `audienceSegment`, `experience`, and `personalized` properties. For example:
54+
55+
```js
56+
analytics.track('Mutiny Experience Viewed', {
57+
experience: 'Corporate Website Experiment',
58+
audienceSegment: 'Small company',
59+
personalized: true,
60+
});
61+
```
62+
63+
The `personalized` property is `true` for personalized experiences and `false` for a control views. For more information, contact [Mutiny Support](mailto:[email protected]).

src/connections/sources/catalog/libraries/server/python/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ If you're using a system for managing dependencies, you'll want to pin the libra
2323
Inside your app, you'll want to **set your `write_key`** before making any analytics calls:
2424

2525
```python
26-
import analytics
26+
import segment.analytics as analytics
2727

2828
analytics.write_key = 'YOUR_WRITE_KEY'
2929
```
@@ -344,7 +344,7 @@ assert d.tzinfo is not None and d.tzinfo.utcoffset(d) is not None
344344
```python
345345
import dateutil.parser
346346

347-
import analytics
347+
import segment.analytics as analytics
348348
analytics.write_key = 'YOUR_WRITE_KEY'
349349

350350
log = [
@@ -475,7 +475,7 @@ To add analytics to your Django web server, you need to include the initializati
475475

476476
```python
477477
from django.apps import AppConfig
478-
import analytics
478+
import segment.analytics as analytics
479479

480480
class MyAppConfig(AppConfig):
481481

@@ -524,7 +524,7 @@ and turn on module logging in your initialization call in `urls.py`.
524524

525525
```python
526526
import logging
527-
import analytics
527+
import segment.analytics as analytics
528528

529529
analytics.debug = True # turn on debug logging
530530
analytics.write_key = 'YOUR_WRITE_KEY'
@@ -567,7 +567,7 @@ Be sure to see the full [reference of supported keys](/docs/connections/spec/com
567567
Check that you have the most recent version.
568568

569569
```
570-
python -c "import analytics; print analytics.VERSION"
570+
python -c "import segment.analytics as analytics; print analytics.VERSION"
571571
```
572572

573573
Does it match [the most current version](https://github.com/segmentio/analytics-python/blob/master/analytics/version.py#L2)?
@@ -591,7 +591,7 @@ easy_install --upgrade segment-analytics-python
591591
In some cases, you will want to disable threads and send each request synchronously. To do so, you can use the `sync_mode` option:
592592

593593
```python
594-
import analytics
594+
import segment.analytics as analytics
595595

596596
analytics.write_key = 'YOUR_WRITE_KEY'
597597
analytics.sync_mode = True

src/connections/spec/common.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ Other libraries only collect `context.library`, any other context variables must
194194

195195
## Integrations
196196

197-
A dictionary of destination names that the message should be sent to. `'All'` is a special key that applies when no key for a specific destination n is found.
197+
A dictionary of destination names that the message should be sent to. `'All'` is a special key that applies when no key for a specific destination is found.
198198

199199
Integrations defaults to the following:
200200

0 commit comments

Comments
 (0)