Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 21 additions & 7 deletions src/connections/destinations/catalog/adobe-analytics/mobile.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,36 @@ To learn more about Segment's mobile libraries, see the [iOS](/docs/connections/

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

- First, enable the Segment-Adobe Analytics destination from in your Segment workspace
- First, enable the Segment-Adobe Analytics destination from in your Segment workspace.
- From your Adobe Mobile Services dashboard, check and customize the settings on the "Manage App Settings" tab.
- 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)
- 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).
- Finally, follow the instructions below for each mobile environment to bundle Segment's Adobe Analytics SDK in your project.

> success ""
> **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.

#### For Android

```java
compile 'com.segment.analytics.android.integrations:adobeanalytics:+'
```

After you add the dependency, register the integration with the Segment SDK. To do this, import the Amplitude integration:

```java
compile 'com.segment.analytics.android.integrations:adobe-analytics:1.0.0'
import com.segment.analytics.android.integrations.adobeanalytics.AdobeIntegration;
```

**Note** If you're working on Android, you'll also need to add these permissions to your `AndroidManifest.xml`:
Then add the following line:

```java
analytics = new Analytics.Builder(this, "write_key")
.use(AdobeIntegration.FACTORY)
.build();
```

> info ""
> **Note:** If you're working on Android, be sure to add these permissions to your `AndroidManifest.xml`:

```xml
<uses-permission android:name="android.permission.INTERNET" />
Expand All @@ -35,11 +51,9 @@ compile 'com.segment.analytics.android.integrations:adobe-analytics:1.0.0'
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.

#### For iOS

```objc
pod 'Segment-Adobe-Analytics'
iOS:
```objc
pod 'Segment-Adobe-Analytics', '1.1.0-beta'
```

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.
Expand Down