Show Menu
TOPICS×

How to forward data from Adobe Analytics to Audience Manager

Follow the steps in this tutorial to forward Analytics data to Audience Manager instead of having the Audience Manager Data Integration Library (DIL) code send a pixel from the page.
We recommend you use Adobe Experience Platform Launch to forward Analytics data into Audience Manager. By using Launch, you do not have to manually copy code into AppMeasurement, as shown on this page.

Prerequisites

In addition to enabling the extensions or implementing the code described in this document, you must also:

Implementation

There are two methods to implement data forwarding from Adobe Analytics to Audience Manager, depending on the tag management solution that you use.

Implementation using Adobe Experience Platform Launch

Adobe recommends you use the Launch extension to instrument Adobe Analytics and Audience Manager on your properties. In this case, you do not need to manually copy any code. Instead, you must enable data sharing in the Analytics Launch extension, as shown in the image below. See also the Adobe Analytics Extension documentation.
If you install the Adobe Analytics extension, do not also install the Audience Manager extension. Forwarding data from the Analytics extension replaces the Audience Manager extension functionality.

Implementation using Adobe Digital Tag Management (DTM) or any other tag management solution

Adobe has released plans to sunset DTM by the end of 2020. For more information and scheduling, see DTM Plans for a Sunset in the Adobe community forums .
To implement the Audience Management Module using Adobe DTM or another tag management solution:
  1. Download AppMeasurement using the Analytics Code Manager (requires version 1.5 or later).
  2. Update your AppMeasurement code to the version included in the downloaded zip file.
  3. Copy all of the code from AppMeasurement_Module_AudienceManagement.js from the zip file. Paste it into the appMeasurement.js file just above the text, "DO NOT ALTER ANYTHING BELOW THIS LINE."
  4. Add the code, s.loadModule("AudienceManagement"); , just above the AppMeasurement_Module_AudienceManagement.js code you just added in the previous step.
  5. Update and copy the code below and add it to the doPlugins function in your AppMeasurement.js file.
s.AudienceManagement.setup({ 
     "partner":"INSERT-YOUR-PARTNER-NAME-HERE", 
     "containerNSID":0, 
     "uuidCookie": { 
          "name":"aam_uuid", 
          "days":30
     },
     "visitorService": {
          "namespace": "INSERT-EXPERIENCE-CLOUD-ORGID-HERE" 
     } 
});

The audienceManagement.setup function shares parameters with the Audience Manager DIL.create function, which you can configure in this code. For more information about these parameters, see DIL create .

Code Elements Defined

The following table defines important variables in the code sample.
Parameter
Description
partner
Required. This is a partner name assigned to you by Adobe. It is sometimes referred to as your "partner ID" or "partner subdomain." Contact your Adobe consultant or Customer Care if you don't know your partner name.
containerNSID
Required. Most customers can just set "containerNSID":0 . However, if your company needs to customize ID syncs with a different container, you can specify that container ID here.
uuidCookie
Optional. This configuration lets you set an Adobe cookie in the first-party domain. This cookie contains the UUID .
visitorService - namespace
Required. The namespace parameter is required if you use the AudienceManagement module bundled with AppMeasurement version 2.10 or newer. This AudienceManagement module requires that you use Adobe Experience Platform Identity Service 3.3 or newer.
 The Experience Cloud Organization ID is the ID that a company is provided with upon signing up for the Experience Cloud. Find out your company's Organization ID in Organizations and Account Linking .

Results: Data Forwarding to Audience Manager

Your Analytics implementation sends data to Audience Manager after you have:
  • Enabled Server-Side Forwarding (talk to your consultant about this feature);
  • Implemented the Adobe Experience Platform Identity Service;
  • Followed the implementation steps in this tutorial.
This process sends data to Audience Manager:
  • On page view calls;
  • From tracked links;
  • From video milestone and heartbeat video views.
The variables sent to Audience Manager from Analytics use special prefixes. You need understand and take these prefixes into account when creating Audience Manager traits. For more information on these prefixes, see Prefix Requirements for Key Variables .