> ## Documentation Index
> Fetch the complete documentation index at: https://docs.invoca.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Adobe Target: Installation & User Guide

> Connect Invoca to Adobe Target to create segments and attributes from call data, so you can personalize content and experiences based on phone conversations.

This guide is part of a series connecting Invoca to [Adobe Experience Cloud](/s/article/jhdcp92865-582) products.

**Before you begin:** You need access to your Adobe Target account and permission to edit Invoca Tags, Marketing Data fields, and webhooks.

## Choose a connection method

If you have both Adobe Analytics and Adobe Target, connect through Adobe Analytics first — it's simpler to set up, though it only updates Target profiles once a day. To send data to Target in real time instead, connect Invoca directly to Target, which updates Target Profiles with Invoca Signals as a profile attribute.

## Step 1: Capture Adobe Target data in Invoca

### Recommended: connect via Adobe Analytics

1. Follow the [Adobe Analytics installation guide](/s/article/adobe-analytics-installation-user-guide) to connect Invoca to Adobe Analytics.
2. Connect your Adobe Analytics account to Adobe Target (see Adobe's documentation).

### Alternative: connect directly to Target

1. Edit your Invoca Tag. In the custom code block, paste:

```js theme={null}
function captureMbox() {
  var mboxRegex = new RegExp("PC#.*?#", "g");
  var mboxParam = Invoca.Tools.readCookie("mbox");
  var mboxParsed = mboxParam.match(mboxRegex);
  var mboxString = mboxParsed.toString();
  return mboxString.split('#')[1];
}
options.poolParams.mbox = Invoca.Tools.readInvocaData("mbox", captureMbox());

return options;
```

2. Create a custom Marketing Data field to store the visitor's pcID:
   * Partner (API) Name: `mbox`
   * Friendly Name: Target Profile ID
   * Field Type: Short Text Field
   * Attribution Model: Last

## Step 2: Choose which data to send to Adobe Target

1. In Invoca, open your Signals menu and list the Signal insights you want to pass to Adobe Target for each call.
2. Create a Target profile attribute named `inv_call` to capture phone calls, and one profile attribute per Signal you want to track, named `inv_[Signal Name]` (see Adobe's documentation on profile parameters).

## Step 3: Send data using a webhook (direct integration only)

1. Create a Post-Call Webhook for each event type (all calls, or a specific Signal) you want to send to Target in real time.
2. Select the network or profile you want to integrate.
3. Create a new webhook with these settings:

| Setting           | Value                                                                                                                                                                                                                                                                                                             |
| :---------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Type              | Post-Call                                                                                                                                                                                                                                                                                                         |
| Name              | "Adobe Target," with a description if you set up more than one                                                                                                                                                                                                                                                    |
| Webhook Format    | GET                                                                                                                                                                                                                                                                                                               |
| URL               | `https://[Client Code].tt.omtrdc.net/m2/[Client Code]/profile/update?mboxPC=mbox`                                                                                                                                                                                                                                 |
| Firing Conditions | Filter by Advertiser profile if needed, and choose "All calls" or "Signal" plus the specific Signal                                                                                                                                                                                                               |
| Headers           | Using Adobe's Single Profile Update template, set `profile.[Target Profile Attribute Name]` to `[Target Profile Attribute Value]`. Replace `[Client Code]` with your Adobe Target client code (found under `Setup > Implementation > Edit Mbox.js Settings`), and set the attribute name/value pairs from Step 2. |

## Step 4: Put the integration to use

1. Create an audience in Target based on Invoca profile attributes.
2. Use Invoca-powered audiences for content personalization or A/B testing.
3. Connect Adobe Analytics and Target using A4T to view call events tied to A/B testing in Adobe Analytics.

## Where to go next

* [Adobe Experience Cloud: Integration Overview](/s/article/jhdcp92865-582)
* [Adobe Analytics: Installation & User Guide](/s/article/adobe-analytics-installation-user-guide)
