Skip to content

Commit 7f85638

Browse files
authored
Merge pull request #427 from segmentio/singular
update singular for device mode
2 parents 640b640 + afc484e commit 7f85638

File tree

1 file changed

+24
-1
lines changed
  • src/connections/destinations/catalog/singular

1 file changed

+24
-1
lines changed

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

+24-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ title: Singular Destination
55

66
[Singular](https://www.singular.net/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners) is a Marketing Intelligence Platform that transforms marketing data into accurate, granular and actionable insights to drive growth. By unifying marketing campaign data with attribution data, marketers can measure ROI from every touchpoint across multiple channels for a single source of truth.
77

8+
The destination is available to receive data via Cloud Mode from all platforms and to integrate via Device Mode on Mobile.
9+
810
This destination is maintained by Singular. For any issues with the destination, please [reach out to Singular Support](mailto:[email protected]).
911

1012
## Getting Started
@@ -30,6 +32,9 @@ Enable automatic tracking of lifecycle events (`Application Opened`, `Applicatio
3032

3133
## Apple Search Ads Attribution
3234

35+
> note "Note"
36+
> If you are using the Device-Based Destination, there’s no need to implement the code below, as the data is already collected automatically.
37+
3338
To get [iAD attribution](https://searchads.apple.com/help/measure-results/) data into Singular, you must include the [analytics-ios-iads-attribution](https://github.com/segmentio/analytics-ios-iads-attribution) dependency and version 3.6.0 or higher of the [Analytics SDK](https://github.com/segmentio/analytics-ios).
3439

3540
To install it, simply add the following line to your Podfile:
@@ -98,4 +103,22 @@ Analytics.with(context).track("Order Completed", new Properties().putRevenue(1.9
98103
```
99104

100105
## Custom User ID
101-
Singular has mapped the **Custom User ID** to the Segment [User ID](https://segment.com/docs/connections/spec/identify/#user-id) value. Follow the steps here to configure for: [iOS](https://segment.com/docs/connections/sources/catalog/libraries/mobile/ios/#identify), [Android](https://segment.com/docs/connections/sources/catalog/libraries/mobile/android/#identify).
106+
For the cloud-mode destination, Singular has mapped the **Custom User ID** to the Segment [User ID](https://segment.com/docs/connections/spec/identify/#user-id) value. Follow the steps here to configure for: [iOS](https://segment.com/docs/connections/sources/catalog/libraries/mobile/ios/#identify), [Android](https://segment.com/docs/connections/sources/catalog/libraries/mobile/android/#identify).
107+
108+
For the device-based destination, Singular’s SDK uses the ​identify​ method to map Segment’s ​User ID​ value to the Custom User ID.
109+
110+
Android example:
111+
112+
```java
113+
Analytics.with(context).identify("myUserId");
114+
```
115+
116+
In order to unset the Custom User ID, call the ​reset​ method.
117+
118+
Android example:
119+
120+
```java
121+
Analytics.with(context).reset();
122+
```
123+
124+

0 commit comments

Comments
 (0)