Show Menu

Implement the Audience Management Module

Add the Audience Management Module to Adobe Analytics AppMeasurement to forward Analytics data to Audience Manager instead of having the Audience Manager Data Integration Library (DIL) code send a pixel from the page.


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


To implement the Audience Management Module:
  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.
     "partner":"partner name", 
     "uuidCookie": { 
     "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.
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.
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.
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 Experience Cloud ID 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 ID service;
  • Installed the Audience Management Module.
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 .