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.
In addition to enabling the extensions or implementing the code described in this document, you must also:
There are two methods to implement data forwarding from Adobe Analytics to Audience Manager, depending on the tag management solution that you use.
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.
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:
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."
s.loadModule("AudienceManagement");
, just above the AppMeasurement_Module_AudienceManagement.js
code you just added in the previous step.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.
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. |
Your Analytics implementation sends data to Audience Manager after you have:
This process sends data to Audience Manager:
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.