Skip to content

Commit ce5f804

Browse files
author
markzegarelli
authored
Merge pull request #1428 from segmentio/kdaswani-patch-1
update mobile bundling steps.md
2 parents a12b525 + b71fb47 commit ce5f804

File tree

1 file changed

+21
-7
lines changed
  • src/connections/destinations/catalog/adobe-analytics

1 file changed

+21
-7
lines changed

src/connections/destinations/catalog/adobe-analytics/mobile.md

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,36 @@ To learn more about Segment's mobile libraries, see the [iOS](/docs/connections/
1212

1313
Before you start sending data from your mobile application to Adobe Analytics, you must first finish the following set up steps:
1414

15-
- First, enable the Segment-Adobe Analytics destination from in your Segment workspace
15+
- First, enable the Segment-Adobe Analytics destination from in your Segment workspace.
1616
- From your Adobe Mobile Services dashboard, check and customize the settings on the "Manage App Settings" tab.
17-
- Download these settings as the `ADBMobileConfig.json` file by clicking the **Config JSON** link at the bottom of the same tab. Follow the instructions in Adobe's documentation, [here for iOS](https://marketing.adobe.com/resources/help/en_US/mobile/ios/dev_qs.html), and [here for Android](https://marketing.adobe.com/resources/help/en_US/mobile/android/dev_qs.html)
17+
- Download these settings as the `ADBMobileConfig.json` file by clicking the **Config JSON** link at the bottom of the same tab. Follow the instructions in Adobe's documentation [here for iOS](https://marketing.adobe.com/resources/help/en_US/mobile/ios/dev_qs.html) and [here for Android](https://marketing.adobe.com/resources/help/en_US/mobile/android/dev_qs.html).
1818
- Finally, follow the instructions below for each mobile environment to bundle Segment's Adobe Analytics SDK in your project.
1919

2020
> success ""
2121
> **Tip**: Mobile implementations use the `ADBMobileConfig.json` file to store the settings that you would otherwise enter in the Adobe Analytics destination settings in the Segment app. You can change these settings from the Manage App Settings tab in your Adobe Mobile Services dashboard, and can download the file from that same tab. This file includes the Report Suite ID, Timestamp Option, Tracking Server Secure URL, Tracking Server URL, and Use Secure URL for Server-side settings.
2222
2323
#### For Android
24+
25+
```java
26+
compile 'com.segment.analytics.android.integrations:adobeanalytics:+'
27+
```
28+
29+
After you add the dependency, register the integration with the Segment SDK. To do this, import the Amplitude integration:
30+
2431
```java
25-
compile 'com.segment.analytics.android.integrations:adobe-analytics:1.0.0'
32+
import com.segment.analytics.android.integrations.adobeanalytics.AdobeIntegration;
2633
```
2734

28-
**Note** If you're working on Android, you'll also need to add these permissions to your `AndroidManifest.xml`:
35+
Then add the following line:
36+
37+
```java
38+
analytics = new Analytics.Builder(this, "write_key")
39+
.use(AdobeIntegration.FACTORY)
40+
.build();
41+
```
42+
43+
> info ""
44+
> **Note:** If you're working on Android, be sure to add these permissions to your `AndroidManifest.xml`:
2945
3046
```xml
3147
<uses-permission android:name="android.permission.INTERNET" />
@@ -35,11 +51,9 @@ compile 'com.segment.analytics.android.integrations:adobe-analytics:1.0.0'
3551
You can see the [Android SDK changelog](https://github.com/segment-integrations/analytics-android-integration-adobe-analytics/blob/master/CHANGELOG.md) in the open-source repository for information about specific versions of the Android Adobe Analytics SDK.
3652

3753
#### For iOS
54+
3855
```objc
3956
pod 'Segment-Adobe-Analytics'
40-
iOS:
41-
```objc
42-
pod 'Segment-Adobe-Analytics', '1.1.0-beta'
4357
```
4458

4559
You can see the [iOS SDK changelog](https://github.com/segment-integrations/analytics-ios-integration-adobe-analytics/blob/master/Changelog.md) in the open-source repository for information about specific versions of the iOS Adobe Analytics SDK.

0 commit comments

Comments
 (0)