Skip to content

Commit 537b2d1

Browse files
markzegarellirchinn1
andauthored
Conn mode override and cleanup (#2693)
* Conn mode override and cleanup * Apply suggestions from code review Co-authored-by: rchinn-segment <[email protected]> Co-authored-by: rchinn-segment <[email protected]>
1 parent 968dc0f commit 537b2d1

File tree

3 files changed

+29
-16
lines changed

3 files changed

+29
-16
lines changed

src/_data/catalog/overrides.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
# This file is manually generated. When you add or remove an item, add or remove
22
# it from the `overrides-list.yml` too.
33
items:
4+
- slug: clevertap
5+
id: 5711271880412f644ff13150
6+
connection_modes:
7+
device:
8+
web: true
9+
mobile: true
10+
server: false
11+
cloud:
12+
web: true
13+
mobile: true
14+
server: true
415
- slug: criteo-app-web-events
516
id: 5787cc5180412f644ff14d7e
617
connection_modes:
@@ -282,4 +293,4 @@ items:
282293
required: false
283294
label: >-
284295
Fallback to Zeroed IDFA when advertisingId key not present (Server-Side
285-
Only)
296+
Only)

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

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
22
title: CleverTap Destination
33
id: 5711271880412f644ff13150
4+
cmode-override: true
45
---
56
## Getting Started
67

78
Once the Segment library is integrated, toggle CleverTap on in your Segment destinations, and add your CleverTap Account ID and CleverTap Account Token which you can find in the CleverTap Dashboard under Settings.
89

9-
You can integrate CleverTap using a server-side or mobile destination (iOS or Andriod). If you are interested in using CleverTap's push notifications or in-app notifications products, you should use the mobile destinations.
10+
You can integrate CleverTap using a server-side or mobile destination (iOS or Android). If you are interested in using CleverTap's push notifications or in-app notifications products, you should use the mobile destinations.
1011

1112
All server-side destination requests require either a Segment Anonymous ID or a userId in the payload.
1213

@@ -15,7 +16,7 @@ CleverTap supports the `identify`, `track`, `page` (server-side only), and `scre
1516

1617
## Identify
1718

18-
When you identify a user, we'll pass that user's information to CleverTap with userId as CleverTap's Identity value. A number of Segment's special traits map to CleverTap's standard user profile fields. You'll pass the key on the left into Segment and we will transform it to the key on the right before sending to CleverTap.
19+
When you identify a user, Segment passes that user's information to CleverTap with userId as CleverTap's Identity value. A number of Segment's special traits map to CleverTap's standard user profile fields. You'll pass the key on the left into Segment and Segment transforms it to the key on the right before sending to CleverTap.
1920

2021
- `name` maps to `Name`
2122
- `birthday` maps to `DOB`
@@ -24,28 +25,28 @@ When you identify a user, we'll pass that user's information to CleverTap with u
2425
- `phone` maps to `Phone`
2526
- `email` maps to `Email`
2627

27-
All other traits will be sent to CleverTap as custom attributes. Please also note that the default logic will lower case and snake_case any user traits - custom or special - passed to CleverTap.
28+
All other traits will be sent to CleverTap as custom attributes. The default logic will lower case and snake_case any user traits - custom or special - passed to CleverTap.
2829

2930
## Track
3031

31-
When you `track` an event, we will send that event to CleverTap as a custom event. Note that CleverTap does not support arrays or nested objects for custom track event properties.
32+
When you `track` an event, Segment sends that event to CleverTap as a custom event. Note that CleverTap does not support arrays or nested objects for custom track event properties.
3233

3334
> note ""
3435
> CleverTap requires `identify` traits such as `userId` or `email` to record and associate the Track event. Without these traits, the Track event does not appear in CleverTap.
3536
36-
Please also note that the default logic for our cloud mode connection to CleverTap will lower case and snake_case any event properties passed from Segment's servers to CleverTap. Our device mode connection will not lower case or snake_case any event properties passed directly to CleverTap from the client.
37+
The default logic for the cloud mode connection to CleverTap will lower case and snake_case any event properties passed from Segment's servers to CleverTap. The device mode connection will not lower case or snake_case any event properties passed directly to CleverTap from the client.
3738

3839
### Order Completed
3940

40-
When you `track` an event using the server-side destination with the name `Order Completed` using the [e-commerce tracking API](/docs/connections/spec/ecommerce/v2/), we will map that event to CleverTap's [Charged](https://support.clevertap.com/docs/working-with-events.html#recording-customer-purchases) event.
41+
When you `track` an event using the server-side destination with the name `Order Completed` using the [e-commerce tracking API](/docs/connections/spec/ecommerce/v2/), Segment maps that event to CleverTap's [Charged](https://support.clevertap.com/docs/working-with-events.html#recording-customer-purchases){:target="_blank"} event.
4142

4243
## Page
4344

44-
When you send a `page` event using the server-side destination, we will send that event to CleverTap as a Web Page Viewed event.
45+
When you send a `page` event using the server-side destination, Segment sends that event to CleverTap as a Web Page Viewed event.
4546

4647
## Screen
4748

48-
When you send a `screen` event using the server-side destination or the iOS bundled SDK, we will send that event to CleverTap as an App Screen Viewed event.
49+
When you send a `screen` event using the server-side destination or the iOS bundled SDK, Segment sends that event to CleverTap as an App Screen Viewed event.
4950

5051
## Android
5152

@@ -55,7 +56,7 @@ When you send a `screen` event using the server-side destination or the iOS bund
5556

5657
`compile 'com.clevertap.android:clevertap-segment-android:+'`
5758

58-
**Note**: Our group Id is `com.clevertap.android`, not `com.segment.analytics.android.integrations`.
59+
**Note**: The group Id is `com.clevertap.android`, not `com.segment.analytics.android.integrations`.
5960

6061
2. Next, declare CleverTap's destination in your Analytics instance:
6162

@@ -86,7 +87,7 @@ When you send a `screen` event using the server-side destination or the iOS bund
8687
</service>
8788
```
8889

89-
2. For more in-depth information, visit our [Android push integration documentation](https://developer.clevertap.com/docs/android).
90+
2. For more in-depth information, visit CleverTap's [Android push integration documentation](https://developer.clevertap.com/docs/android){:target="_blank"}.
9091

9192
### In-App Notifications
9293

@@ -99,12 +100,12 @@ When you send a `screen` event using the server-side destination or the iOS bund
99100
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
100101
```
101102

102-
No further action is required to integrate in-app notifications, which are registered for and requested by default by our CleverTap Segment integration.
103+
No further action is required to integrate in-app notifications, which are registered for and requested by default by the CleverTap Segment integration.
103104

104105

105106
### Sample App
106107

107-
CleverTap has created a sample Android application that integrates CleverTap using Segment. Check it out at the [GitHub repo](https://github.com/CleverTap/clevertap-segment-android-example).
108+
CleverTap has created a sample Android application that integrates CleverTap using Segment. Check it out at the [GitHub repository](https://github.com/CleverTap/clevertap-segment-android-example){:target="_blank"}.
108109

109110
## iOS
110111

@@ -116,7 +117,7 @@ CleverTap has created a sample Android application that integrates CleverTap usi
116117
`pod 'Segment-CleverTap'`
117118
```
118119

119-
We recommend using the latest version on [CocoaPods](https://cocoapods.org/pods/Segment-CleverTap) since it will contain the most up to date features and bug fixes.
120+
Use the latest version on [CocoaPods](https://cocoapods.org/pods/Segment-CleverTap){:target="_blank"} since it will contain the most up to date features and bug fixes.
120121

121122
2. Next, declare CleverTap's integration in your app delegate instance:
122123

@@ -144,11 +145,11 @@ CleverTap has created a sample Android application that integrates CleverTap usi
144145
145146
### In-App Notifications
146147
147-
No further action is required to integrate in-app notifications, which are registered for and requested by default by our CleverTap Segment integration.
148+
No further action is required to integrate in-app notifications, which are registered for and requested by default by the CleverTap Segment integration.
148149
149150
### Sample App
150151
151-
CleverTap has created a sample iOS application that integrates CleverTap using Segment. Check it out at the [GitHub repo](https://github.com/CleverTap/clevertap-segment-ios/tree/master/Example).
152+
CleverTap has created a sample iOS application that integrates CleverTap using Segment. Check it out at the [GitHub repository](https://github.com/CleverTap/clevertap-segment-ios/tree/master/Example){:target="_blank"}.
152153
153154
154155
## React Native

vale-styles/Vocab/Docs/accept.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
(?:L|l)ookback
88
(?:P|p)ageviews?\b
99
(?:P|p)endo
10+
(?:P|p)odfile
1011
(?:P|p)ostgres
1112
(?:R|r)emarketing
1213
(?:U|u)nlinks?\b

0 commit comments

Comments
 (0)