Skip to content

Commit 6b34670

Browse files
author
markzegarelli
authored
Merge pull request #1597 from segmentio/update_cleanup
update cleanup
2 parents bc5b33a + aedf592 commit 6b34670

File tree

5 files changed

+16
-29
lines changed

5 files changed

+16
-29
lines changed

.vale.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ StylesPath = vale-styles
33
Vocab = Docs
44

55
[*.md]
6-
BasedOnStyles = write-good, Segment
6+
BasedOnStyles = write-good, segment

src/connections/destinations/catalog/optimizely-full-stack/index.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ Segment's **Optimizely Full Stack (previously Optimizely X)** destination suppor
1515
* [Optimizely Full Stack Android (Cloud-mode)](#android-cloud-mode-implementation)
1616
* [Optimizely Full Stack iOS (Cloud-mode)](#ios-cloud-mode-implementation)
1717

18-
If you're interested in implementing Optimizely X Web or Optimizely Full Stack with the JavaScript SDK, see Segment's [**Optimizely Web** destination](https://segment.com/docs/connections/destinations/catalog/optimizely-web/), which supports:
18+
If you're interested in implementing Optimizely X Web or Optimizely Full Stack with the JavaScript SDK, see Segment's [**Optimizely Web** destination](/docs/connections/destinations/catalog/optimizely-web/), which supports:
1919

20-
* [Optimizely X Web](https://segment.com/docs/connections/destinations/catalog/optimizely/#optimizely-x-web)
21-
* [Optimizely Full Stack (JavaScript)](https://segment.com/docs/connections/destinations/catalog/optimizely/#optimizely-full-stack-javascript-)
20+
* [Optimizely X Web](/docs/connections/destinations/catalog/optimizely/#optimizely-x-web)
21+
* [Optimizely Full Stack (JavaScript)](/docs/connections/destinations/catalog/optimizely/#optimizely-full-stack-javascript-)
2222

2323
## Implementation Prerequisite
2424

@@ -50,7 +50,7 @@ For more details on how events are attributed on the Optimizely results page, re
5050
Upon invocation of a Segment `track` event, Segment maps the event to an Optimizely `track` event:
5151
* If the Segment event name matches exactly the name of an active experiment `metric` set up in the Optimizely dashboard;
5252
* If the experiment `metric` is associated with a running experiment;
53-
* If the current user has been assigned a `userId` using Segment's `identify` method (e.g. `analytics.identify('123')`);
53+
* If the current user has been assigned a `userId` using Segment's `identify` method (for example, `analytics.identify('123')`);
5454
* If the current user is activated in a running experiment with the associated `metric`.
5555

5656
Segment also handles the following mapping:
@@ -60,8 +60,8 @@ Segment also handles the following mapping:
6060

6161
`revenue` values should be passed as a Segment `property`. The value should be an integer and represent the value in cents, so, for example, $1 should be represented by `100`.
6262

63-
> note "Note:"
64-
> [Custom Event Tags](https://docs.developers.optimizely.com/full-stack/docs/include-event-tags) in Optimizely, which include all Event Tags except `revenue` and `value`, are not displayed on the Optimizely results page, however they are available in a [Data Export](https://docs.developers.optimizely.com/web/docs/data-export) report. Event Tags can be strings, integers, floating point numbers, or boolean values. Optimizely rejects events with any other data types (for example, arrays).
63+
> note ""
64+
> **Note**: [Custom Event Tags](https://docs.developers.optimizely.com/full-stack/docs/include-event-tags) in Optimizely, which include all Event Tags except `revenue` and `value`, are not displayed on the Optimizely results page, however they are available in a [Data Export](https://docs.developers.optimizely.com/web/docs/data-export) report. Event Tags can be strings, integers, floating point numbers, or boolean values. Optimizely rejects events with any other data types (for example, arrays).
6565
6666
Segment defaults to identifying users with their `anonymousId`. Enabling the "Use User ID" setting in your Segment settings means that only `track` events triggered by identified users are passed downstream to Optimizely. You may optionally fall back to `anonymousId` when `userId` is unavailable by setting `fallbackToAnonymousId` to `true`.
6767

@@ -80,7 +80,7 @@ Segment's server-side integration with Optimizely Full Stack does not support no
8080
When implementing Optimizely Full Stack using cloud-mode, Segment will map `track` events to Optimizely `track` events on our servers and deliver the data to your Optimizely project as usual.
8181

8282
> note ""
83-
> **Note:** If you are using Optimizely SDKs v1.x or v2.x: if a visitor has any `activate` or `isFeatureEnabled` calls, their `attributes` object for these calls must match the `attributes` object passed to any `track` calls for that user id so that it can be correctly attributed on the Optimizely results page.
83+
> **Note:** If you are using Optimizely SDKs v1.x or v2.x: if a visitor has any `activate` or `isFeatureEnabled` calls, the `attributes` object for these calls must match the `attributes` object passed to any `track` calls for that user id so that it can be correctly attributed on the Optimizely results page.
8484
8585
If you are using Optimizely SDKs v3+, [Easy Event Tracking](https://blog.optimizely.com/2019/02/26/introducing-easy-event-tracking-the-easier-way-to-understand-and-optimize-the-customer-journey/) is enabled by default for decision events. Set up does not require maintaining the attributes of a user as long as the user id stays the same between Optimizely `activate` and `isFeatureEnabled` calls and Segment `track` calls to have Optimizely `metrics` populated in the Optimizely results page. If you would like to segment your Optimizely results by user `attribute`, then make sure the `attributes` passed in for the `activate` and `isFeatureEnabled` calls match the `attributes` passed in for the `track` calls for that user id.
8686

@@ -100,13 +100,13 @@ Segment also handles the following mapping:
100100
`revenue` values should be passed as a Segment `property`. The value should be an integer and represent the value in cents, so, for example, $1 should be represented by `100`.
101101

102102
> note ""
103-
> **Note:** [Custom Event Tags](https://docs.developers.optimizely.com/full-stack/docs/include-event-tags) in Optimizely, which include all Event Tags except `revenue` and `value`, are not displayed on the Optimizely results page, however they are available in a [Data Export](https://docs.developers.optimizely.com/web/docs/data-export) report. Event Tags can be strings, integers, floating point numbers, or boolean values. Optimizely will reject events with any other data types (e.g. arrays).
103+
> **Note:** [Custom Event Tags](https://docs.developers.optimizely.com/full-stack/docs/include-event-tags) in Optimizely, which include all Event Tags except `revenue` and `value`, are not displayed on the Optimizely results page, however they are available in a [Data Export](https://docs.developers.optimizely.com/web/docs/data-export) report. Event Tags can be strings, integers, floating point numbers, or boolean values. Optimizely rejects events with any other data types (for example, arrays).
104104
105105
Segment defaults to identifying users with their `anonymousId`. Enabling "Use User ID" setting in your Segment dashboard means that only `track` events triggered by identified users are passed downstream to Optimizely. You may optionally fall back to `anonymousId` when `userId` is unavailable by setting `fallbackToAnonymousId` to `true`.
106106

107107
### Identify
108108

109-
Invoking a Segment `identify` event sets Segment `traits` as Optimziely `attributes`. The `attributes` are sent downstream to Optimizely upon invocation of the next Segment `track` event.
109+
Invoking a Segment `identify` event sets Segment `traits` as Optimizely `attributes`. The `attributes` are sent downstream to Optimizely upon invocation of the next Segment `track` event.
110110

111111
## Reset
112112

@@ -148,13 +148,13 @@ Segment also handles the following mapping:
148148
`revenue` values should be passed as a Segment `property`. The value should be an integer and represent the value in cents, so, for example, $1 should be represented by `100`.
149149

150150
> note ""
151-
> **Note:** [Custom Event Tags](https://docs.developers.optimizely.com/full-stack/docs/include-event-tags) in Optimizely, which include all Event Tags except `revenue` and `value`, are not displayed on the Optimizely results page, however they are available in a [Data Export](https://docs.developers.optimizely.com/web/docs/data-export) report. Event Tags can be strings, integers, floating point numbers, or boolean values. Optimizely will reject events with any other data types (e.g. arrays).
151+
> **Note:** [Custom Event Tags](https://docs.developers.optimizely.com/full-stack/docs/include-event-tags) in Optimizely, which include all Event Tags except `revenue` and `value`, are not displayed on the Optimizely results page, however they are available in a [Data Export](https://docs.developers.optimizely.com/web/docs/data-export) report. Event Tags can be strings, integers, floating point numbers, or boolean values. Optimizely rejects events with any other data types (for example, arrays).
152152
153153
Segment defaults to identifying users with their `anonymousId`. Enabling "Use User ID" setting in your Segment dashboard means that only `track` events triggered by identified users are passed downstream to Optimizely. You may optionally fall back to `anonymousId` when `userId` is unavailable by setting `fallbackToAnonymousId` to `true`.
154154

155155
### Identify
156156

157-
Invoking a Segment `identify` event sets Segment `traits` as Optimziely `attributes`. The `attributes` are sent downstream to Optimizely upon invocation of the next Segment `track` event.
157+
Invoking a Segment `identify` event sets Segment `traits` as Optimizely `attributes`. The `attributes` are sent downstream to Optimizely upon invocation of the next Segment `track` event.
158158

159159
### Notification Listeners
160160

@@ -167,4 +167,4 @@ Follow these instructions on how to set up Personas and Optimizely:
167167
* [Using Segment Personas and Optimizely Full Stack for Omnichannel Experiments](https://blog.optimizely.com/tag/segment-personas/)
168168

169169
## GDPR Support
170-
Segment supports deleting/suppressing users in Optimizely using the [Segment app](https://segment.com/docs/privacy/user-deletion-and-suppression/). In order to do this however, you will need to create a [Personal Access Token](https://developers.optimizely.com/x/authentication/personal-token/) in Optimizely and provide it as the value of the Access Token setting.
170+
Segment supports deleting/suppressing users in Optimizely using the [Segment app](/docs/privacy/user-deletion-and-suppression/). In order to do this however, you will need to create a [Personal Access Token](https://developers.optimizely.com/x/authentication/personal-token/) in Optimizely and provide it as the value of the Access Token setting.

vale-styles/Vocab/Docs/accept.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,5 @@ ga
3737
Doubleclick
3838
(?:C|c)annonical
3939
(?:U|u)rls?\b
40+
Optimizely
41+
Omnichannel

vale-styles/segment/rubyliquid.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

vale-styles/segment/spelling.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
extends: spelling
22
message: "Did you really mean '%s'?"
33
level: error
4-
filters:
5-
# Ignore all contents in Ruby liquid tags.
6-
- {% .* %}
7-
- {{ .* }}
4+
filters:

0 commit comments

Comments
 (0)