Skip to content

Commit 85845d5

Browse files
authored
Remove section referencing iAD
1 parent 4b8050c commit 85845d5

File tree

1 file changed

+0
-50
lines changed
  • src/connections/destinations/catalog/singular

1 file changed

+0
-50
lines changed

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

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -28,56 +28,6 @@ This destination is maintained by Singular. For any issues with the destination,
2828
Enable automatic tracking of lifecycle events (`Application Opened`, `Application Installed`, `Application Updated`) using initialization config parameters ([iOS](/docs/connections/sources/catalog/libraries/mobile/ios/#application-lifecycle-tracking), [Android](/docs/connections/sources/catalog/libraries/mobile/android/#step-2-initialize-the-client)) to track installs and sessions in Singular. The Singular "**session**" will be sent automatically by the integration as long as you are including the events above.
2929

3030

31-
## Apple Search Ads Attribution
32-
33-
> note "Note"
34-
> If you are using the Device-Based Destination, there's no need to implement the code below, as the data is already collected automatically.
35-
36-
To get attribution data into Singular, you must include the [analytics-ios-iads-attribution](https://github.com/segmentio/analytics-ios-iads-attribution){:target="_blank"} dependency and version 3.6.0 or higher of the [Analytics SDK](https://github.com/segmentio/analytics-ios){:target="_blank"}.
37-
38-
To install it, simply add the following line to your Podfile:
39-
`pod "Analytics"`
40-
`pod "Analytics-iAds-Attribution"`
41-
42-
Then import the header and initialize the configuration:
43-
```
44-
#import <Analytics-iAds-Attribution/SEGADTracker.h>
45-
46-
// Initialize the configuration as you would normally.
47-
SEGAnalyticsConfiguration *configuration = [SEGAnalyticsConfiguration configurationWithWriteKey:@"YOUR_WRITE_KEY"];
48-
...
49-
50-
// Configure the client with the iAD middleware to attach iAd properties.
51-
configuration.middlewares = @[ [SEGADTracker middleware] ];
52-
53-
[SEGAnalytics setupWithConfiguration:configuration];
54-
55-
```
56-
When iAd information is available, the attribution information is transformed to Segment context this way:
57-
```
58-
[analytics track:@"Application Installed",
59-
properties: nil,
60-
options: @{
61-
@"context" : @{
62-
@"campaign" : @{
63-
@"provider" : @"Apple",
64-
@"click_date" : attributionInfo[@"iad-click-date"],
65-
@"conversion_date" : attributionInfo[@"iad-conversion-date"],
66-
@"source" : @"iAd",
67-
@"name" : attributionInfo[@"iad-campaign-name"],
68-
@"content" : attributionInfo[@"iad-keyword"],
69-
@"ad_creative" : attributionInfo[@"iad-org-name"],
70-
@"ad_group" : attributionInfo[@"iad-adgroup-name"],
71-
@"id" : attributionInfo[@"iad-campaign-id"],
72-
@"ad_group_id" : attributionInfo[@"iad-adgroup-id"]
73-
}
74-
}
75-
}];
76-
77-
```
78-
Singular has explicitly mapped the `Application Installed` lifecycle event to provide the iAd Information.
79-
80-
8131
## Tracking Custom Events
8232

8333
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 (in Android) would look like:

0 commit comments

Comments
 (0)